summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-30 23:47:24 +0000
committerDan Gohman <gohman@apple.com>2010-08-30 23:47:24 +0000
commit39429e2b5175d3f34c2a1cc693fefd9a4fc6919e (patch)
tree2011ce4cff8d95b6ebd64b417190c78ee696f812 /include/llvm
parent5c1919e55da7df42fd1eb392c5636edfd3616689 (diff)
downloadllvm-39429e2b5175d3f34c2a1cc693fefd9a4fc6919e.tar.gz
llvm-39429e2b5175d3f34c2a1cc693fefd9a4fc6919e.tar.bz2
llvm-39429e2b5175d3f34c2a1cc693fefd9a4fc6919e.tar.xz
Update the descriptions of NoModRef and ModRef to be consistent
with the descriptions of Mod and Ref. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h
index 7b003d8a69..ad68d48e53 100644
--- a/include/llvm/Analysis/AliasAnalysis.h
+++ b/include/llvm/Analysis/AliasAnalysis.h
@@ -231,11 +231,9 @@ public:
const Value *P, unsigned Size);
/// getModRefInfo - Return information about whether two call sites may refer
- /// to the same set of memory locations. This function returns NoModRef if
- /// the two calls refer to disjoint memory locations, Ref if CS1 reads memory
- /// written by CS2, Mod if CS1 writes to memory read or written by CS2, or
- /// ModRef if CS1 might read or write memory accessed by CS2.
- ///
+ /// to the same set of memory locations. See
+ /// http://llvm.org/docs/AliasAnalysis.html#ModRefInfo
+ /// for details.
virtual ModRefResult getModRefInfo(ImmutableCallSite CS1,
ImmutableCallSite CS2);