14 #ifndef LLVM_ANALYSIS_CFLSTEENSALIASANALYSIS_H 15 #define LLVM_ANALYSIS_CFLSTEENSALIASANALYSIS_H 25 #include <forward_list> 31 class TargetLibraryInfo;
83 if (isa<Constant>(LocA.
Ptr) && isa<Constant>(LocB.
Ptr))
94 std::function<const TargetLibraryInfo &(Function &)> GetTLI;
102 std::forward_list<cflaa::FunctionHandle<CFLSteensAAResult>> Handles;
124 std::unique_ptr<CFLSteensAAResult> Result;
134 void initializePass()
override;
144 #endif // LLVM_ANALYSIS_CFLSTEENSALIASANALYSIS_H This class represents lattice values for constants.
bool invalidate(Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &)
Handle invalidation events from the new pass manager.
This class stores info we want to provide to or retain within an alias query.
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI)
static void query(const MachineInstr &MI, AliasAnalysis &AA, bool &Read, bool &Write, bool &Effects, bool &StackPointer)
A CRTP-driven "mixin" base class to help implement the function alias analysis results concept...
AliasSummary is just a collection of ExternalRelation and ExternalAttribute.
Legacy wrapper pass to provide the CFLSteensAAResult object.
CFLSteensAAResult & getResult()
AliasResult
The possible results of an alias query.
const CFLSteensAAResult & getResult() const
AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB, AAQueryInfo &AAQI)
A set of analyses that are preserved following a run of a transformation pass.
Analysis pass providing a never-invalidated alias analysis result.
A CRTP mix-in that provides informational APIs needed for analysis passes.
Represent the analysis usage information of a pass.
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
The two locations may or may not alias. This is the least precise result.
const Value * Ptr
The address of the start of the location.
Representation for a specific memory location.
The two locations precisely alias each other.
ImmutablePass class - This class is used to provide information that does not need to be run...
Provides information about what library functions are available for the current target.
Information we have about a function and would like to keep around.
This file provides utility analysis objects describing memory locations.
ImmutablePass * createCFLSteensAAWrapperPass()
API to communicate dependencies between analyses during invalidation.
print Print MemDeps of function
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...
static Expected< BitVector > scan(StringRef &S, StringRef Original)