diff options
author | Dan Gohman <gohman@apple.com> | 2010-11-10 18:30:00 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-11-10 18:30:00 +0000 |
commit | e88ccb545d0e03fd4445d361100fc95f350c6663 (patch) | |
tree | ce35b7ef3b0d33e7d2ddc1b5343a3c379bbc3b09 /include/llvm/Analysis/AliasAnalysis.h | |
parent | a74a58c83be492b7d5b7383656f049909394cff4 (diff) | |
download | external_llvm-e88ccb545d0e03fd4445d361100fc95f350c6663.zip external_llvm-e88ccb545d0e03fd4445d361100fc95f350c6663.tar.gz external_llvm-e88ccb545d0e03fd4445d361100fc95f350c6663.tar.bz2 |
Rename AccessesArguments and AccessesArgumentsReadonly, and rewrite
their comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/AliasAnalysis.h')
-rw-r--r-- | include/llvm/Analysis/AliasAnalysis.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index 49797a3..17abae4 100644 --- a/include/llvm/Analysis/AliasAnalysis.h +++ b/include/llvm/Analysis/AliasAnalysis.h @@ -192,18 +192,19 @@ public: /// This property corresponds to the IntrNoMem LLVM intrinsic flag. DoesNotAccessMemory = Nowhere | NoModRef, - /// AccessesArgumentsReadonly - This function loads through function - /// arguments and does not perform any non-local stores or volatile - /// loads. + /// OnlyReadsArgumentPointees - The only memory references in this function + /// (if it has any) are non-volatile loads from objects pointed to by its + /// pointer-typed arguments, with arbitrary offsets. /// /// This property corresponds to the IntrReadArgMem LLVM intrinsic flag. - AccessesArgumentsReadonly = ArgumentPointees | Ref, + OnlyReadsArgumentPointees = ArgumentPointees | Ref, - /// AccessesArguments - This function accesses function arguments in well - /// known (possibly volatile) ways, but does not access any other memory. + /// OnlyAccessesArgumentPointees - The only memory references in this + /// function (if it has any) are non-volatile loads and stores from objects + /// pointed to by its pointer-typed arguments, with arbitrary offsets. /// /// This property corresponds to the IntrReadWriteArgMem LLVM intrinsic flag. - AccessesArguments = ArgumentPointees | ModRef, + OnlyAccessesArgumentPointees = ArgumentPointees | ModRef, /// OnlyReadsMemory - This function does not perform any non-local stores or /// volatile loads, but may read from any memory location. |