Go to the documentation of this file.
18 #define DEBUG_TYPE "csky-subtarget"
19 #define GET_SUBTARGETINFO_TARGET_DESC
20 #define GET_SUBTARGETINFO_CTOR
21 #include "CSKYGenSubtargetInfo.inc"
23 void CSKYSubtarget::anchor() {}
30 if (TuneCPUName.
empty())
31 TuneCPUName = CPUName;
34 UseHardFloatABI =
false;
35 HasFPUv2SingleFloat =
false;
36 HasFPUv2DoubleFloat =
false;
37 HasFPUv3HalfWord =
false;
38 HasFPUv3HalfFloat =
false;
39 HasFPUv3SingleFloat =
false;
40 HasFPUv3DoubleFloat =
false;
59 HasHardwareDivide =
false;
60 HasHighRegisters =
false;
65 HasVDSPV1_128 =
false;
67 DumpConstPool =
false;
68 EnableInterruptAttribute =
false;
72 EnableStackSize =
false;
93 FrameLowering(initializeSubtargetDependencies(TT, CPU, TuneCPU,
FS)),
100 return UseHardFloatABI;
This is an optimization pass for GlobalISel generic memory operations.
Triple - Helper class for working with autoconf configuration names.
CSKYSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, const TargetMachine &TM)
const CSKYTargetLowering * getTargetLowering() const override
FloatABI::ABIType FloatABIType
FloatABIType - This setting is set by -float-abi=xxx option is specfied on the command line.
constexpr bool empty() const
empty - Check if the string is empty.
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
Primary interface to the complete machine description for the target machine.
CSKYSubtarget & initializeSubtargetDependencies(const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS)
Initializes using the passed in CPU and feature strings so that we can use initializer lists for subt...
bool useHardFloatABI() const
StringRef - Represent a constant reference to a string, i.e.
Analysis the ScalarEvolution expression for r is this
const TargetMachine & getTargetMachine() const
const char LLVMTargetMachineRef TM