14 #ifndef LLVM_LIB_TARGET_SPARC_SPARCSUBTARGET_H
15 #define LLVM_LIB_TARGET_SPARC_SPARCSUBTARGET_H
26 #define GET_SUBTARGETINFO_HEADER
27 #include "SparcGenSubtargetInfo.inc"
33 virtual void anchor();
35 bool V8DeprecatedInsts;
36 bool IsVIS, IsVIS2, IsVIS3;
51 return &FrameLowering;
63 bool isV9()
const {
return IsV9; }
64 bool isVIS()
const {
return IsVIS; }
65 bool isVIS2()
const {
return IsVIS2; }
66 bool isVIS3()
const {
return IsVIS3; }
bool useDeprecatedV8Instructions() const
SparcSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
const SparcInstrInfo * getInstrInfo() const override
const SparcRegisterInfo & getRegisterInfo() const
getRegisterInfo - TargetInstrInfo is a superset of MRegister info.
TargetSelectionDAGInfo - Targets can subclass this to parameterize the SelectionDAG lowering and inst...
const SparcTargetLowering * getTargetLowering() const override
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
Triple - Helper class for working with autoconf configuration names.
const SparcRegisterInfo * getRegisterInfo() const override
const TargetFrameLowering * getFrameLowering() const override
Information about stack frame layout on the target.
int getAdjustedFrameSize(int stackSize) const
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which ...
const TargetSelectionDAGInfo * getSelectionDAGInfo() const override
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
SparcSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, TargetMachine &TM, bool is64bit)
int64_t getStackPointerBias() const
The 64-bit ABI uses biased stack and frame pointers, so the stack frame of the current function is th...