llvm::LoopAccessAnalysis

This analysis provides dependence information for the memory accesses of a loop.

Synopsis

Declared in <llvm/Analysis/LoopAccessAnalysis.h>

class LoopAccessAnalysis
    : public AnalysisInfoMixin<LoopAccessAnalysis>

Description

It runs the analysis for a loop on demand. This can be initiated by querying the loop access info via AM.getResult<LoopAccessAnalysis>. getResult return a LoopAccessInfo object. See this class for the specifics of what information is provided.

Base Classes

NameDescription
AnalysisInfoMixin<LoopAccessAnalysis>A CRTP mix-in that provides informational APIs needed for analysis passes.

Type Aliases

NameDescription
Result Result type providing per-loop LoopAccessInfo through a manager.

Member Functions

NameDescription
run Run the loop-access analysis over function F.

Static Member Functions

NameDescription
ID Returns an opaque, unique ID for this analysis type.

Friends

NameDescription
llvm::AnalysisInfoMixinA CRTP mix-in that provides informational APIs needed for analysis passes.