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