13#ifndef LLVM_LIB_TARGET_ARC_ARCMACHINEFUNCTIONINFO_H
14#define LLVM_LIB_TARGET_ARC_ARCMACHINEFUNCTIONINFO_H
24 virtual void anchor();
25 bool ReturnStackOffsetSet;
26 int VarArgsFrameIndex;
27 unsigned ReturnStackOffset;
31 : ReturnStackOffsetSet(
false), VarArgsFrameIndex(0),
44 assert(!ReturnStackOffsetSet &&
"Return stack offset set twice");
45 ReturnStackOffset =
value;
46 ReturnStackOffsetSet =
true;
50 assert(ReturnStackOffsetSet &&
"Return stack offset not set");
51 return ReturnStackOffset;
Given that RA is a live value
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
ARCFunctionInfo - This class is derived from MachineFunction private ARC target-specific information ...
void setReturnStackOffset(unsigned value)
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
ARCFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
unsigned getReturnStackOffset() const
int getVarArgsFrameIndex() const
void setVarArgsFrameIndex(int off)
Allocate memory in an ever growing pool, as if by bump-pointer.
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...