Go to the documentation of this file.
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;
67 #endif // LLVM_LIB_TARGET_CSKY_CSKYMACHINEFUNCTIONINFO_H
This is an optimization pass for GlobalISel generic memory operations.
void setGlobalBaseReg(Register Reg)
Reg
All possible values of the reg field in the ModR/M byte.
void setVarArgsSaveSize(int Size)
CSKYMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
unsigned getVarArgsSaveSize() const
void setVarArgsFrameIndex(int v)
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
int getVarArgsFrameIndex()
void setLRIsSpilled(bool s)
void initPICLabelUId(unsigned UId)
multiplies can be turned into SHL s
int getCalleeSaveAreaSize() const
Allocate memory in an ever growing pool, as if by bump-pointer.
unsigned createPICLabelUId()
TargetSubtargetInfo - Generic base class for all target subtargets.
Wrapper class representing virtual and physical registers.
Register getGlobalBaseReg() const
Ty * cloneInfo(const Ty &Old)
void setCalleeSaveAreaSize(int v)
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...