LLVM: lib/Target/CSKY/CSKYMachineFunctionInfo.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_LIB_TARGET_CSKY_CSKYMACHINEFUNCTIONINFO_H
14#define LLVM_LIB_TARGET_CSKY_CSKYMACHINEFUNCTIONINFO_H
15
17
18namespace llvm {
19
22 bool SpillsCR = false;
23
24 int VarArgsFrameIndex = 0;
25 unsigned VarArgsSaveSize = 0;
26
27 int spillAreaSize = 0;
28
29 bool LRSpilled = false;
30
31 unsigned PICLabelUId = 0;
32
33public:
35
42
45
48
51
54
57
60
63};
64
65}
66
67#endif
void setCalleeSaveAreaSize(int v)
Definition CSKYMachineFunctionInfo.h:58
int getCalleeSaveAreaSize() const
Definition CSKYMachineFunctionInfo.h:59
unsigned createPICLabelUId()
Definition CSKYMachineFunctionInfo.h:61
void setSpillsCR()
Definition CSKYMachineFunctionInfo.h:46
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
Definition CSKYMachineFunctionInfo.h:37
CSKYMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
Definition CSKYMachineFunctionInfo.h:34
void setLRIsSpilled(bool s)
Definition CSKYMachineFunctionInfo.h:56
Register getGlobalBaseReg() const
Definition CSKYMachineFunctionInfo.h:43
int getVarArgsFrameIndex()
Definition CSKYMachineFunctionInfo.h:50
void initPICLabelUId(unsigned UId)
Definition CSKYMachineFunctionInfo.h:62
void setVarArgsFrameIndex(int v)
Definition CSKYMachineFunctionInfo.h:49
void setGlobalBaseReg(Register Reg)
Definition CSKYMachineFunctionInfo.h:44
bool isCRSpilled() const
Definition CSKYMachineFunctionInfo.h:47
void setVarArgsSaveSize(int Size)
Definition CSKYMachineFunctionInfo.h:53
bool isLRSpilled() const
Definition CSKYMachineFunctionInfo.h:55
unsigned getVarArgsSaveSize() const
Definition CSKYMachineFunctionInfo.h:52
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.
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...