aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-09-19 16:13:57 +0000
committerOwen Anderson <resistor@mac.com>2007-09-19 16:13:57 +0000
commit742f9b66822cb03af0cf7b94436e9d0288565591 (patch)
treec7a6a3b7d9db9fcc3a1665be9838164fa54b2df0 /include/llvm
parentac1220551fa3a4dc8b1eea2584920b8f18d7b571 (diff)
downloadexternal_llvm-742f9b66822cb03af0cf7b94436e9d0288565591.zip
external_llvm-742f9b66822cb03af0cf7b94436e9d0288565591.tar.gz
external_llvm-742f9b66822cb03af0cf7b94436e9d0288565591.tar.bz2
Add a flag to mark a dirty cache entry. This is not yet used, but will eventually
help non-local memdep caching. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index 067bbcb..733e702 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -59,6 +59,10 @@ 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;
+
static char ID; // Class identification, replacement for typeinfo
MemoryDependenceAnalysis() : FunctionPass((intptr_t)&ID) {}