21 #define DEBUG_TYPE "sparc-subtarget" 23 #define GET_SUBTARGETINFO_TARGET_DESC 24 #define GET_SUBTARGETINFO_CTOR 25 #include "SparcGenSubtargetInfo.inc" 27 void SparcSubtarget::anchor() { }
31 UseSoftMulDiv =
false;
34 V8DeprecatedInsts =
false;
51 HasLeonCycleCounter =
false;
54 std::string CPUName = CPU;
56 CPUName = (Is64Bit) ?
"v9" :
"v8";
73 FrameLowering(*this) {}
83 frameSize =
alignTo(frameSize, 16);
96 frameSize =
alignTo(frameSize, 8);
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)
uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew=0)
Returns the next integer (mod 2**64) that is greater than or equal to Value and is a multiple of Alig...
int getAdjustedFrameSize(int stackSize) const
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which ...
bool enableMachineScheduler() 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.
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.