Go to the documentation of this file.
40 #include "llvm/Support/CommandLine.h"
42 #define GET_SUBTARGETINFO_CTOR
43 #define GET_SUBTARGETINFO_MC_DESC
44 #define GET_SUBTARGETINFO_TARGET_DESC
48 #include "TCEGenSubTargetInfo.inc"
52 #undef GET_SUBTARGETINFO_CTOR
53 #undef GET_SUBTARGETINFO_MC_DESC
54 #undef GET_SUBTARGETINFO_TARGET_DESC
62 cl::value_desc(
"plugin file"),
63 cl::desc(
"TCE target machine plugin file."),
70 : TCEGenSubtargetInfo(
71 Triple(
"tce-tut-llvm"), std::string(
""), std::string(
""),
76 InstrItins(getInstrItineraryForCPU(
"generic")) {
InstrItineraryData InstrItins
virtual bool enableMachinePipeliner() const override
virtual const TargetFrameLowering * getFrameLowering() const =0
TCESubtarget(TCETargetMachinePlugin *plugin)
virtual const SelectionDAGTargetInfo * getSelectionDAGInfo() const
std::string pluginFileName()
virtual const TargetInstrInfo * getInstrInfo() const =0
virtual TargetLowering * getTargetLowering() const =0
#define assert(condition)
virtual const TargetRegisterInfo * getRegisterInfo() const override
cl::opt< std::string > BackendPluginFile("tce-plugin-file", cl::value_desc("plugin file"), cl::desc("TCE target machine plugin file."), cl::NotHidden)
TCETargetMachinePlugin * plugin_
virtual const TargetLowering * getTargetLowering() const override
virtual const TargetInstrInfo * getInstrInfo() const override
virtual const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
virtual const TargetFrameLowering * getFrameLowering() const override
virtual const TargetRegisterInfo * getRegisterInfo() const =0