13#ifndef LLVM_AVR_MACHINE_FUNCTION_INFO_H
14#define LLVM_AVR_MACHINE_FUNCTION_INFO_H
36 bool IsInterruptHandler;
43 unsigned CalleeSavedFrameSize;
46 int VarArgsFrameIndex;
54 CalleeSavedFrameSize(0), VarArgsFrameIndex(0) {
57 this->IsInterruptHandler =
60 this->IsSignalHandler =
63 this->AlignedStackReg = 0;
64 this->AlignedStackObjectIdx = 0;
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
bool isInterruptHandler() const
bool getHasSpills() const
void setVarArgsFrameIndex(int Idx)
void setCalleeSavedFrameSize(unsigned Bytes)
unsigned getCalleeSavedFrameSize() const
AVRMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
bool getHasStackArgs() const
void setHasSpills(bool B)
bool getHasAllocas() const
bool isSignalHandler() const
void setHasStackArgs(bool B)
void setHasAllocas(bool B)
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
bool isInterruptOrSignalHandler() const
Checks if the function is some form of interrupt service routine.
unsigned AlignedStackObjectIdx
int getVarArgsFrameIndex() const
Ty * cloneInfo(const Ty &Old)
Wrapper class representing virtual and physical registers.
TargetSubtargetInfo - Generic base class for all target subtargets.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
@ AVR_SIGNAL
Used for AVR signal routines.
@ AVR_INTR
Used for AVR interrupt routines.
This is an optimization pass for GlobalISel generic memory operations.
BumpPtrAllocatorImpl<> BumpPtrAllocator
The standard BumpPtrAllocator which just uses the default template parameters.
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...