23 #ifndef LLVM_ANALYSIS_OBJCARCALIASANALYSIS_H 24 #define LLVM_ANALYSIS_OBJCARCALIASANALYSIS_H 79 std::unique_ptr<ObjCARCAAResult> Result;
89 bool doInitialization(
Module &M)
override;
90 bool doFinalization(
Module &M)
override;
bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal)
A parsed version of the target data layout string in and methods for querying it. ...
This class represents lattice values for constants.
ObjCARCAAResult(ObjCARCAAResult &&Arg)
A Module instance is used to store all the information related to an LLVM module. ...
FunctionModRefBehavior getModRefBehavior(const CallBase *Call)
Base class for all callable instructions (InvokeInst and CallInst) Holds everything related to callin...
A CRTP-driven "mixin" base class to help implement the function alias analysis results concept...
FunctionModRefBehavior
Summary of how a function affects memory in the program.
FunctionModRefBehavior getModRefBehavior(const Function *F)
AliasResult
The possible results of an alias query.
A set of analyses that are preserved following a run of a transformation pass.
A CRTP mix-in that provides informational APIs needed for analysis passes.
Represent the analysis usage information of a pass.
bool invalidate(Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &)
Handle invalidation events from the new pass manager.
Representation for a specific memory location.
ImmutablePass class - This class is used to provide information that does not need to be run...
const ObjCARCAAResult & getResult() const
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB)
This is a simple alias analysis implementation that uses knowledge of ARC constructs to answer querie...
amdgpu Simplify well known AMD library false Value Value * Arg
ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc)
ObjCARCAAResult & getResult()
API to communicate dependencies between analyses during invalidation.
ObjCARCAAResult(const DataLayout &DL)
ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc)
Legacy wrapper pass to provide the ObjCARCAAResult object.
ModRefInfo
Flags indicating whether a memory access modifies or references memory.
A container for analyses that lazily runs them and caches their results.
Analysis pass providing a never-invalidated alias analysis result.
A special type used by analysis passes to provide an address that identifies that particular analysis...