LLVM 20.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 815 of file AliasAnalysis.h.
|
explicitprotecteddefault |
|
inlineprotected |
Definition at line 821 of file AliasAnalysis.h.
|
inlineprotected |
Definition at line 822 of file AliasAnalysis.h.
|
inline |
Definition at line 825 of file AliasAnalysis.h.
References llvm::AliasResult::MayAlias.
Referenced by llvm::objcarc::ObjCARCAAResult::alias().
|
inline |
Definition at line 835 of file AliasAnalysis.h.
References llvm::ModRef.
|
inline |
Definition at line 839 of file AliasAnalysis.h.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
Referenced by llvm::objcarc::ObjCARCAAResult::getMemoryEffects().
|
inline |
Definition at line 843 of file AliasAnalysis.h.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
|
inline |
Definition at line 847 of file AliasAnalysis.h.
References llvm::ModRef.
Referenced by llvm::objcarc::ObjCARCAAResult::getModRefInfo().
|
inline |
Definition at line 852 of file AliasAnalysis.h.
References llvm::ModRef.
|
inline |
Definition at line 830 of file AliasAnalysis.h.
References llvm::ModRef.
Referenced by llvm::objcarc::ObjCARCAAResult::getModRefInfoMask().