9#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONMACHINEFUNCTIONINFO_H
10#define LLVM_LIB_TARGET_HEXAGON_HEXAGONMACHINEFUNCTIONINFO_H
29 unsigned SRetReturnReg = 0;
31 int VarArgsFrameIndex;
32 int RegSavedAreaStartFrameIndex;
33 int FirstNamedArgFrameIndex;
34 int LastNamedArgFrameIndex;
35 bool HasClobberLR =
false;
36 bool HasEHReturn =
false;
37 std::map<const MachineInstr*, unsigned> PacketInfo;
38 virtual void anchor();
73 return (PacketInfo.count(
MI) &&
77 return (PacketInfo.count(
MI) &&
Allocate memory in an ever growing pool, as if by bump-pointer.
Hexagon target-specific information for each MachineFunction.
void setStartPacket(MachineInstr *MI)
bool isStartPacket(const MachineInstr *MI) const
bool isEndPacket(const MachineInstr *MI) const
int getVarArgsFrameIndex()
void setEndPacket(MachineInstr *MI)
void setStackAlignBaseReg(Register R)
void setSRetReturnReg(unsigned Reg)
int getLastNamedArgFrameIndex()
void setLastNamedArgFrameIndex(int v)
unsigned getSRetReturnReg() const
int getFirstNamedArgFrameIndex()
void setFirstNamedArgFrameIndex(int v)
void setVarArgsFrameIndex(int v)
void setRegSavedAreaStartFrameIndex(int v)
int getRegSavedAreaStartFrameIndex()
HexagonMachineFunctionInfo()=default
void setHasEHReturn(bool H=true)
bool hasClobberLR() const
MachineFunctionInfo * clone(BumpPtrAllocator &Allocator, MachineFunction &DestMF, const DenseMap< MachineBasicBlock *, MachineBasicBlock * > &Src2DstMBB) const override
Make a functionally equivalent copy of this MachineFunctionInfo in MF.
Register getStackAlignBaseReg() const
HexagonMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI)
void setHasClobberLR(bool v)
Representation of each machine instruction.
Wrapper class representing virtual and physical registers.
TargetSubtargetInfo - Generic base class for all target subtargets.
const unsigned int EndPacket
const unsigned int StartPacket
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...