diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-11 16:42:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-11 16:42:50 +0000 |
commit | 414c36769aff6ec688c49f493122529394357d05 (patch) | |
tree | 1fad16d79ce29e00936ba1c692dd44ed23be925b | |
parent | e40bb915bae2aecdd1578ea356d5e4c8ac31061c (diff) | |
download | external_llvm-414c36769aff6ec688c49f493122529394357d05.zip external_llvm-414c36769aff6ec688c49f493122529394357d05.tar.gz external_llvm-414c36769aff6ec688c49f493122529394357d05.tar.bz2 |
Make comments above APIs reflect what they should do.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12830 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/AliasAnalysis.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index c275941..54ea494 100644 --- a/include/llvm/Analysis/AliasAnalysis.h +++ b/include/llvm/Analysis/AliasAnalysis.h @@ -146,17 +146,17 @@ public: /// 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 they both read - /// some of the same memory, Mod if they both write to some of the same - /// memory, and ModRef if they read and write to the same memory. + /// 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. /// virtual ModRefResult getModRefInfo(CallSite CS1, CallSite CS2); /// hasNoModRefInfoForCalls - Return true if the analysis has no mod/ref - /// information for function calls other than "pure" and "const" functions. - /// This can be used by clients to avoid many pointless queries. Remember - /// that if you override this and chain to another analysis, you must make - /// sure that it doesn't have mod/ref info either. + /// information for pairs of function calls (other than "pure" and "const" + /// functions). This can be used by clients to avoid many pointless queries. + /// Remember that if you override this and chain to another analysis, you must + /// make sure that it doesn't have mod/ref info either. /// virtual bool hasNoModRefInfoForCalls() const { return false; } |