From 65f1b895bb1c196409747c60373b2fbfbf5fe6b4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 7 May 2002 20:03:27 +0000 Subject: Merge all include/llvm/Transforms/Scalar/* into a single Scalar.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2538 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/analyze/Makefile | 2 +- tools/gccas/gccas.cpp | 7 +------ tools/gccld/gccld.cpp | 2 +- tools/llc/llc.cpp | 2 +- tools/opt/opt.cpp | 9 +-------- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/tools/analyze/Makefile b/tools/analyze/Makefile index 9a33f95..1694f1b 100644 --- a/tools/analyze/Makefile +++ b/tools/analyze/Makefile @@ -1,6 +1,6 @@ LEVEL = ../.. TOOLNAME = analyze -USEDLIBS = analysis asmparser bcreader scalaropts vmcore analysis ipa datastructure transforms support +USEDLIBS = asmparser bcreader scalaropts transforms analysis ipa datastructure transformutils vmcore support include $(LEVEL)/Makefile.common diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 8539180..59c1271 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -14,12 +14,7 @@ #include "llvm/Transforms/LevelChange.h" #include "llvm/Transforms/ConstantMerge.h" #include "llvm/Transforms/ChangeAllocations.h" -#include "llvm/Transforms/Scalar/ConstantProp.h" -#include "llvm/Transforms/Scalar/DCE.h" -#include "llvm/Transforms/Scalar/GCSE.h" -#include "llvm/Transforms/Scalar/IndVarSimplify.h" -#include "llvm/Transforms/Scalar/InstructionCombining.h" -#include "llvm/Transforms/Scalar/PromoteMemoryToRegister.h" +#include "llvm/Transforms/Scalar.h" #include "llvm/Bytecode/WriteBytecodePass.h" #include "Support/CommandLine.h" #include "Support/Signals.h" diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 530b413..65bf40e 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -21,7 +21,7 @@ #include "llvm/Bytecode/WriteBytecodePass.h" #include "llvm/Transforms/CleanupGCCOutput.h" #include "llvm/Transforms/ConstantMerge.h" -#include "llvm/Transforms/Scalar/SymbolStripping.h" +#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/IPO/GlobalDCE.h" #include "llvm/Transforms/IPO/Internalize.h" #include "Support/CommandLine.h" diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 7626e03..515c903 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -9,7 +9,7 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/Transforms/Instrumentation/TraceValues.h" #include "llvm/Transforms/ChangeAllocations.h" -#include "llvm/Transforms/Scalar/DecomposeMultiDimRefs.h" +#include "llvm/Transforms/Scalar.h" #include "llvm/Assembly/PrintModulePass.h" #include "llvm/Bytecode/WriteBytecodePass.h" #include "llvm/Transforms/ConstantMerge.h" diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index c61ecfa..7ced025 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -17,18 +17,11 @@ #include "llvm/Transforms/LevelChange.h" #include "llvm/Transforms/FunctionInlining.h" #include "llvm/Transforms/ChangeAllocations.h" +#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/IPO/SimpleStructMutation.h" #include "llvm/Transforms/IPO/Internalize.h" #include "llvm/Transforms/IPO/GlobalDCE.h" #include "llvm/Transforms/IPO/PoolAllocate.h" -#include "llvm/Transforms/Scalar/ConstantProp.h" -#include "llvm/Transforms/Scalar/DCE.h" -#include "llvm/Transforms/Scalar/DecomposeMultiDimRefs.h" -#include "llvm/Transforms/Scalar/GCSE.h" -#include "llvm/Transforms/Scalar/IndVarSimplify.h" -#include "llvm/Transforms/Scalar/InstructionCombining.h" -#include "llvm/Transforms/Scalar/PromoteMemoryToRegister.h" -#include "llvm/Transforms/Scalar/SymbolStripping.h" #include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h" #include "llvm/Transforms/Instrumentation/TraceValues.h" #include "llvm/Transforms/Instrumentation/ProfilePaths.h" -- cgit v1.1