Initial implementation of PPCTargetTransformInfo
[oota-llvm.git] / lib / Target / PowerPC / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PPC.td)
2
3 tablegen(LLVM PPCGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
5 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
6 tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
7 tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
8 tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
9 tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
10 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
11 add_public_tablegen_target(PowerPCCommonTableGen)
12
13 add_llvm_target(PowerPCCodeGen
14   PPCAsmPrinter.cpp
15   PPCBranchSelector.cpp
16   PPCCodeEmitter.cpp
17   PPCCTRLoops.cpp
18   PPCHazardRecognizers.cpp
19   PPCInstrInfo.cpp
20   PPCISelDAGToDAG.cpp
21   PPCISelLowering.cpp
22   PPCFrameLowering.cpp
23   PPCJITInfo.cpp
24   PPCMCInstLower.cpp
25   PPCMachineFunctionInfo.cpp
26   PPCRegisterInfo.cpp
27   PPCSubtarget.cpp
28   PPCTargetMachine.cpp
29   PPCTargetTransformInfo.cpp
30   PPCSelectionDAGInfo.cpp
31   )
32
33 add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
34
35 add_subdirectory(InstPrinter)
36 add_subdirectory(TargetInfo)
37 add_subdirectory(MCTargetDesc)