LLVM 22.0.0git
|
A base class to help implement the function alias analysis results concept. More...
#include "llvm/Analysis/AliasAnalysis.h"
Public Member Functions | |
AliasResult | alias (const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI, const Instruction *I) |
ModRefInfo | getModRefInfoMask (const MemoryLocation &Loc, AAQueryInfo &AAQI, bool IgnoreLocals) |
ModRefInfo | getArgModRefInfo (const CallBase *Call, unsigned ArgIdx) |
MemoryEffects | getMemoryEffects (const CallBase *Call, AAQueryInfo &AAQI) |
MemoryEffects | getMemoryEffects (const Function *F) |
ModRefInfo | getModRefInfo (const CallBase *Call, const MemoryLocation &Loc, AAQueryInfo &AAQI) |
ModRefInfo | getModRefInfo (const CallBase *Call1, const CallBase *Call2, AAQueryInfo &AAQI) |
Protected Member Functions | |
AAResultBase ()=default | |
AAResultBase (const AAResultBase &Arg) | |
AAResultBase (AAResultBase &&Arg) | |
A base class to help implement the function alias analysis results concept.
Because of the nature of many alias analysis implementations, they often only implement a subset of the interface. This base class will attempt to implement the remaining portions of the interface in terms of simpler forms of the interface where possible, and otherwise provide conservatively correct fallback implementations.
Implementors of an alias analysis should derive from this class, and then override specific methods that they wish to customize. There is no need to use virtual anywhere.
Definition at line 848 of file AliasAnalysis.h.
|
explicitprotecteddefault |
|
inlineprotected |
Definition at line 854 of file AliasAnalysis.h.
|
inlineprotected |
Definition at line 855 of file AliasAnalysis.h.
|
inline |
Definition at line 858 of file AliasAnalysis.h.
References llvm::AliasResult::MayAlias.
Referenced by llvm::objcarc::ObjCARCAAResult::alias().
|
inline |
Definition at line 868 of file AliasAnalysis.h.
References llvm::ModRef.
|
inline |
Definition at line 872 of file AliasAnalysis.h.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
Referenced by llvm::objcarc::ObjCARCAAResult::getMemoryEffects().
|
inline |
Definition at line 876 of file AliasAnalysis.h.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
|
inline |
Definition at line 880 of file AliasAnalysis.h.
References llvm::ModRef.
Referenced by llvm::objcarc::ObjCARCAAResult::getModRefInfo().
|
inline |
Definition at line 885 of file AliasAnalysis.h.
References llvm::ModRef.
|
inline |
Definition at line 863 of file AliasAnalysis.h.
References llvm::ModRef.
Referenced by llvm::objcarc::ObjCARCAAResult::getModRefInfoMask().