search for: rxinstrinfo

Displaying 1 result from an estimated 1 matches for "rxinstrinfo".

Did you mean: r6instrinfo
2012 Oct 12
3
[LLVMdev] Newbie question for registering new target with LLVM
..., StringRef TT, StringRef CPU, StringRef FS, Reloc::Model RM, CodeModel::Model CM) : LLVMTargetMachine(T, TT, CPU, FS, RM, CM) { } 8) lib/Target/Rx/Rx.td include "llvm/Target/Target.td" def RxInstrInfo : InstrInfo; def Rx : Target { let InstructionSet = RxInstrInfo; } 9) lib/Target/Rx/RxAsmPrinter.cpp using namespace llvm; extern "C" void LLVMInitializeRxAsmPrinter() { RegisterAsmPrinter<RxAsmPrinter> X(TheRxTarget); } RxAsmPrinter::RxAsmPrinter(TargetMachine &TM, MCSt...