comment and indentation improvements.
authorChris Lattner <sabre@nondot.org>
Fri, 28 Nov 2008 21:36:43 +0000 (21:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 Nov 2008 21:36:43 +0000 (21:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60214 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/MemoryDependenceAnalysis.h

index c606b22acee065338fbbf95557bb6ae259537c7a..17e28fc560f881c2dbe1e5ddfc97a6a4a34e9d70 100644 (file)
@@ -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.
 //
 //===----------------------------------------------------------------------===//
 
 #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;