aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Hello/Makefile.am15
-rw-r--r--lib/Transforms/IPO/Makefile.am35
-rw-r--r--lib/Transforms/Instrumentation/Makefile.am27
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/Makefile.am26
-rw-r--r--lib/Transforms/Makefile.am21
-rw-r--r--lib/Transforms/Scalar/Makefile.am50
-rw-r--r--lib/Transforms/Utils/Makefile.am32
7 files changed, 206 insertions, 0 deletions
diff --git a/lib/Transforms/Hello/Makefile.am b/lib/Transforms/Hello/Makefile.am
new file mode 100644
index 0000000..75fa34f
--- /dev/null
+++ b/lib/Transforms/Hello/Makefile.am
@@ -0,0 +1,15 @@
+#===-- lib/Transforms/Hello/Makefile.am --------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+libexec_PROGRAMS = LLVMHello.o
+
+LLVMHello_o_SOURCES = Hello.cpp
+LIBS=
diff --git a/lib/Transforms/IPO/Makefile.am b/lib/Transforms/IPO/Makefile.am
new file mode 100644
index 0000000..c10360f
--- /dev/null
+++ b/lib/Transforms/IPO/Makefile.am
@@ -0,0 +1,35 @@
+#===-- lib/Transforms/IPO/Makefile.am ----------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+lib_LIBRARIES = libLLVMIPO.a
+libexec_PROGRAMS = LLVMIPO.o
+
+MYSOURCES= \
+ ArgumentPromotion.cpp \
+ ConstantMerge.cpp \
+ DeadArgumentElimination.cpp \
+ DeadTypeElimination.cpp \
+ ExtractFunction.cpp \
+ FunctionResolution.cpp \
+ GlobalDCE.cpp \
+ GlobalOpt.cpp \
+ Inliner.cpp \
+ InlineSimple.cpp \
+ Internalize.cpp \
+ IPConstantPropagation.cpp \
+ LoopExtractor.cpp \
+ LowerSetJmp.cpp \
+ PruneEH.cpp \
+ RaiseAllocations.cpp
+
+libLLVMIPO_a_SOURCES = $(MYSOURCES)
+LLVMIPO_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Instrumentation/Makefile.am b/lib/Transforms/Instrumentation/Makefile.am
new file mode 100644
index 0000000..4e71655
--- /dev/null
+++ b/lib/Transforms/Instrumentation/Makefile.am
@@ -0,0 +1,27 @@
+#===-- lib/Transforms/Instrumentation/Makefile.am ----------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+SUBDIRS = ProfilePaths
+
+lib_LIBRARIES = libLLVMInstrument.a
+libexec_PROGRAMS = LLVMInstrument.o
+
+MYSOURCES = \
+ BlockProfiling.cpp \
+ EdgeProfiling.cpp \
+ EmitFunctions.cpp \
+ ProfilingUtils.cpp \
+ TraceBasicBlocks.cpp \
+ TraceValues.cpp
+
+libLLVMInstrument_a_SOURCES = $(MYSOURCES)
+LLVMInstrument_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am b/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am
new file mode 100644
index 0000000..62874a0
--- /dev/null
+++ b/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am
@@ -0,0 +1,26 @@
+#===- lib/Transforms/Instrumentation/ProfilePaths/Makefile.am -*- Makefile -*--#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+lib_LIBRARIES = libLLVMProfilePaths.a
+libexec_PROGRAMS = LLVMProfilePaths.o
+
+MYSOURCES= \
+ CombineBranch.cpp \
+ EdgeCode.cpp \
+ GraphAuxiliary.cpp \
+ Graph.cpp \
+ InstLoops.cpp \
+ ProfilePaths.cpp \
+ RetracePath.cpp
+
+libLLVMProfilePaths_a_SOURCES = $(MYSOURCES)
+LLVMProfilePaths_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Makefile.am b/lib/Transforms/Makefile.am
new file mode 100644
index 0000000..cf6ac80
--- /dev/null
+++ b/lib/Transforms/Makefile.am
@@ -0,0 +1,21 @@
+#===-- lib/Transforms/Makefile.am --------------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+SUBDIRS = Utils Instrumentation Scalar IPO
+
+lib_LIBRARIES = libLLVMTransforms.a
+libexec_PROGRAMS = LLVMTransforms.o
+
+MYSOURCES = ExprTypeConvert.cpp LevelRaise.cpp TransformInternals.cpp
+
+libLLVMTransforms_a_SOURCES = $(MYSOURCES)
+LLVMTransforms_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Scalar/Makefile.am b/lib/Transforms/Scalar/Makefile.am
new file mode 100644
index 0000000..6271fde
--- /dev/null
+++ b/lib/Transforms/Scalar/Makefile.am
@@ -0,0 +1,50 @@
+#===-- lib/Transforms/Scalar/Makefile.am -------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+lib_LIBRARIES = libLLVMScalarOpts.a
+libexec_PROGRAMS = LLVMScalarOpts.o
+
+MYSOURCES = \
+ ADCE.cpp \
+ BasicBlockPlacement.cpp \
+ ConstantProp.cpp \
+ CorrelatedExprs.cpp \
+ DCE.cpp \
+ DeadStoreElimination.cpp \
+ DecomposeMultiDimRefs.cpp \
+ GCSE.cpp \
+ IndVarSimplify.cpp \
+ InstructionCombining.cpp \
+ LICM.cpp \
+ LoopSimplify.cpp \
+ LoopUnroll.cpp \
+ LoopUnswitch.cpp \
+ LowerAllocations.cpp \
+ LowerConstantExprs.cpp \
+ LowerGC.cpp \
+ LowerInvoke.cpp \
+ LowerPacked.cpp \
+ LowerSelect.cpp \
+ LowerSwitch.cpp \
+ Mem2Reg.cpp \
+ PRE.cpp \
+ Reassociate.cpp \
+ ScalarReplAggregates.cpp \
+ SCCP.cpp \
+ SimplifyCFG.cpp \
+ SymbolStripping.cpp \
+ TailDuplication.cpp \
+ TailRecursionElimination.cpp
+
+libLLVMScalarOpts_a_SOURCES = $(MYSOURCES)
+
+LLVMScalarOpts_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Utils/Makefile.am b/lib/Transforms/Utils/Makefile.am
new file mode 100644
index 0000000..e5a2a66
--- /dev/null
+++ b/lib/Transforms/Utils/Makefile.am
@@ -0,0 +1,32 @@
+#===-- lib/Transforms/Utils/Makefile.am --------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+lib_LIBRARIES = libLLVMTransformUtils.a
+libexec_PROGRAMS = LLVMTransformUtils.o
+
+MYSOURCES = \
+ BasicBlockUtils.cpp \
+ BreakCriticalEdges.cpp \
+ CloneFunction.cpp \
+ CloneModule.cpp \
+ CloneTrace.cpp \
+ CodeExtractor.cpp \
+ DemoteRegToStack.cpp \
+ InlineFunction.cpp \
+ Local.cpp \
+ PromoteMemoryToRegister.cpp \
+ SimplifyCFG.cpp \
+ UnifyFunctionExitNodes.cpp \
+ ValueMapper.cpp
+
+libLLVMTransformUtils_a_SOURCES = $(MYSOURCES)
+LLVMTransformUtils_o_SOURCES = $(MYSOURCES)
+LIBS=