#include "MipsABIInfo.h"
#include "Mips.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGenTypes/LowLevelType.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/Support/CommandLine.h"
usingnamespacellvm;
cl::opt<bool>
EmitJalrReloc("mips-jalr-reloc", cl::Hidden,
cl::desc("MIPS: Emit R_{MICRO}MIPS_JALR relocation with jalr"),
cl::init(true));
namespace {
static const MCPhysReg O32IntRegs[4] = …;
static const MCPhysReg Mips64IntRegs[8] = …;
}
ArrayRef<MCPhysReg> MipsABIInfo::GetByValArgRegs() const { … }
ArrayRef<MCPhysReg> MipsABIInfo::GetVarArgRegs() const { … }
unsigned MipsABIInfo::GetCalleeAllocdArgSizeInBytes(CallingConv::ID CC) const { … }
MipsABIInfo MipsABIInfo::computeTargetABI(const Triple &TT, StringRef CPU,
const MCTargetOptions &Options) { … }
unsigned MipsABIInfo::GetStackPtr() const { … }
unsigned MipsABIInfo::GetFramePtr() const { … }
unsigned MipsABIInfo::GetBasePtr() const { … }
unsigned MipsABIInfo::GetGlobalPtr() const { … }
unsigned MipsABIInfo::GetNullPtr() const { … }
unsigned MipsABIInfo::GetZeroReg() const { … }
unsigned MipsABIInfo::GetPtrAdduOp() const { … }
unsigned MipsABIInfo::GetPtrAddiuOp() const { … }
unsigned MipsABIInfo::GetPtrSubuOp() const { … }
unsigned MipsABIInfo::GetPtrAndOp() const { … }
unsigned MipsABIInfo::GetGPRMoveOp() const { … }
unsigned MipsABIInfo::GetEhDataReg(unsigned I) const { … }