|
LLVM 24.0.0git
|
A simple AA result that uses TBAA metadata to answer queries. More...
#include "llvm/Analysis/TypeBasedAliasAnalysis.h"
Additional Inherited Members | |
| Protected Member Functions inherited from llvm::AAResultBase | |
| AAResultBase ()=default | |
| AAResultBase (const AAResultBase &Arg)=default | |
| AAResultBase (AAResultBase &&Arg) | |
A simple AA result that uses TBAA metadata to answer queries.
Definition at line 34 of file TypeBasedAliasAnalysis.h.
| TypeBasedAAResult::TypeBasedAAResult | ( | const LLVMContext & | C, |
| bool | UsingTypeSanitizer ) |
Definition at line 678 of file TypeBasedAliasAnalysis.cpp.
References C(), and llvm::getAnalysisOptions().
| AliasResult TypeBasedAAResult::alias | ( | const MemoryLocation & | LocA, |
| const MemoryLocation & | LocB, | ||
| AAQueryInfo & | AAQI, | ||
| const Instruction * | CtxI ) |
Definition at line 327 of file TypeBasedAliasAnalysis.cpp.
References llvm::MemoryLocation::AATags, llvm::AliasResult::MayAlias, llvm::AliasResult::NoAlias, and llvm::AAMDNodes::TBAA.
| AliasResult TypeBasedAAResult::aliasErrno | ( | const MemoryLocation & | Loc, |
| const Instruction * | CtxI ) |
Definition at line 340 of file TypeBasedAliasAnalysis.cpp.
References llvm::any_of(), llvm::Instruction::getModule(), llvm::Module::getNamedMetadata(), llvm::AliasResult::MayAlias, N, and llvm::AliasResult::NoAlias.
| MemoryEffects TypeBasedAAResult::getMemoryEffects | ( | const CallBase * | Call, |
| AAQueryInfo & | AAQI ) |
Definition at line 378 of file TypeBasedAliasAnalysis.cpp.
References Call, llvm::MemoryEffectsBase< IRMemLocation >::none(), and llvm::MemoryEffectsBase< IRMemLocation >::unknown().
| MemoryEffects TypeBasedAAResult::getMemoryEffects | ( | const Function * | F | ) |
Definition at line 391 of file TypeBasedAliasAnalysis.cpp.
References F, and llvm::MemoryEffectsBase< IRMemLocation >::unknown().
| ModRefInfo TypeBasedAAResult::getModRefInfo | ( | const CallBase * | Call, |
| const MemoryLocation & | Loc, | ||
| AAQueryInfo & | AAQI ) |
Definition at line 396 of file TypeBasedAliasAnalysis.cpp.
References Call, llvm::ModRef, and llvm::NoModRef.
| ModRefInfo TypeBasedAAResult::getModRefInfo | ( | const CallBase * | Call1, |
| const CallBase * | Call2, | ||
| AAQueryInfo & | AAQI ) |
Definition at line 410 of file TypeBasedAliasAnalysis.cpp.
References llvm::Instruction::getMetadata(), llvm::M1(), llvm::ModRef, and llvm::NoModRef.
|
inline |
Definition at line 887 of file AliasAnalysis.h.
| ModRefInfo TypeBasedAAResult::getModRefInfoMask | ( | const MemoryLocation & | Loc, |
| AAQueryInfo & | AAQI, | ||
| bool | IgnoreLocals ) |
Definition at line 360 of file TypeBasedAliasAnalysis.cpp.
References 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 47 of file TypeBasedAliasAnalysis.h.