search for: llvm_target_definit

Displaying 4 results from an estimated 4 matches for "llvm_target_definit".

2011 Dec 16
2
[LLVMdev] Update CMakeLists.txt for Target Hexagon to adjust MCTargetDesc path for HexagonMCAsmInfo.cpp
File: trunk/llvm/lib/Target/Hexagon/CMakeLists.txt set(LLVM_TARGET_DEFINITIONS Hexagon.td) tablegen(LLVM HexagonGenRegisterInfo.inc -gen-register-info) tablegen(LLVM HexagonGenInstrInfo.inc -gen-instr-info) tablegen(LLVM HexagonGenAsmWriter.inc -gen-asm-writer) tablegen(LLVM HexagonGenDAGISel.inc -gen-dag-isel) tablegen(LLVM HexagonGenCallingConv.inc -gen-callingconv) ta...
2011 Dec 16
0
[LLVMdev] Update CMakeLists.txt for Target Hexagon to adjust MCTargetDesc path for HexagonMCAsmInfo.cpp
My apologies. Shouldn't it just be removed since it is now in a subdirectory? On 12/15/2011 11:38 PM, Marc J. Driftmeyer wrote: > File: trunk/llvm/lib/Target/Hexagon/CMakeLists.txt > > set(LLVM_TARGET_DEFINITIONS Hexagon.td) > > tablegen(LLVM HexagonGenRegisterInfo.inc -gen-register-info) > tablegen(LLVM HexagonGenInstrInfo.inc -gen-instr-info) > tablegen(LLVM HexagonGenAsmWriter.inc -gen-asm-writer) > tablegen(LLVM HexagonGenDAGISel.inc -gen-dag-isel) > tablegen(LLVM HexagonGenCalling...
2017 Oct 14
2
What's LLVM{target}CodeGen vs {target}CodeGen?
...ists.txt - LLVMBuild.txt - TMS9900TargetMachine.cpp - TMS9900TargetMachine.h - TMS9900.td TMS9900TargetMachine is the barest class I could make. It derives from LLVMTargetMachine, and passes everything through (although it defines the DataLayout). CMakeLists.txt is also pretty small: set(LLVM_TARGET_DEFINITIONS TMS9900.td) add_llvm_library(TMS9900CodeGen TMS9900TargetMachine.cpp ) LLVMBuild.txt is as minimal as I could guess at: [common] subdirectories = [component_0] type = TargetGroup name = TMS9900 parent = Target [component_1] type = Library name = TMS9900CodeGen parent = TMS9900 required...
2012 Oct 12
3
[LLVMdev] Newbie question for registering new target with LLVM
...RxAsmPrinter::RxAsmPrinter(TargetMachine &TM, MCStreamer &Streamer) : AsmPrinter(TM, Streamer){} 10) lib/Target/Rx/Makefile LEVEL = ../../.. LIBRARYNAME = LLVMRx TARGET = Rx DIRS = TargetInfo include $(LEVEL)/Makefile.common 11) lib/Target/Rx/CMakeLists.txt set(LLVM_TARGET_DEFINITIONS Rx.td) add_llvm_target(Rx RxTargetMachine.cpp RxAsmPrinter.cpp ) add_subdirectory(TargetInfo) 12) lib/Target/Rx/RxAsmPrinter.h namespace llvm { class RxAsmPrinter : public AsmPrinter { public: explicit RxAsmPrinter(TargetMachine &TM, MCStreamer &Streamer); }; extern Targ...