mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
b46443a686
directly on the mac. This is very early, doesn't support relocations and has a terrible hack to avoid .machine from being printed, but despite that it generates an bitwise-identical-to-cctools .o file for stuff like this: define i32 @test() nounwind { ret i32 42 } I don't plan to continue pushing this forward, but if anyone else was interested in doing it, it should be really straight-forward. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119136 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
1004 B
CMake
35 lines
1004 B
CMake
set(LLVM_TARGET_DEFINITIONS PPC.td)
|
|
|
|
tablegen(PPCGenInstrNames.inc -gen-instr-enums)
|
|
tablegen(PPCGenRegisterNames.inc -gen-register-enums)
|
|
tablegen(PPCGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(PPCGenCodeEmitter.inc -gen-emitter)
|
|
tablegen(PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
|
|
tablegen(PPCGenRegisterInfo.h.inc -gen-register-desc-header)
|
|
tablegen(PPCGenRegisterInfo.inc -gen-register-desc)
|
|
tablegen(PPCGenInstrInfo.inc -gen-instr-desc)
|
|
tablegen(PPCGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(PPCGenCallingConv.inc -gen-callingconv)
|
|
tablegen(PPCGenSubtarget.inc -gen-subtarget)
|
|
|
|
add_llvm_target(PowerPCCodeGen
|
|
PPCAsmBackend.cpp
|
|
PPCAsmPrinter.cpp
|
|
PPCBranchSelector.cpp
|
|
PPCCodeEmitter.cpp
|
|
PPCHazardRecognizers.cpp
|
|
PPCInstrInfo.cpp
|
|
PPCISelDAGToDAG.cpp
|
|
PPCISelLowering.cpp
|
|
PPCFrameInfo.cpp
|
|
PPCJITInfo.cpp
|
|
PPCMCAsmInfo.cpp
|
|
PPCMCCodeEmitter.cpp
|
|
PPCMCInstLower.cpp
|
|
PPCPredicates.cpp
|
|
PPCRegisterInfo.cpp
|
|
PPCSubtarget.cpp
|
|
PPCTargetMachine.cpp
|
|
PPCSelectionDAGInfo.cpp
|
|
)
|