Displaying 1 result from an estimated 1 matches for "rxtargetinfo".
Did you mean:
armtargetinfo
2012 Oct 12
3
[LLVMdev] Newbie question for registering new target with LLVM
...RxTargetMachine : public LLVMTargetMachine {
public:
RxTargetMachine(const Target &T, StringRef TT,
StringRef CPU, StringRef FS,
Reloc::Model RM, CodeModel::Model CM) ;
};
extern Target TheRxTarget;
}
4) lib/Target/Rx/TargetInfo/RxTargetInfo.cpp
using namespace llvm;
Target llvm::TheRxTarget ;
extern "C" void LLVMInitializeRxTargetInfo() {
RegisterTarget<Triple::Rx> X(TheRxTarget, "rx", "Rx");
}
extern "C" void LLVMInitializeRxTargetMC() {}
5) lib/Target/Rx/TargetInfo/Makefile
LEVEL = .....