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();
38 bool V8DeprecatedInsts;
39 bool IsVIS, IsVIS2, IsVIS3;
54 bool HasLeonCycleCounter;
67 return &FrameLowering;
82 bool isV9()
const {
return IsV9; }
83 bool isLeon()
const {
return IsLeon; }
84 bool isVIS()
const {
return IsVIS; }
85 bool isVIS2()
const {
return IsVIS2; }
86 bool isVIS3()
const {
return IsVIS3; }
SparcSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
This class represents lattice values for constants.
SparcSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM, bool is64bit)
const SparcInstrInfo * getInstrInfo() const override
bool isTargetLinux() const
bool insertNOPLoad() const
bool useSoftFloat() const
bool hasLeonCycleCounter() const
bool fixAllFDIVSQRT() const
bool useSoftMulDiv() const
int64_t getStackPointerBias() const
The 64-bit ABI uses biased stack and frame pointers, so the stack frame of the current function is th...
int getAdjustedFrameSize(int stackSize) const
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which ...
bool enableMachineScheduler() const override
const SparcRegisterInfo & getRegisterInfo() const
getRegisterInfo - TargetInstrInfo is a superset of MRegister info.
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
Information about stack frame layout on the target.
bool isOSLinux() const
Tests whether the OS is Linux.
Primary interface to the complete machine description for the target machine.
bool detectRoundChange() const
StringRef - Represent a constant reference to a string, i.e.
bool useDeprecatedV8Instructions() const