[llvm-commits] [llvm] r118614 - /llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
Dan Gohman
gohman at apple.com
Tue Nov 9 11:48:55 PST 2010
Author: djg
Date: Tue Nov 9 13:48:55 2010
New Revision: 118614
URL: http://llvm.org/viewvc/llvm-project?rev=118614&view=rev
Log:
Add a AccessesArgumentsReadonly ModRefBehavior value, so that the intrinsic
property IntrReadArgMem can be modeled.
Modified:
llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
Modified: llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=118614&r1=118613&r2=118614&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasAnalysis.h Tue Nov 9 13:48:55 2010
@@ -189,6 +189,13 @@
// This property corresponds to the IntrNoMem LLVM intrinsic flag.
DoesNotAccessMemory,
+ // AccessesArgumentsReadonly - This function loads through function
+ // arguments and does not perform any non-local stores or volatile
+ // loads.
+ //
+ // This property corresponds to the IntrReadArgMem LLVM intrinsic flag.
+ AccessesArgumentsReadonly,
+
// AccessesArguments - This function accesses function arguments in well
// known (possibly volatile) ways, but does not access any other memory.
//
More information about the llvm-commits
mailing list