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