Bring r254336 back:
[oota-llvm.git] / lib / Transforms / Utils / CMakeLists.txt
index d68bf0291011e70997479c5359c35be03c2122be..8308a9b69149d75080b4ecc95ca0aaa75c62229f 100644 (file)
@@ -1,29 +1,48 @@
 add_llvm_library(LLVMTransformUtils
-  AddrModeMatcher.cpp
+  ASanStackFrameLayout.cpp
+  AddDiscriminators.cpp
   BasicBlockUtils.cpp
-  BasicInliner.cpp
   BreakCriticalEdges.cpp
+  BuildLibCalls.cpp
+  BypassSlowDivision.cpp
   CloneFunction.cpp
-  CloneLoop.cpp
   CloneModule.cpp
-  CloneTrace.cpp
+  CmpInstAnalysis.cpp
   CodeExtractor.cpp
+  CtorUtils.cpp
   DemoteRegToStack.cpp
-  InlineCost.cpp
+  FlattenCFG.cpp
+  GlobalStatus.cpp
   InlineFunction.cpp
+  InstructionNamer.cpp
+  IntegerDivision.cpp
   LCSSA.cpp
   Local.cpp
   LoopSimplify.cpp
-  LowerAllocations.cpp
+  LoopUnroll.cpp
+  LoopUnrollRuntime.cpp
+  LoopUtils.cpp
+  LoopVersioning.cpp
   LowerInvoke.cpp
   LowerSwitch.cpp
   Mem2Reg.cpp
+  MetaRenamer.cpp
+  ModuleUtils.cpp
   PromoteMemoryToRegister.cpp
+  SSAUpdater.cpp
   SimplifyCFG.cpp
+  SimplifyIndVar.cpp
+  SimplifyInstructions.cpp
+  SimplifyLibCalls.cpp
+  SplitModule.cpp
+  SymbolRewriter.cpp
   UnifyFunctionExitNodes.cpp
-  UnrollLoop.cpp
+  Utils.cpp
   ValueMapper.cpp
-  InstructionNamer.cpp
+
+  ADDITIONAL_HEADER_DIRS
+  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
+  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Utils
   )
 
-target_link_libraries (LLVMTransformUtils LLVMSupport)
+add_dependencies(LLVMTransformUtils intrinsics_gen)