diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-28 21:47:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-28 21:47:19 +0000 |
commit | b390b1728e6c36f1f28d75d6f8f27cb91f8a8c56 (patch) | |
tree | fd98acc9946d876c3a4458b48174b55ae00c286f /include/llvm/Analysis/MemoryDependenceAnalysis.h | |
parent | 0e575f428cf0691760fb8f51a616bdb911b85d4f (diff) |
forward declare CallSite instead of #includ'ing it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryDependenceAnalysis.h')
-rw-r--r-- | include/llvm/Analysis/MemoryDependenceAnalysis.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index ffc675837a..8021b06462 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -15,7 +15,6 @@ #define LLVM_ANALYSIS_MEMORY_DEPENDENCE_H #include "llvm/Pass.h" -#include "llvm/Support/CallSite.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" @@ -23,6 +22,7 @@ namespace llvm { class Function; class FunctionPass; class Instruction; + class CallSite; /// MemoryDependenceAnalysis - This is an analysis that determines, for a /// given memory operation, what preceding memory operations it depends on. @@ -32,8 +32,7 @@ namespace llvm { private: // A map from instructions to their dependency, with a boolean // flags for whether this mapping is confirmed or not - typedef DenseMap<Instruction*, std::pair<Instruction*, bool> > - depMapType; + typedef DenseMap<Instruction*, std::pair<Instruction*, bool> > depMapType; depMapType depGraphLocal; // A map from instructions to their non-local dependencies. @@ -43,8 +42,7 @@ namespace llvm { // A reverse mapping form dependencies to the dependees. This is // used when removing instructions to keep the cache coherent. - typedef DenseMap<Value*, SmallPtrSet<Instruction*, 4> > - reverseDepMapType; + typedef DenseMap<Value*, SmallPtrSet<Instruction*, 4> > reverseDepMapType; reverseDepMapType reverseDep; // A reverse mapping form dependencies to the non-local dependees. |