[PowerPC] Add extra r2 read deps on @toc@l relocations
[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   PPCSelectionDAGInfo.cpp
37   PPCTLSDynamicCall.cpp
38   PPCVSXCopy.cpp
39   PPCVSXFMAMutate.cpp
40   PPCVSXSwapRemoval.cpp
41   )
42
43 add_subdirectory(AsmParser)
44 add_subdirectory(Disassembler)
45 add_subdirectory(InstPrinter)
46 add_subdirectory(TargetInfo)
47 add_subdirectory(MCTargetDesc)