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"
34 virtual void anchor();
37 bool V8DeprecatedInsts;
38 bool IsVIS, IsVIS2, IsVIS3;
52 bool PerformSDIVReplace;
65 return &FrameLowering;
79 bool isV9()
const {
return IsV9; }
80 bool isLeon()
const {
return IsLeon; }
81 bool isVIS()
const {
return IsVIS; }
82 bool isVIS2()
const {
return IsVIS2; }
83 bool isVIS3()
const {
return IsVIS3; }
bool useDeprecatedV8Instructions() const
SparcSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
bool fixAllFDIVSQRT() const
SparcSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM, bool is64bit)
const SparcInstrInfo * getInstrInfo() const override
bool replaceFMULS() const
bool isOSLinux() const
Tests whether the OS is Linux.
const SparcRegisterInfo & getRegisterInfo() const
getRegisterInfo - TargetInstrInfo is a superset of MRegister info.
bool enableMachineScheduler() const override
bool performSDIVReplace() const
const SparcTargetLowering * getTargetLowering() const override
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
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
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
bool isTargetLinux() const
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 ...
bool insertNOPLoad() const
bool detectRoundChange() const
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
int64_t getStackPointerBias() const
The 64-bit ABI uses biased stack and frame pointers, so the stack frame of the current function is th...
bool useSoftFloat() const