14 #ifndef LLVM_LIB_TARGET_RISCV_RISCVSUBTARGET_H 15 #define LLVM_LIB_TARGET_RISCV_RISCVSUBTARGET_H 25 #define GET_SUBTARGETINFO_HEADER 26 #include "RISCVGenSubtargetInfo.inc" 32 virtual void anchor();
33 bool HasStdExtM =
false;
34 bool HasStdExtA =
false;
35 bool HasStdExtF =
false;
36 bool HasStdExtD =
false;
37 bool HasStdExtC =
false;
39 bool EnableLinkerRelax =
false;
63 return &FrameLowering;
This class represents lattice values for constants.
const RISCVRegisterInfo * getRegisterInfo() const override
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
bool enableLinkerRelax() const
const RISCVTargetLowering * getTargetLowering() const override
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
Triple - Helper class for working with autoconf configuration names.
RISCVSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
const RISCVFrameLowering * getFrameLowering() const override
const RISCVInstrInfo * getInstrInfo() const override
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)