- /// doesNotAccessMemory - If the specified function is known to never read or
- /// write memory, return true. If the function only reads from known-constant
- /// memory, it is also legal to return true. Functions that unwind the stack
- /// are not legal for this predicate.
+ /// getModRefBehavior - Return the behavior when calling the given function.
+ /// For use when the call site is not known.
+ virtual ModRefBehavior getModRefBehavior(Function *F,
+ std::vector<PointerAccessInfo> *Info = 0);
+
+ /// 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
+ /// are legal for this predicate.