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) {
86 #endif // LLVM_AVR_MACHINE_FUNCTION_INFO_H Used for AVR interrupt routines.
This class represents lattice values for constants.
bool isInterruptHandler() const
bool isInterruptOrSignalHandler() const
Checks if the function is some form of interrupt service routine.
bool hasFnAttribute(Attribute::AttrKind Kind) const
Return true if the function has the attribute.
Function & getFunction()
Return the LLVM function that this machine code represents.
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...
void setHasStackArgs(bool B)
void setHasAllocas(bool B)
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
Contains AVR-specific information for each MachineFunction.
bool getHasStackArgs() const
unsigned getCalleeSavedFrameSize() const
bool getHasSpills() const
CallingConv::ID getCallingConv() const
getCallingConv()/setCallingConv(CC) - These method get and set the calling convention of this functio...
void setCalleeSavedFrameSize(unsigned Bytes)
Calling convention used for AVR signal routines.
int getVarArgsFrameIndex() const
AVRMachineFunctionInfo(MachineFunction &MF)
void setVarArgsFrameIndex(int Idx)
bool isSignalHandler() const
void setHasSpills(bool B)
bool getHasAllocas() const