c0c83cc258b89d98ec128a495f9beebfd8fe4ac1
[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 PPCGenAsmMatcher.inc -gen-asm-matcher)
5 tablegen(LLVM PPCGenDisassemblerTables.inc -gen-disassembler)
6 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter)
7 tablegen(LLVM PPCGenRegisterInfo.inc -gen-register-info)
8 tablegen(LLVM PPCGenInstrInfo.inc -gen-instr-info)
9 tablegen(LLVM PPCGenDAGISel.inc -gen-dag-isel)
10 tablegen(LLVM PPCGenFastISel.inc -gen-fast-isel)
11 tablegen(LLVM PPCGenCallingConv.inc -gen-callingconv)
12 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
13 add_public_tablegen_target(PowerPCCommonTableGen)
14
15 add_llvm_target(PowerPCCodeGen
16   PPCAsmPrinter.cpp
17   PPCBranchSelector.cpp
18   PPCCTRLoops.cpp
19   PPCHazardRecognizers.cpp
20   PPCInstrInfo.cpp
21   PPCISelDAGToDAG.cpp
22   PPCISelLowering.cpp
23   PPCEarlyReturn.cpp
24   PPCFastISel.cpp
25   PPCFrameLowering.cpp
26   PPCLoopDataPrefetch.cpp
27   PPCLoopPreIncPrep.cpp
28   PPCMCInstLower.cpp
29   PPCMachineFunctionInfo.cpp
30   PPCRegisterInfo.cpp
31   PPCSubtarget.cpp
32   PPCTargetMachine.cpp
33   PPCTargetObjectFile.cpp
34   PPCTargetTransformInfo.cpp
35   PPCTOCRegDeps.cpp
36   PPCTLSDynamicCall.cpp
37   PPCVSXCopy.cpp
38   PPCVSXFMAMutate.cpp
39   PPCVSXSwapRemoval.cpp
40   )
41
42 add_subdirectory(AsmParser)
43 add_subdirectory(Disassembler)
44 add_subdirectory(InstPrinter)
45 add_subdirectory(TargetInfo)
46 add_subdirectory(MCTargetDesc)