16 #ifndef LLVM_ANALYSIS_TYPEBASEDALIASANALYSIS_H 17 #define LLVM_ANALYSIS_TYPEBASEDALIASANALYSIS_H 53 bool PathAliases(
const MDNode *A,
const MDNode *B)
const;
70 std::unique_ptr<TypeBasedAAResult> Result;
80 bool doInitialization(
Module &M)
override;
81 bool doFinalization(
Module &M)
override;
94 #endif // LLVM_ANALYSIS_TYPEBASEDALIASANALYSIS_H Analysis pass providing a never-invalidated alias analysis result.
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
const TypeBasedAAResult & getResult() const
TypeBasedAAResult & getResult()
Base class for all callable instructions (InvokeInst and CallInst) Holds everything related to callin...
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB)
Legacy wrapper pass to provide the TypeBasedAAResult object.
bool invalidate(Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &)
Handle invalidation events from the new pass manager.
FunctionModRefBehavior getModRefBehavior(const CallBase *Call)
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.
AliasResult
The possible results of an alias query.
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
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.
A simple AA result that uses TBAA metadata to answer queries.
Representation for a specific memory location.
ImmutablePass class - This class is used to provide information that does not need to be run...
ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc)
ImmutablePass * createTypeBasedAAWrapperPass()
API to communicate dependencies between analyses during invalidation.
ModRefInfo
Flags indicating whether a memory access modifies or references memory.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.
A special type used by analysis passes to provide an address that identifies that particular analysis...
bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal)