LLVM 20.0.0git
|
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 | |
AAResultBase ()=default | |
AAResultBase (const AAResultBase &Arg) | |
AAResultBase (AAResultBase &&Arg) | |
A simple AA result which uses scoped-noalias metadata to answer queries.
Definition at line 29 of file ScopedNoAliasAA.h.
AliasResult ScopedNoAliasAAResult::alias | ( | const MemoryLocation & | LocA, |
const MemoryLocation & | LocB, | ||
AAQueryInfo & | AAQI, | ||
const Instruction * | CtxI | ||
) |
Definition at line 54 of file ScopedNoAliasAA.cpp.
References llvm::MemoryLocation::AATags, EnableScopedNoAlias, llvm::AliasResult::MayAlias, llvm::AliasResult::NoAlias, llvm::AAMDNodes::NoAlias, and llvm::AAMDNodes::Scope.
ModRefInfo ScopedNoAliasAAResult::getModRefInfo | ( | const CallBase * | Call, |
const MemoryLocation & | Loc, | ||
AAQueryInfo & | AAQI | ||
) |
Definition at line 75 of file ScopedNoAliasAA.cpp.
References llvm::MemoryLocation::AATags, EnableScopedNoAlias, llvm::ModRef, llvm::AAMDNodes::NoAlias, llvm::NoModRef, and llvm::AAMDNodes::Scope.
ModRefInfo ScopedNoAliasAAResult::getModRefInfo | ( | const CallBase * | Call1, |
const CallBase * | Call2, | ||
AAQueryInfo & | AAQI | ||
) |
Definition at line 92 of file ScopedNoAliasAA.cpp.
References EnableScopedNoAlias, llvm::Instruction::getMetadata(), llvm::ModRef, 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 34 of file ScopedNoAliasAA.h.