diff options
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasAnalysis.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysis.cpp b/llvm/lib/Analysis/AliasAnalysis.cpp index fd3ded0..4f27aca 100644 --- a/llvm/lib/Analysis/AliasAnalysis.cpp +++ b/llvm/lib/Analysis/AliasAnalysis.cpp @@ -210,12 +210,6 @@ ModRefInfo AAResults::getModRefInfo(const Instruction *I, const CallBase *Call2, } ModRefInfo AAResults::getModRefInfo(const CallBase *Call, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(Call, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, AAQueryInfo &AAQI) { ModRefInfo Result = ModRefInfo::ModRef; @@ -270,12 +264,6 @@ ModRefInfo AAResults::getModRefInfo(const CallBase *Call, } ModRefInfo AAResults::getModRefInfo(const CallBase *Call1, - const CallBase *Call2) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(Call1, Call2, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const CallBase *Call1, const CallBase *Call2, AAQueryInfo &AAQI) { ModRefInfo Result = ModRefInfo::ModRef; @@ -477,11 +465,6 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, MemoryEffects ME) { //===----------------------------------------------------------------------===// ModRefInfo AAResults::getModRefInfo(const LoadInst *L, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(L, Loc, AAQIP); -} -ModRefInfo AAResults::getModRefInfo(const LoadInst *L, const MemoryLocation &Loc, AAQueryInfo &AAQI) { // Be conservative in the face of atomic. @@ -500,11 +483,6 @@ ModRefInfo AAResults::getModRefInfo(const LoadInst *L, } ModRefInfo AAResults::getModRefInfo(const StoreInst *S, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(S, Loc, AAQIP); -} -ModRefInfo AAResults::getModRefInfo(const StoreInst *S, const MemoryLocation &Loc, AAQueryInfo &AAQI) { // Be conservative in the face of atomic. @@ -531,12 +509,6 @@ ModRefInfo AAResults::getModRefInfo(const StoreInst *S, } ModRefInfo AAResults::getModRefInfo(const FenceInst *S, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(S, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const FenceInst *S, const MemoryLocation &Loc, AAQueryInfo &AAQI) { // All we know about a fence instruction is what we get from the ModRef @@ -548,12 +520,6 @@ ModRefInfo AAResults::getModRefInfo(const FenceInst *S, } ModRefInfo AAResults::getModRefInfo(const VAArgInst *V, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(V, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc, AAQueryInfo &AAQI) { if (Loc.Ptr) { @@ -573,12 +539,6 @@ ModRefInfo AAResults::getModRefInfo(const VAArgInst *V, } ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(CatchPad, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, const MemoryLocation &Loc, AAQueryInfo &AAQI) { if (Loc.Ptr) { @@ -592,12 +552,6 @@ ModRefInfo AAResults::getModRefInfo(const CatchPadInst *CatchPad, } ModRefInfo AAResults::getModRefInfo(const CatchReturnInst *CatchRet, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(CatchRet, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const CatchReturnInst *CatchRet, const MemoryLocation &Loc, AAQueryInfo &AAQI) { if (Loc.Ptr) { @@ -611,12 +565,6 @@ ModRefInfo AAResults::getModRefInfo(const CatchReturnInst *CatchRet, } ModRefInfo AAResults::getModRefInfo(const AtomicCmpXchgInst *CX, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(CX, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const AtomicCmpXchgInst *CX, const MemoryLocation &Loc, AAQueryInfo &AAQI) { // Acquire/Release cmpxchg has properties that matter for arbitrary addresses. @@ -635,12 +583,6 @@ ModRefInfo AAResults::getModRefInfo(const AtomicCmpXchgInst *CX, } ModRefInfo AAResults::getModRefInfo(const AtomicRMWInst *RMW, - const MemoryLocation &Loc) { - SimpleAAQueryInfo AAQIP(*this); - return getModRefInfo(RMW, Loc, AAQIP); -} - -ModRefInfo AAResults::getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc, AAQueryInfo &AAQI) { // Acquire/Release atomicrmw has properties that matter for arbitrary addresses. |