blob: 05c1ffd68570e8b941e2dbd4889616c135de105b [file] [log] [blame]
Oscar Fuentescdc95492008-09-26 04:40:32 +00001set(LLVM_TARGET_DEFINITIONS PPC.td)
2
Daniel Dunbar4a9c6422011-11-04 19:04:23 +00003tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
4tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
5tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
6tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
7tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
8tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
10tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
Chandler Carruth97c069c2011-07-26 00:09:08 +000011add_public_tablegen_target(PowerPCCommonTableGen)
Oscar Fuentescdc95492008-09-26 04:40:32 +000012
13add_llvm_target(PowerPCCodeGen
Chris Lattner56477d12010-11-14 18:33:33 +000014 PPCAsmPrinter.cpp
Oscar Fuentescdc95492008-09-26 04:40:32 +000015 PPCBranchSelector.cpp
16 PPCCodeEmitter.cpp
17 PPCHazardRecognizers.cpp
18 PPCInstrInfo.cpp
19 PPCISelDAGToDAG.cpp
20 PPCISelLowering.cpp
Anton Korobeynikov441ae5b2011-01-10 12:39:23 +000021 PPCFrameLowering.cpp
Oscar Fuentescdc95492008-09-26 04:40:32 +000022 PPCJITInfo.cpp
Chris Lattner686a0952010-11-14 19:53:02 +000023 PPCMCInstLower.cpp
Oscar Fuentescdc95492008-09-26 04:40:32 +000024 PPCRegisterInfo.cpp
25 PPCSubtarget.cpp
Oscar Fuentescdc95492008-09-26 04:40:32 +000026 PPCTargetMachine.cpp
Dan Gohman9becddd2010-04-16 23:04:22 +000027 PPCSelectionDAGInfo.cpp
Oscar Fuentescdc95492008-09-26 04:40:32 +000028 )
Oscar Fuentesba1186c2011-02-20 02:55:27 +000029
Chandler Carruth9d7feab2011-07-29 00:14:25 +000030add_llvm_library_dependencies(LLVMPowerPCCodeGen
31 LLVMAnalysis
32 LLVMAsmPrinter
33 LLVMCodeGen
34 LLVMCore
35 LLVMMC
36 LLVMPowerPCAsmPrinter
37 LLVMPowerPCDesc
38 LLVMPowerPCInfo
39 LLVMSelectionDAG
40 LLVMSupport
41 LLVMTarget
42 )
43
Oscar Fuentesba1186c2011-02-20 02:55:27 +000044add_subdirectory(InstPrinter)
45add_subdirectory(TargetInfo)
Evan Chengbc153d42011-07-14 20:59:42 +000046add_subdirectory(MCTargetDesc)