Teach cmake about the new Erlang GC files.
[oota-llvm.git] / lib / CodeGen / CMakeLists.txt
1 add_llvm_library(LLVMCodeGen
2   AggressiveAntiDepBreaker.cpp
3   AllocationOrder.cpp
4   Analysis.cpp
5   BasicTargetTransformInfo.cpp
6   BranchFolding.cpp
7   CalcSpillWeights.cpp
8   CallingConvLower.cpp
9   CodeGen.cpp
10   CodePlacementOpt.cpp
11   CriticalAntiDepBreaker.cpp
12   DFAPacketizer.cpp
13   DeadMachineInstructionElim.cpp
14   DwarfEHPrepare.cpp
15   EarlyIfConversion.cpp
16   EdgeBundles.cpp
17   ErlangGC.cpp
18   ExecutionDepsFix.cpp
19   ExpandISelPseudos.cpp
20   ExpandPostRAPseudos.cpp
21   GCMetadata.cpp
22   GCMetadataPrinter.cpp
23   GCStrategy.cpp
24   IfConversion.cpp
25   InlineSpiller.cpp
26   InterferenceCache.cpp
27   IntrinsicLowering.cpp
28   JITCodeEmitter.cpp
29   LLVMTargetMachine.cpp
30   LatencyPriorityQueue.cpp
31   LexicalScopes.cpp
32   LiveDebugVariables.cpp
33   LiveInterval.cpp
34   LiveIntervalAnalysis.cpp
35   LiveIntervalUnion.cpp
36   LiveRangeCalc.cpp
37   LiveRangeEdit.cpp
38   LiveRegMatrix.cpp
39   LiveStackAnalysis.cpp
40   LiveVariables.cpp
41   LocalStackSlotAllocation.cpp
42   MachineBasicBlock.cpp
43   MachineBlockFrequencyInfo.cpp
44   MachineBlockPlacement.cpp
45   MachineBranchProbabilityInfo.cpp
46   MachineCSE.cpp
47   MachineCodeEmitter.cpp
48   MachineCopyPropagation.cpp
49   MachineDominators.cpp
50   MachineFunction.cpp
51   MachineFunctionAnalysis.cpp
52   MachineFunctionPass.cpp
53   MachineFunctionPrinterPass.cpp
54   MachineInstr.cpp
55   MachineInstrBundle.cpp
56   MachineLICM.cpp
57   MachineLoopInfo.cpp
58   MachineModuleInfo.cpp
59   MachineModuleInfoImpls.cpp
60   MachinePassRegistry.cpp
61   MachinePostDominators.cpp
62   MachineRegisterInfo.cpp
63   MachineSSAUpdater.cpp
64   MachineScheduler.cpp
65   MachineSink.cpp
66   MachineTraceMetrics.cpp
67   MachineVerifier.cpp
68   OcamlGC.cpp
69   OptimizePHIs.cpp
70   PHIElimination.cpp
71   PHIEliminationUtils.cpp
72   Passes.cpp
73   PeepholeOptimizer.cpp
74   PostRASchedulerList.cpp
75   ProcessImplicitDefs.cpp
76   PrologEpilogInserter.cpp
77   PseudoSourceValue.cpp
78   RegAllocBase.cpp
79   RegAllocBasic.cpp
80   RegAllocFast.cpp
81   RegAllocGreedy.cpp
82   RegAllocPBQP.cpp
83   RegisterClassInfo.cpp
84   RegisterCoalescer.cpp
85   RegisterPressure.cpp
86   RegisterScavenging.cpp
87   ScheduleDAG.cpp
88   ScheduleDAGInstrs.cpp
89   ScheduleDAGPrinter.cpp
90   ScoreboardHazardRecognizer.cpp
91   ShadowStackGC.cpp
92   ShrinkWrapping.cpp
93   SjLjEHPrepare.cpp
94   SlotIndexes.cpp
95   SpillPlacement.cpp
96   Spiller.cpp
97   SplitKit.cpp
98   StackColoring.cpp
99   StackProtector.cpp
100   StackSlotColoring.cpp
101   StrongPHIElimination.cpp
102   TailDuplication.cpp
103   TargetFrameLoweringImpl.cpp
104   TargetInstrInfo.cpp
105   TargetLoweringBase.cpp
106   TargetLoweringObjectFileImpl.cpp
107   TargetOptionsImpl.cpp
108   TargetRegisterInfo.cpp
109   TargetSchedule.cpp
110   TwoAddressInstructionPass.cpp
111   UnreachableBlockElim.cpp
112   VirtRegMap.cpp
113   )
114
115 add_dependencies(LLVMCodeGen intrinsics_gen)
116
117 add_subdirectory(SelectionDAG)
118 add_subdirectory(AsmPrinter)