Partially address a README by having functionattrs consider calls to
[oota-llvm.git] / include / llvm / Analysis / AliasAnalysis.h
index 2d43bddf7e0ba6272c1a3dc0c5d145c6dd6ee38f..9f411350a791cbfe93f7e3333a9a638c537f80f2 100644 (file)
@@ -197,6 +197,10 @@ public:
   virtual ModRefBehavior getModRefBehavior(Function *F,
                                    std::vector<PointerAccessInfo> *Info = 0);
 
+  /// getModRefBehavior - Return the modref behavior of the intrinsic with the
+  /// given id.
+  static ModRefBehavior getModRefBehavior(unsigned iid);
+
   /// doesNotAccessMemory - If the specified call is known to never read or
   /// write memory, return true.  If the call only reads from known-constant
   /// memory, it is also legal to return true.  Calls that unwind the stack