Go to the documentation of this file.
32 #ifndef TTA_TCE_SUBTARGET_H
33 #define TTA_TCE_SUBTARGET_H
37 #include "tce_config.h"
39 #include "llvm/CodeGen/TargetSubtargetInfo.h"
41 #define GET_SUBTARGETINFO_HEADER
42 #include "TCEGenSubTargetInfo.inc"
43 #undef GET_SUBTARGETINFO_HEADER
45 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
49 class TCETargetMachinePlugin;
62 virtual bool is64bit()
const {
return false; }
64 const InstrItineraryData*
69 virtual const TargetInstrInfo*
getInstrInfo()
const override;
83 StringRef CPU, StringRef TuneCPU, StringRef FS);
103 virtual bool is64bit()
const override {
return true; }
InstrItineraryData InstrItins
virtual bool enableMachinePipeliner() const override
virtual bool isLittleEndian() const override
TCESubtarget(TCETargetMachinePlugin *plugin)
const InstrItineraryData * getInstrItineraryData() const override
std::string pluginFileName()
virtual bool isLittleEndian() const
virtual const TargetRegisterInfo * getRegisterInfo() const override
TCETargetMachinePlugin * plugin_
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
ParseSubtargetFeatures - Parses features string setting specified subtarget options....
virtual const TargetLowering * getTargetLowering() const override
virtual const TargetInstrInfo * getInstrInfo() const override
virtual const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
TCELE64Subtarget(TCETargetMachinePlugin *plugin)
virtual const TargetFrameLowering * getFrameLowering() const override
TCELESubtarget(TCETargetMachinePlugin *plugin)
virtual bool is64bit() const override
virtual bool is64bit() const