35 Subtarget(TT, CPU, FS),
37 DL(
"e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"),
38 InstrInfo(*this), TLInfo(*this), TSInfo(*this),
39 FrameLowering(Subtarget) {
51 return getTM<MSP430TargetMachine>();
54 virtual bool addInstSelector();
55 virtual bool addPreEmitPass();
60 return new MSP430PassConfig(
this, PM);
63 bool MSP430PassConfig::addInstSelector() {
69 bool MSP430PassConfig::addPreEmitPass() {
MSP430TargetMachine(const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
void LLVMInitializeMSP430Target()
FunctionPass * createMSP430ISelDag(MSP430TargetMachine &TM, CodeGenOpt::Level OptLevel)
FunctionPass * createMSP430BranchSelectionPass()
virtual TargetPassConfig * createPassConfig(PassManagerBase &PM)
static RegisterPass< NVPTXAllocaHoisting > X("alloca-hoisting","Hoisting alloca instructions in non-entry ""blocks to the entry block")