23 #ifndef LLVM_ANALYSIS_OBJCARCALIASANALYSIS_H
24 #define LLVM_ANALYSIS_OBJCARCALIASANALYSIS_H
79 std::unique_ptr<ObjCARCAAResult> Result;
bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal)
A parsed version of the target data layout string in and methods for querying it. ...
ObjCARCAAResult(ObjCARCAAResult &&Arg)
A Module instance is used to store all the information related to an LLVM module. ...
ObjCARCAAResult run(Function &F, FunctionAnalysisManager &AM)
ModRefInfo
Flags indicating whether a memory access modifies or references memory.
bool doFinalization(Module &M) override
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes...
const ObjCARCAAResult & getResult() const
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)
FunctionModRefBehavior getModRefBehavior(ImmutableCallSite CS)
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.
AliasResult
The possible results of an alias query.
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...
bool doInitialization(Module &M) override
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before ...
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB)
This is a simple alias analysis implementation that uses knowledge of ARC constructs to answer querie...
ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc)
ImmutableCallSite - establish a view to a call site for examination.
ObjCARCAAResult & getResult()
ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc)
API to communicate dependencies between analyses during invalidation.
ObjCARCAAResult(const DataLayout &DL)
Legacy wrapper pass to provide the ObjCARCAAResult object.
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...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...