From d8e1eea678833cc2b15e4ea69a5a403ba9c3b013 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 29 Jul 2004 17:05:13 +0000 Subject: [PATCH] Fix #includes of i*.h => Instructions.h as per PR403. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15328 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/DataStructureStats.cpp | 3 +-- lib/Analysis/DataStructure/IPModRef.cpp | 4 +--- lib/Analysis/DataStructure/MemoryDepAnalysis.cpp | 5 ++--- lib/Transforms/Scalar/LowerConstantExprs.cpp | 4 +--- lib/Transforms/Scalar/PRE.cpp | 3 +-- lib/Transforms/Scalar/PiNodeInsertion.cpp | 4 +--- lib/Transforms/Scalar/Reassociate.cpp | 2 +- lib/Transforms/Scalar/ScalarReplAggregates.cpp | 2 +- lib/Transforms/Scalar/TailDuplication.cpp | 3 +-- lib/Transforms/Utils/LowerSwitch.cpp | 4 +--- 10 files changed, 11 insertions(+), 23 deletions(-) diff --git a/lib/Analysis/DataStructure/DataStructureStats.cpp b/lib/Analysis/DataStructure/DataStructureStats.cpp index 18e97cb018a..1bfe09aba51 100644 --- a/lib/Analysis/DataStructure/DataStructureStats.cpp +++ b/lib/Analysis/DataStructure/DataStructureStats.cpp @@ -14,8 +14,7 @@ #include "llvm/Analysis/DataStructure/DataStructure.h" #include "llvm/Analysis/DataStructure/DSGraph.h" #include "llvm/Function.h" -#include "llvm/iOther.h" -#include "llvm/iMemory.h" +#include "llvm/Instructions.h" #include "llvm/Pass.h" #include "llvm/Support/InstVisitor.h" #include "Support/Statistic.h" diff --git a/lib/Analysis/DataStructure/IPModRef.cpp b/lib/Analysis/DataStructure/IPModRef.cpp index e656c2cb109..bf1940ebe64 100644 --- a/lib/Analysis/DataStructure/IPModRef.cpp +++ b/lib/Analysis/DataStructure/IPModRef.cpp @@ -15,9 +15,7 @@ #include "llvm/Analysis/DataStructure/DataStructure.h" #include "llvm/Analysis/DataStructure/DSGraph.h" #include "llvm/Module.h" -#include "llvm/Function.h" -#include "llvm/iMemory.h" -#include "llvm/iOther.h" +#include "llvm/Instructions.h" #include "Support/Statistic.h" #include "Support/STLExtras.h" #include "Support/StringExtras.h" diff --git a/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp b/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp index 4e0cd9ebf74..7c39365d06c 100644 --- a/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp +++ b/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp @@ -18,10 +18,9 @@ //===----------------------------------------------------------------------===// #include "MemoryDepAnalysis.h" -#include "llvm/Module.h" -#include "llvm/iMemory.h" -#include "llvm/iOther.h" #include "IPModRef.h" +#include "llvm/Instructions.h" +#include "llvm/Module.h" #include "llvm/Analysis/DataStructure/DataStructure.h" #include "llvm/Analysis/DataStructure/DSGraph.h" #include "llvm/Support/InstVisitor.h" diff --git a/lib/Transforms/Scalar/LowerConstantExprs.cpp b/lib/Transforms/Scalar/LowerConstantExprs.cpp index b4aa4db1df2..6de6c0d3c37 100644 --- a/lib/Transforms/Scalar/LowerConstantExprs.cpp +++ b/lib/Transforms/Scalar/LowerConstantExprs.cpp @@ -17,9 +17,7 @@ #include "llvm/Pass.h" #include "llvm/Function.h" #include "llvm/Constants.h" -#include "llvm/iMemory.h" -#include "llvm/iPHINode.h" -#include "llvm/iOther.h" +#include "llvm/Instructions.h" #include "llvm/Support/InstIterator.h" #include #include diff --git a/lib/Transforms/Scalar/PRE.cpp b/lib/Transforms/Scalar/PRE.cpp index cfa74b928d7..38c5595ebc6 100644 --- a/lib/Transforms/Scalar/PRE.cpp +++ b/lib/Transforms/Scalar/PRE.cpp @@ -23,8 +23,7 @@ #include "llvm/Pass.h" #include "llvm/Function.h" #include "llvm/Type.h" -#include "llvm/iPHINode.h" -#include "llvm/iMemory.h" +#include "llvm/Instructions.h" #include "llvm/Support/CFG.h" #include "llvm/Analysis/Dominators.h" #include "llvm/Analysis/PostDominators.h" diff --git a/lib/Transforms/Scalar/PiNodeInsertion.cpp b/lib/Transforms/Scalar/PiNodeInsertion.cpp index d8fd554de44..5227e7c6125 100644 --- a/lib/Transforms/Scalar/PiNodeInsertion.cpp +++ b/lib/Transforms/Scalar/PiNodeInsertion.cpp @@ -36,9 +36,7 @@ #include "llvm/Analysis/Dominators.h" #include "llvm/Pass.h" #include "llvm/Function.h" -#include "llvm/iTerminators.h" -#include "llvm/iOperators.h" -#include "llvm/iPHINode.h" +#include "llvm/Instructions.h" #include "llvm/Support/CFG.h" #include "Support/Statistic.h" using namespace llvm; diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 6e107497d43..6f843448892 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -25,7 +25,7 @@ #include "llvm/Transforms/Scalar.h" #include "llvm/Function.h" -#include "llvm/iOperators.h" +#include "llvm/Instructions.h" #include "llvm/Type.h" #include "llvm/Pass.h" #include "llvm/Constant.h" diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 44ef7905bdd..32c9040c5b7 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -24,7 +24,7 @@ #include "llvm/DerivedTypes.h" #include "llvm/Function.h" #include "llvm/Pass.h" -#include "llvm/iMemory.h" +#include "llvm/Instructions.h" #include "llvm/Analysis/Dominators.h" #include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Target/TargetData.h" diff --git a/lib/Transforms/Scalar/TailDuplication.cpp b/lib/Transforms/Scalar/TailDuplication.cpp index b6407c4bcbe..2a5a6062821 100644 --- a/lib/Transforms/Scalar/TailDuplication.cpp +++ b/lib/Transforms/Scalar/TailDuplication.cpp @@ -21,8 +21,7 @@ #include "llvm/Transforms/Scalar.h" #include "llvm/Constant.h" #include "llvm/Function.h" -#include "llvm/iPHINode.h" -#include "llvm/iTerminators.h" +#include "llvm/Instructions.h" #include "llvm/Pass.h" #include "llvm/Type.h" #include "llvm/Support/CFG.h" diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 653d9ffa47c..710188aa2b6 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -16,9 +16,7 @@ #include "llvm/Transforms/Scalar.h" #include "llvm/Constants.h" #include "llvm/Function.h" -#include "llvm/iTerminators.h" -#include "llvm/iOperators.h" -#include "llvm/iPHINode.h" +#include "llvm/Instructions.h" #include "llvm/Pass.h" #include "Support/Debug.h" #include "Support/Statistic.h" -- 2.34.1