|
LLVM
10.0.0
|
A simple AA result which uses scoped-noalias metadata to answer queries. More...
#include "llvm/Analysis/ScopedNoAliasAA.h"
Additional Inherited Members | |
Protected Member Functions inherited from llvm::AAResultBase< ScopedNoAliasAAResult > | |
| AAResultBase ()=default | |
| AAResultBase (const AAResultBase &Arg) | |
| AAResultBase (AAResultBase &&Arg) | |
| AAResultsProxy | getBestAAResults () |
| Get a proxy for the best AA result set to query at this time. More... | |
A simple AA result which uses scoped-noalias metadata to answer queries.
Definition at line 30 of file ScopedNoAliasAA.h.
| AliasResult ScopedNoAliasAAResult::alias | ( | const MemoryLocation & | LocA, |
| const MemoryLocation & | LocB, | ||
| AAQueryInfo & | AAQI | ||
| ) |
Definition at line 78 of file ScopedNoAliasAA.cpp.
References llvm::MemoryLocation::AATags, llvm::AAResultBase< DerivedT >::alias(), EnableScopedNoAlias, llvm::NoAlias, llvm::AAMDNodes::NoAlias, and llvm::AAMDNodes::Scope.
Referenced by invalidate().
| ModRefInfo ScopedNoAliasAAResult::getModRefInfo | ( | const CallBase * | Call, |
| const MemoryLocation & | Loc, | ||
| AAQueryInfo & | AAQI | ||
| ) |
Definition at line 99 of file ScopedNoAliasAA.cpp.
References llvm::MemoryLocation::AATags, EnableScopedNoAlias, llvm::Instruction::getMetadata(), llvm::AAResultBase< DerivedT >::getModRefInfo(), llvm::AAMDNodes::NoAlias, llvm::NoModRef, and llvm::AAMDNodes::Scope.
Referenced by invalidate().
| ModRefInfo ScopedNoAliasAAResult::getModRefInfo | ( | const CallBase * | Call1, |
| const CallBase * | Call2, | ||
| AAQueryInfo & | AAQI | ||
| ) |
Definition at line 116 of file ScopedNoAliasAA.cpp.
References EnableScopedNoAlias, llvm::Instruction::getMetadata(), llvm::AAResultBase< DerivedT >::getModRefInfo(), and llvm::NoModRef.
|
inline |
Handle invalidation events from the new pass manager.
By definition, this result is stateless and so remains valid.
Definition at line 37 of file ScopedNoAliasAA.h.
References alias(), getModRefInfo(), and llvm::NoAlias.
1.8.13