Displaying 1 result from an estimated 1 matches for "tms9900targetmachine".
2017 Oct 14
2
What's LLVM{target}CodeGen vs {target}CodeGen?
...Note
that I built the trunk release just fine, right now I'm modifying it.
*The setup:*
My target is called TMS9900 because I'm a masochist, and I'm just trying to
make a bare do-nothing skeleton to start with. I have this:
lib/Target/TMS9900
- CMakeLists.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_libra...