mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Delete getIntrinsicModRefBehavior. Clients can just use the normal
getModRefBehavior now, since it now understands intrinsics as well as normal functions. llvm-svn: 118411
This commit is contained in:
parent
4e65d5ff92
commit
ee58dba24c
@ -213,11 +213,6 @@ public:
|
||||
/// For use when the call site is not known.
|
||||
virtual ModRefBehavior getModRefBehavior(const Function *F);
|
||||
|
||||
/// getIntrinsicModRefBehavior - Return the modref behavior of the intrinsic
|
||||
/// with the given id. Most clients won't need this, because the regular
|
||||
/// getModRefBehavior incorporates this information.
|
||||
static ModRefBehavior getIntrinsicModRefBehavior(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
|
||||
|
@ -249,13 +249,6 @@ AliasAnalysis::getModRefInfo(const VAArgInst *V, const Location &Loc) {
|
||||
return ModRef;
|
||||
}
|
||||
|
||||
AliasAnalysis::ModRefBehavior
|
||||
AliasAnalysis::getIntrinsicModRefBehavior(unsigned iid) {
|
||||
#define GET_INTRINSIC_MODREF_BEHAVIOR
|
||||
#include "llvm/Intrinsics.gen"
|
||||
#undef GET_INTRINSIC_MODREF_BEHAVIOR
|
||||
}
|
||||
|
||||
// AliasAnalysis destructor: DO NOT move this to the header file for
|
||||
// AliasAnalysis or else clients of the AliasAnalysis class may not depend on
|
||||
// the AliasAnalysis.o file in the current .a file, causing alias analysis
|
||||
|
Loading…
Reference in New Issue
Block a user