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