[llvm-commits] [llvm] r60214 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
Chris Lattner
sabre at nondot.org
Fri Nov 28 13:36:43 PST 2008
Author: lattner
Date: Fri Nov 28 15:36:43 2008
New Revision: 60214
URL: http://llvm.org/viewvc/llvm-project?rev=60214&view=rev
Log:
comment and indentation improvements.
Modified:
llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h?rev=60214&r1=60213&r2=60214&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Fri Nov 28 15:36:43 2008
@@ -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 MemoryDependenceAnalysis : public FunctionPass {
+ class Function;
+ class FunctionPass;
+ class Instruction;
+
+ /// 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 @@
// 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;
More information about the llvm-commits
mailing list