Displaying 1 result from an estimated 1 matches for "therxtarget".
2012 Oct 12
3
[LLVMdev] Newbie question for registering new target with LLVM
.../RxTargetMachine.h
namespace llvm {
class 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)...