21 #define DEBUG_TYPE "riscv-subtarget" 23 #define GET_SUBTARGETINFO_TARGET_DESC 24 #define GET_SUBTARGETINFO_CTOR 25 #include "RISCVGenSubtargetInfo.inc" 27 void RISCVSubtarget::anchor() {}
33 std::string CPUName = CPU;
35 CPUName = Is64Bit ?
"generic-rv64" :
"generic-rv32";
47 FrameLowering(initializeSubtargetDependencies(CPU, FS, TT.isArch64Bit())),
48 InstrInfo(), RegInfo(getHwMode()), TLInfo(TM, *this) {}
This class represents lattice values for constants.
Triple - Helper class for working with autoconf configuration names.
RISCVSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)