summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-09-22 01:08:49 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-09-22 01:08:49 +0000
commit3d01fc7de86c75926e4e5ac7cc49f0116018893d (patch)
tree2ea49e2f904dd479a4b941454b776dee762921dd /lib/Transforms
parentcd4c73aa708d9ecf5d7e0a711dbf359d22b6dd3a (diff)
downloadllvm-3d01fc7de86c75926e4e5ac7cc49f0116018893d.tar.gz
llvm-3d01fc7de86c75926e4e5ac7cc49f0116018893d.tar.bz2
llvm-3d01fc7de86c75926e4e5ac7cc49f0116018893d.tar.xz
Initial support for the CMake build system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Hello/CMakeLists.txt3
-rw-r--r--lib/Transforms/IPO/CMakeLists.txt24
-rw-r--r--lib/Transforms/Instrumentation/CMakeLists.txt6
-rw-r--r--lib/Transforms/Scalar/CMakeLists.txt32
-rw-r--r--lib/Transforms/Utils/CMakeLists.txt26
5 files changed, 91 insertions, 0 deletions
diff --git a/lib/Transforms/Hello/CMakeLists.txt b/lib/Transforms/Hello/CMakeLists.txt
new file mode 100644
index 0000000000..b80d15ba76
--- /dev/null
+++ b/lib/Transforms/Hello/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_llvm_library( LLVMHello
+ Hello.cpp
+ )
diff --git a/lib/Transforms/IPO/CMakeLists.txt b/lib/Transforms/IPO/CMakeLists.txt
new file mode 100644
index 0000000000..c8d4ec6700
--- /dev/null
+++ b/lib/Transforms/IPO/CMakeLists.txt
@@ -0,0 +1,24 @@
+add_llvm_library(LLVMipo
+ AddReadAttrs.cpp
+ ArgumentPromotion.cpp
+ ConstantMerge.cpp
+ DeadArgumentElimination.cpp
+ DeadTypeElimination.cpp
+ ExtractGV.cpp
+ GlobalDCE.cpp
+ GlobalOpt.cpp
+ IndMemRemoval.cpp
+ InlineAlways.cpp
+ Inliner.cpp
+ InlineSimple.cpp
+ Internalize.cpp
+ IPConstantPropagation.cpp
+ LoopExtractor.cpp
+ LowerSetJmp.cpp
+ PartialSpecialization.cpp
+ PruneEH.cpp
+ RaiseAllocations.cpp
+ StripDeadPrototypes.cpp
+ StripSymbols.cpp
+ StructRetPromotion.cpp
+ )
diff --git a/lib/Transforms/Instrumentation/CMakeLists.txt b/lib/Transforms/Instrumentation/CMakeLists.txt
new file mode 100644
index 0000000000..d7c518d282
--- /dev/null
+++ b/lib/Transforms/Instrumentation/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_llvm_library(LLVMInstrumentation
+ BlockProfiling.cpp
+ EdgeProfiling.cpp
+ ProfilingUtils.cpp
+ RSProfiling.cpp
+ )
diff --git a/lib/Transforms/Scalar/CMakeLists.txt b/lib/Transforms/Scalar/CMakeLists.txt
new file mode 100644
index 0000000000..ff9193ac66
--- /dev/null
+++ b/lib/Transforms/Scalar/CMakeLists.txt
@@ -0,0 +1,32 @@
+add_llvm_library(LLVMScalarOpts
+ ADCE.cpp
+ BasicBlockPlacement.cpp
+ CodeGenPrepare.cpp
+ CondPropagate.cpp
+ ConstantProp.cpp
+ DCE.cpp
+ DeadStoreElimination.cpp
+ GVN.cpp
+ GVNPRE.cpp
+ IndVarSimplify.cpp
+ InstructionCombining.cpp
+ JumpThreading.cpp
+ LICM.cpp
+ LoopDeletion.cpp
+ LoopIndexSplit.cpp
+ LoopRotation.cpp
+ LoopStrengthReduce.cpp
+ LoopUnroll.cpp
+ LoopUnswitch.cpp
+ MemCpyOptimizer.cpp
+ PredicateSimplifier.cpp
+ Reassociate.cpp
+ Reg2Mem.cpp
+ SCCP.cpp
+ Scalar.cpp
+ ScalarReplAggregates.cpp
+ SimplifyCFGPass.cpp
+ SimplifyLibCalls.cpp
+ TailDuplication.cpp
+ TailRecursionElimination.cpp
+ )
diff --git a/lib/Transforms/Utils/CMakeLists.txt b/lib/Transforms/Utils/CMakeLists.txt
new file mode 100644
index 0000000000..b678b2e377
--- /dev/null
+++ b/lib/Transforms/Utils/CMakeLists.txt
@@ -0,0 +1,26 @@
+add_llvm_library(LLVMTransformUtils
+ BasicBlockUtils.cpp
+ BasicInliner.cpp
+ BreakCriticalEdges.cpp
+ CloneFunction.cpp
+ CloneLoop.cpp
+ CloneModule.cpp
+ CloneTrace.cpp
+ CodeExtractor.cpp
+ DemoteRegToStack.cpp
+ InlineCost.cpp
+ InlineFunction.cpp
+ LCSSA.cpp
+ Local.cpp
+ LoopSimplify.cpp
+ LowerAllocations.cpp
+ LowerInvoke.cpp
+ LowerSwitch.cpp
+ Mem2Reg.cpp
+ PromoteMemoryToRegister.cpp
+ SimplifyCFG.cpp
+ UnifyFunctionExitNodes.cpp
+ UnrollLoop.cpp
+ ValueMapper.cpp
+ InstructionNamer.cpp
+ )