Go to the documentation of this file.
13 #ifndef LLVM_ANALYSIS_SCALAREVOLUTIONALIASANALYSIS_H
14 #define LLVM_ANALYSIS_SCALAREVOLUTIONALIASANALYSIS_H
22 class ScalarEvolution;
57 std::unique_ptr<SCEVAAResult> Result;
A set of analyses that are preserved following a run of a transformation pass.
Analysis pass providing a never-invalidated alias analysis result.
This is an optimization pass for GlobalISel generic memory operations.
The main scalar evolution driver.
SCEVAAResult run(Function &F, FunctionAnalysisManager &AM)
The possible results of an alias query.
const SCEVAAResult & getResult() const
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
This class stores info we want to provide to or retain within an alias query.
Represent the analysis usage information of a pass.
API to communicate dependencies between analyses during invalidation.
This class represents an analyzed expression in the program.
Legacy wrapper pass to provide the SCEVAAResult object.
A special type used by analysis passes to provide an address that identifies that particular analysis...
SCEVAAResult & getResult()
SCEVAAResult(SCEVAAResult &&Arg)
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
A CRTP mix-in that provides informational APIs needed for analysis passes.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
SCEVAAResult(ScalarEvolution &SE)
FunctionPass * createSCEVAAWrapperPass()
Creates an instance of SCEVAAWrapperPass.
bool invalidate(Function &F, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &Inv)
bool runOnFunction(Function &F) override
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
A simple alias analysis implementation that uses ScalarEvolution to answer queries.
A container for analyses that lazily runs them and caches their results.
FunctionPass class - This class is used to implement most global optimizations.
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI)
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
LLVM Value Representation.
A CRTP-driven "mixin" base class to help implement the function alias analysis results concept.
Representation for a specific memory location.