13#ifndef LLVM_LIB_TARGET_CSKY_CSKYMACHINEFUNCTIONINFO_H
14#define LLVM_LIB_TARGET_CSKY_CSKYMACHINEFUNCTIONINFO_H
22 bool SpillsCR =
false;
24 int VarArgsFrameIndex = 0;
25 unsigned VarArgsSaveSize = 0;
27 int spillAreaSize = 0;
29 bool LRSpilled =
false;
31 unsigned PICLabelUId = 0;
Allocate memory in an ever growing pool, as if by bump-pointer.
void setCalleeSaveAreaSize(int v)
int getCalleeSaveAreaSize() const
unsigned createPICLabelUId()
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
CSKYMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
void setLRIsSpilled(bool s)
Register getGlobalBaseReg() const
int getVarArgsFrameIndex()
void initPICLabelUId(unsigned UId)
void setVarArgsFrameIndex(int v)
void setGlobalBaseReg(Register Reg)
void setVarArgsSaveSize(int Size)
unsigned getVarArgsSaveSize() const
Ty * cloneInfo(const Ty &Old)
Wrapper class representing virtual and physical registers.
TargetSubtargetInfo - Generic base class for all target subtargets.
This is an optimization pass for GlobalISel generic memory operations.
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...