Go to the documentation of this file.
32 #ifndef TTA_TCE_STUB_TARGET_MACHINE_HH
33 #define TTA_TCE_STUB_TARGET_MACHINE_HH
35 #include "tce_config.h"
37 #include "llvm/MC/TargetRegistry.h"
38 #include <llvm/Target/TargetMachine.h>
39 #include <llvm/CodeGen/TargetLowering.h>
44 #include <llvm/Target/TargetLoweringObjectFile.h>
45 #include <llvm/CodeGen/TargetLoweringObjectFileImpl.h>
74 class TCEStubTargetMachine;
75 class TCEStubSubTarget;
76 class TargetSubTargetInfo;
85 const Target& T,
const Triple& TT,
const llvm::StringRef& CPU,
86 const llvm::StringRef& FS,
const TargetOptions&
Options,
87 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL);
104 std::unique_ptr<TargetLoweringObjectFile>
TLOF;
109 const Target &T,
const Triple& TT,
110 const llvm::StringRef& CPU,
const llvm::StringRef& FS,
112 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
113 CodeGenOpt::Level OL,
bool isLittle);
static void setADFString(std::string adfXML)
virtual void setTTAMach(const TTAMachine::Machine *mach)
static std::string adfXML_
const TCEStubSubTarget * getSubtargetImpl(const Function &) const override
TCEBaseTargetMachine(const Target &T, const Triple &TT, const llvm::StringRef &CPU, const llvm::StringRef &FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
TCEStubTargetMachine(const Target &T, const Triple &TT, const llvm::StringRef &CPU, const llvm::StringRef &FS, const TargetOptions &Options, Optional< Reloc::Model > RM, Optional< CodeModel::Model > CM, CodeGenOpt::Level OL, bool isLittle)
void LLVMInitializeTCETargetInfo()
const TCEStubSubTarget * getSubtargetImpl() const
const TTAMachine::Machine * ttaMach_
void LLVMInitializeTCEStubTarget()
virtual bool isNoopAddrSpaceCast(unsigned SrcAS, unsigned DestAS) const override
std::unique_ptr< TargetLoweringObjectFile > TLOF
virtual ~TCEStubTargetMachine()