diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-28 21:36:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-28 21:36:43 +0000 |
commit | e85866313a551fa3d4e2f118c3bf34e96af36763 (patch) | |
tree | 043237686498c10ba367b22d9ae02e4a48438eba /include/llvm/Analysis/MemoryDependenceAnalysis.h | |
parent | 565f96b196325e83f41a83c97bdc751e731de608 (diff) | |
download | external_llvm-e85866313a551fa3d4e2f118c3bf34e96af36763.zip external_llvm-e85866313a551fa3d4e2f118c3bf34e96af36763.tar.gz external_llvm-e85866313a551fa3d4e2f118c3bf34e96af36763.tar.bz2 |
comment and indentation improvements.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryDependenceAnalysis.h')
-rw-r--r-- | include/llvm/Analysis/MemoryDependenceAnalysis.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index c606b22..17e28fc 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -7,10 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file defines an analysis that determines, for a given memory operation, -// what preceding memory operations it depends on. It builds on alias analysis -// information, and tries to provide a lazy, caching interface to a common kind -// of alias information query. +// This file defines the MemoryDependenceAnalysis analysis pass. // //===----------------------------------------------------------------------===// @@ -21,15 +18,17 @@ #include "llvm/Support/CallSite.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" -#include "llvm/Support/Compiler.h" namespace llvm { + class Function; + class FunctionPass; + class Instruction; -class Function; -class FunctionPass; -class Instruction; - -class MemoryDependenceAnalysis : public FunctionPass { + /// MemoryDependenceAnalysis - This is an analysis that determines, for a + /// given memory operation, what preceding memory operations it depends on. + /// It builds on alias analysis information, and tries to provide a lazy, + /// caching interface to a common kind of alias information query. + class MemoryDependenceAnalysis : public FunctionPass { private: // A map from instructions to their dependency, with a boolean // flags for whether this mapping is confirmed or not @@ -61,7 +60,6 @@ class MemoryDependenceAnalysis : public FunctionPass { // Special marker indicating that the query has no dependency at all static Instruction* const None; - // Special marker indicating a dirty cache entry static Instruction* const Dirty; |