LLVM 19.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 809 of file AliasAnalysis.h.
|
explicitprotecteddefault |
|
inlineprotected |
Definition at line 815 of file AliasAnalysis.h.
|
inlineprotected |
Definition at line 816 of file AliasAnalysis.h.
|
inline |
Definition at line 819 of file AliasAnalysis.h.
References llvm::AliasResult::MayAlias.
Referenced by llvm::objcarc::ObjCARCAAResult::alias().
|
inline |
Definition at line 829 of file AliasAnalysis.h.
References llvm::ModRef.
|
inline |
Definition at line 833 of file AliasAnalysis.h.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
Referenced by llvm::objcarc::ObjCARCAAResult::getMemoryEffects().
|
inline |
Definition at line 837 of file AliasAnalysis.h.
References llvm::MemoryEffectsBase< LocationEnum >::unknown().
|
inline |
Definition at line 841 of file AliasAnalysis.h.
References llvm::ModRef.
Referenced by llvm::objcarc::ObjCARCAAResult::getModRefInfo().
|
inline |
Definition at line 846 of file AliasAnalysis.h.
References llvm::ModRef.
|
inline |
Definition at line 824 of file AliasAnalysis.h.
References llvm::ModRef.
Referenced by llvm::objcarc::ObjCARCAAResult::getModRefInfoMask().