diff options
author | Dan Gohman <gohman@apple.com> | 2010-11-08 16:11:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-11-08 16:11:19 +0000 |
commit | c80cbf25402e4095fafbb15a2ab1b81cf6feda77 (patch) | |
tree | 3a78e45a0937d860e1f35356d9b0e3fbf934e02c | |
parent | 3c97f7af9e75507f12a3977bced6b91c7e2ffb2a (diff) | |
download | llvm-c80cbf25402e4095fafbb15a2ab1b81cf6feda77.tar.gz llvm-c80cbf25402e4095fafbb15a2ab1b81cf6feda77.tar.bz2 llvm-c80cbf25402e4095fafbb15a2ab1b81cf6feda77.tar.xz |
Delete getIntrinsicModRefBehavior. Clients can just use the normal
getModRefBehavior now, since it now understands intrinsics as well
as normal functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118411 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/AliasAnalysis.h | 5 | ||||
-rw-r--r-- | lib/Analysis/AliasAnalysis.cpp | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index 1469b48990..6a22ad36a5 100644 --- a/include/llvm/Analysis/AliasAnalysis.h +++ b/include/llvm/Analysis/AliasAnalysis.h @@ -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 diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index 912923be8e..472d57ab40 100644 --- a/lib/Analysis/AliasAnalysis.cpp +++ b/lib/Analysis/AliasAnalysis.cpp @@ -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 |