diff options
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r-- | lib/Transforms/Scalar/ADCE.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/Scalar/DCE.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Scalar/GCSE.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Scalar/IndVarSimplify.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Scalar/InductionVars.cpp | 5 | ||||
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/Scalar/SCCP.cpp | 3 |
7 files changed, 1 insertions, 15 deletions
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index bd60b51..4c322aa 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -7,7 +7,6 @@ //===----------------------------------------------------------------------===// #include "llvm/Transforms/Scalar/DCE.h" -#include "llvm/Instruction.h" #include "llvm/Type.h" #include "llvm/Analysis/Dominators.h" #include "llvm/Analysis/Writer.h" diff --git a/lib/Transforms/Scalar/DCE.cpp b/lib/Transforms/Scalar/DCE.cpp index 4aac041..7fc519b 100644 --- a/lib/Transforms/Scalar/DCE.cpp +++ b/lib/Transforms/Scalar/DCE.cpp @@ -26,8 +26,6 @@ #include "llvm/Transforms/Scalar/DCE.h" #include "llvm/Module.h" #include "llvm/GlobalVariable.h" -#include "llvm/Function.h" -#include "llvm/BasicBlock.h" #include "llvm/iTerminators.h" #include "llvm/iPHINode.h" #include "llvm/Constant.h" diff --git a/lib/Transforms/Scalar/GCSE.cpp b/lib/Transforms/Scalar/GCSE.cpp index 2676609..06877a5 100644 --- a/lib/Transforms/Scalar/GCSE.cpp +++ b/lib/Transforms/Scalar/GCSE.cpp @@ -15,13 +15,11 @@ //===----------------------------------------------------------------------===// #include "llvm/Transforms/Scalar/GCSE.h" -#include "llvm/Pass.h" #include "llvm/InstrTypes.h" #include "llvm/iMemory.h" #include "llvm/Analysis/Dominators.h" #include "llvm/Support/InstVisitor.h" #include "llvm/Support/InstIterator.h" -#include <set> #include <algorithm> namespace { diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 1e8621b..6cfdc59 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -11,9 +11,7 @@ #include "llvm/iPHINode.h" #include "llvm/iOther.h" #include "llvm/Type.h" -#include "llvm/BasicBlock.h" #include "llvm/Constants.h" -#include "llvm/Pass.h" #include "llvm/Support/CFG.h" #include "Support/STLExtras.h" diff --git a/lib/Transforms/Scalar/InductionVars.cpp b/lib/Transforms/Scalar/InductionVars.cpp index ee7c4c8..b4a440f 100644 --- a/lib/Transforms/Scalar/InductionVars.cpp +++ b/lib/Transforms/Scalar/InductionVars.cpp @@ -21,13 +21,10 @@ #include "llvm/Transforms/Scalar/InductionVars.h" #include "llvm/Constants.h" -#include "llvm/Analysis/IntervalPartition.h" #include "llvm/iPHINode.h" -#include "llvm/Function.h" -#include "llvm/BasicBlock.h" -#include "llvm/InstrTypes.h" #include "llvm/Type.h" #include "llvm/Support/CFG.h" +#include "llvm/Analysis/IntervalPartition.h" #include "Support/STLExtras.h" #include <algorithm> #include <iostream> diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index c8d2bed..71c8723 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -16,7 +16,6 @@ #include "llvm/Transforms/Scalar/InstructionCombining.h" #include "llvm/ConstantHandling.h" -#include "llvm/Function.h" #include "llvm/iMemory.h" #include "llvm/iOther.h" #include "llvm/iOperators.h" diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index 8271c9b..1a3649e 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -18,8 +18,6 @@ #include "llvm/Transforms/Scalar/ConstantProp.h" #include "llvm/ConstantHandling.h" #include "llvm/Function.h" -#include "llvm/BasicBlock.h" -#include "llvm/Constants.h" #include "llvm/iPHINode.h" #include "llvm/iMemory.h" #include "llvm/iTerminators.h" @@ -28,7 +26,6 @@ #include "llvm/Support/InstVisitor.h" #include "Support/STLExtras.h" #include <algorithm> -#include <map> #include <set> #include <iostream> using std::cerr; |