[PowerPC] Add assembler parser
[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 PPCGenCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-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 PPCGenCallingConv.inc -gen-callingconv)
11 tablegen(LLVM PPCGenSubtargetInfo.inc -gen-subtarget)
12 add_public_tablegen_target(PowerPCCommonTableGen)
13
14 add_llvm_target(PowerPCCodeGen
15   PPCAsmPrinter.cpp
16   PPCBranchSelector.cpp
17   PPCCodeEmitter.cpp
18   PPCCTRLoops.cpp
19   PPCHazardRecognizers.cpp
20   PPCInstrInfo.cpp
21   PPCISelDAGToDAG.cpp
22   PPCISelLowering.cpp
23   PPCFrameLowering.cpp
24   PPCJITInfo.cpp
25   PPCMCInstLower.cpp
26   PPCMachineFunctionInfo.cpp
27   PPCRegisterInfo.cpp
28   PPCSubtarget.cpp
29   PPCTargetMachine.cpp
30   PPCTargetTransformInfo.cpp
31   PPCSelectionDAGInfo.cpp
32   )
33
34 add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
35
36 add_subdirectory(AsmParser)
37 add_subdirectory(InstPrinter)
38 add_subdirectory(TargetInfo)
39 add_subdirectory(MCTargetDesc)