14 #ifndef LLVM_ANALYSIS_SCOPEDNOALIASAA_H
15 #define LLVM_ANALYSIS_SCOPEDNOALIASAA_H
59 std::unique_ptr<ScopedNoAliasAAResult> Result;
A Module instance is used to store all the information related to an LLVM module. ...
The two locations do not alias at all.
ImmutablePass * createScopedNoAliasAAWrapperPass()
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
ModRefInfo
Flags indicating whether a memory access modifies or references memory.
A simple AA result which uses scoped-noalias metadata to answer queries.
bool invalidate(Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &)
Handle invalidation events from the new pass manager.
A CRTP-driven "mixin" base class to help implement the function alias analysis results concept...
bool doFinalization(Module &M) override
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes...
ScopedNoAliasAAWrapperPass()
Legacy wrapper pass to provide the ScopedNoAliasAAResult object.
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.
ScopedNoAliasAAResult Result
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB)
Representation for a specific memory location.
ImmutablePass class - This class is used to provide information that does not need to be run...
Module.h This file contains the declarations for the Module class.
Analysis pass providing a never-invalidated alias analysis result.
bool doInitialization(Module &M) override
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before ...
ImmutableCallSite - establish a view to a call site for examination.
ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc)
ScopedNoAliasAAResult & getResult()
API to communicate dependencies between analyses during invalidation.
A container for analyses that lazily runs them and caches their results.
const ScopedNoAliasAAResult & getResult() const
A special type used by analysis passes to provide an address that identifies that particular analysis...
ScopedNoAliasAAResult run(Function &F, FunctionAnalysisManager &AM)