Update CMake files.
[oota-llvm.git] / lib / CodeGen / CMakeLists.txt
1 add_llvm_library(LLVMCodeGen
2   BranchFolding.cpp
3   CodePlacementOpt.cpp
4   DeadMachineInstructionElim.cpp
5   Dump.cpp
6   DwarfEHPrepare.cpp
7   ELFCodeEmitter.cpp
8   ELFWriter.cpp
9   GCMetadata.cpp
10   GCMetadataPrinter.cpp
11   GCStrategy.cpp
12   IfConversion.cpp
13   IntrinsicLowering.cpp
14   LLVMTargetMachine.cpp
15   LatencyPriorityQueue.cpp
16   LazyLiveness.cpp
17   LiveInterval.cpp
18   LiveIntervalAnalysis.cpp
19   LiveStackAnalysis.cpp
20   LiveVariables.cpp
21   LowerSubregs.cpp
22   MachOCodeEmitter.cpp
23   MachOWriter.cpp
24   MachineBasicBlock.cpp
25   MachineDominators.cpp
26   MachineFunction.cpp
27   MachineFunctionAnalysis.cpp
28   MachineFunctionPass.cpp
29   MachineInstr.cpp
30   MachineLICM.cpp
31   MachineLoopInfo.cpp
32   MachineModuleInfo.cpp
33   MachinePassRegistry.cpp
34   MachineRegisterInfo.cpp
35   MachineSink.cpp
36   MachineVerifier.cpp
37   ObjectCodeEmitter.cpp
38   OcamlGC.cpp
39   PBQP.cpp
40   PHIElimination.cpp
41   Passes.cpp
42   PostRASchedulerList.cpp
43   PreAllocSplitting.cpp
44   PrologEpilogInserter.cpp
45   PseudoSourceValue.cpp
46   RegAllocLinearScan.cpp
47   RegAllocLocal.cpp
48   RegAllocPBQP.cpp
49   RegAllocSimple.cpp
50   RegisterCoalescer.cpp
51   RegisterScavenging.cpp
52   ScheduleDAG.cpp
53   ScheduleDAGEmit.cpp
54   ScheduleDAGInstrs.cpp
55   ScheduleDAGPrinter.cpp
56   ShadowStackGC.cpp
57   ShrinkWrapping.cpp
58   SimpleRegisterCoalescing.cpp
59   Spiller.cpp
60   StackProtector.cpp
61   StackSlotColoring.cpp
62   StrongPHIElimination.cpp
63   TargetInstrInfoImpl.cpp
64   TwoAddressInstructionPass.cpp
65   UnreachableBlockElim.cpp
66   VirtRegMap.cpp
67   VirtRegRewriter.cpp
68   )
69
70 target_link_libraries (LLVMCodeGen LLVMCore LLVMScalarOpts)