20 #define DEBUG_TYPE "sparc-subtarget" 22 #define GET_SUBTARGETINFO_TARGET_DESC 23 #define GET_SUBTARGETINFO_CTOR 24 #include "SparcGenSubtargetInfo.inc" 26 void SparcSubtarget::anchor() { }
30 UseSoftMulDiv =
false;
33 V8DeprecatedInsts =
false;
50 HasLeonCycleCounter =
false;
53 std::string CPUName = CPU;
55 CPUName = (Is64Bit) ?
"v9" :
"v8";
72 FrameLowering(*this) {}
82 frameSize =
alignTo(frameSize, 16);
95 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)
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.
uint64_t alignTo(uint64_t Size, Align A)
Returns a multiple of A needed to store Size bytes.
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.