Go to the documentation of this file.
13 #ifndef LLVM_AVR_MACHINE_FUNCTION_INFO_H
14 #define LLVM_AVR_MACHINE_FUNCTION_INFO_H
35 bool IsInterruptHandler;
42 unsigned CalleeSavedFrameSize;
45 int VarArgsFrameIndex;
50 IsInterruptHandler(
false), IsSignalHandler(
false),
51 CalleeSavedFrameSize(0), VarArgsFrameIndex(0) {}
55 CalleeSavedFrameSize(0), VarArgsFrameIndex(0) {
90 #endif // LLVM_AVR_MACHINE_FUNCTION_INFO_H
This is an optimization pass for GlobalISel generic memory operations.
void setHasStackArgs(bool B)
int getVarArgsFrameIndex() const
bool getHasStackArgs() const
void setCalleeSavedFrameSize(unsigned Bytes)
bool isSignalHandler() const
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
unsigned getCalleeSavedFrameSize() const
bool hasFnAttribute(Attribute::AttrKind Kind) const
Return true if the function has the attribute.
CallingConv::ID getCallingConv() const
getCallingConv()/setCallingConv(CC) - These method get and set the calling convention of this functio...
bool isInterruptHandler() const
void setHasSpills(bool B)
void setHasAllocas(bool B)
@ AVR_SIGNAL
Calling convention used for AVR signal routines.
bool getHasSpills() const
bool getHasAllocas() const
Function & getFunction()
Return the LLVM function that this machine code represents.
bool isInterruptOrSignalHandler() const
Checks if the function is some form of interrupt service routine.
void setVarArgsFrameIndex(int Idx)
@ AVR_INTR
Used for AVR interrupt routines.
Contains AVR-specific information for each MachineFunction.
AVRMachineFunctionInfo(MachineFunction &MF)
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...