14 #ifndef LLVM_LIB_TARGET_MIPS_MIPSMACHINEFUNCTION_H
15 #define LLVM_LIB_TARGET_MIPS_MIPSMACHINEFUNCTION_H
56 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), Mips16SPAliasReg(0),
57 VarArgsFrameIndex(0), CallsEhReturn(
false), SaveS2(
false),
58 MoveF64ViaSpillFI(-1) {}
76 IncomingArgSize = Size;
77 HasByvalArg = HasByval;
102 std::map<const char *, const llvm::Mips16HardFloatInfo::FuncSignature *>
106 virtual void anchor();
112 unsigned SRetReturnReg;
117 unsigned GlobalBaseReg;
122 unsigned Mips16SPAliasReg;
125 int VarArgsFrameIndex;
131 unsigned IncomingArgSize;
144 int MoveF64ViaSpillFI;
unsigned getIncomingArgSize() const
bool mayAlias(const MachineFrameInfo *) const override
mayAlias - Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR V...
void setVarArgsFrameIndex(int Index)
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...
bool mips16SPAliasRegSet() const
unsigned getSRetReturnReg() const
void createEhDataRegsFI()
Reg
All possible values of the reg field in the ModR/M byte.
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted...
A class derived from PseudoSourceValue that represents a GOT entry resolved by lazy-binding.
MipsCallEntry(StringRef N)
int getEhDataRegFI(unsigned Reg) const
MachinePointerInfo - This class contains a discriminated union of information about pointers in memor...
bool isEhDataRegFI(int FI) const
unsigned getGlobalBaseReg()
StringMap - This is an unconventional map that is specialized for handling keys that are "strings"...
PseudoSourceValue - Special value supplied for machine level alias analysis.
bool isAliased(const MachineFrameInfo *) const override
isAliased - Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an...
bool callsEhReturn() const
void setFormalArgInfo(unsigned Size, bool HasByval)
unsigned getMips16SPAliasReg()
MachinePointerInfo callPtrInfo(StringRef Name)
Create a MachinePointerInfo that has a MipsCallEntr object representing a GOT entry for an external f...
std::map< const char *, const llvm::Mips16HardFloatInfo::FuncSignature * > StubsNeeded
MipsFunctionInfo(MachineFunction &MF)
bool isConstant(const MachineFrameInfo *) const override
isConstant - Test whether the memory pointed to by this PseudoSourceValue has a constant value...
int getMoveF64ViaSpillFI(const TargetRegisterClass *RC)
MipsFunctionInfo - This class is derived from MachineFunction private Mips target-specific informatio...
bool globalBaseRegSet() const
int getVarArgsFrameIndex() const
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
void setSRetReturnReg(unsigned Reg)