LLVM 20.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) | |
AAResultBase (AAResultBase &&Arg) | |
A simple AA result that uses TBAA metadata to answer queries.
Definition at line 31 of file TypeBasedAliasAnalysis.h.
AliasResult TypeBasedAAResult::alias | ( | const MemoryLocation & | LocA, |
const MemoryLocation & | LocB, | ||
AAQueryInfo & | AAQI, | ||
const Instruction * | CtxI | ||
) |
Definition at line 375 of file TypeBasedAliasAnalysis.cpp.
References llvm::MemoryLocation::AATags, EnableTBAA, llvm::AliasResult::MayAlias, llvm::AliasResult::NoAlias, and llvm::AAMDNodes::TBAA.
MemoryEffects TypeBasedAAResult::getMemoryEffects | ( | const CallBase * | Call, |
AAQueryInfo & | AAQI | ||
) |
Definition at line 407 of file TypeBasedAliasAnalysis.cpp.
References EnableTBAA, isStructPathTBAA(), llvm::MemoryEffectsBase< LocationEnum >::none(), and llvm::MemoryEffectsBase< LocationEnum >::unknown().
MemoryEffects TypeBasedAAResult::getMemoryEffects | ( | const Function * | F | ) |
Definition at line 421 of file TypeBasedAliasAnalysis.cpp.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
ModRefInfo TypeBasedAAResult::getModRefInfo | ( | const CallBase * | Call, |
const MemoryLocation & | Loc, | ||
AAQueryInfo & | AAQI | ||
) |
Definition at line 426 of file TypeBasedAliasAnalysis.cpp.
References llvm::MemoryLocation::AATags, EnableTBAA, llvm::ModRef, llvm::NoModRef, and llvm::AAMDNodes::TBAA.
ModRefInfo TypeBasedAAResult::getModRefInfo | ( | const CallBase * | Call1, |
const CallBase * | Call2, | ||
AAQueryInfo & | AAQI | ||
) |
Definition at line 440 of file TypeBasedAliasAnalysis.cpp.
References EnableTBAA, llvm::Instruction::getMetadata(), llvm::M1(), llvm::ModRef, and llvm::NoModRef.
ModRefInfo TypeBasedAAResult::getModRefInfoMask | ( | const MemoryLocation & | Loc, |
AAQueryInfo & | AAQI, | ||
bool | IgnoreLocals | ||
) |
Definition at line 388 of file TypeBasedAliasAnalysis.cpp.
References llvm::MemoryLocation::AATags, EnableTBAA, isStructPathTBAA(), llvm::ModRef, llvm::NoModRef, and llvm::AAMDNodes::TBAA.
|
inline |
Handle invalidation events from the new pass manager.
By definition, this result is stateless and so remains valid.
Definition at line 36 of file TypeBasedAliasAnalysis.h.