13#ifndef LLVM_LIB_TARGET_LOONGARCH_LOONGARCHMACHINEFUNCTIONINFO_H
14#define LLVM_LIB_TARGET_LOONGARCH_LOONGARCHMACHINEFUNCTIONINFO_H
28 int VarArgsFrameIndex = 0;
30 int VarArgsSaveSize = 0;
33 unsigned CalleeSavedStackSize = 0;
37 int BranchRelaxationSpillFrameIndex = -1;
60 return BranchRelaxationSpillFrameIndex;
63 BranchRelaxationSpillFrameIndex =
Index;
Allocate memory in an ever growing pool, as if by bump-pointer.
LoongArchMachineFunctionInfo - This class is derived from MachineFunctionInfo and contains private Lo...
LoongArchMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
void setVarArgsFrameIndex(int Index)
int getBranchRelaxationSpillFrameIndex()
int getVarArgsFrameIndex() const
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
void setBranchRelaxationSpillFrameIndex(int Index)
void setVarArgsSaveSize(int Size)
unsigned getVarArgsSaveSize() const
unsigned getCalleeSavedStackSize() const
void setCalleeSavedStackSize(unsigned Size)
Ty * cloneInfo(const Ty &Old)
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...