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

Name

Description

AnalysisInfoMixin<LoopAccessAnalysis>

A CRTP mix‐in that provides informational APIs needed for analysis passes.

Type Aliases

Name

Description

Result

Result type providing per‐loop LoopAccessInfo through a manager.

Member Functions

Name

Description

run

Run the loop‐access analysis over function F.

Static Member Functions

Name

Description

ID

Returns an opaque, unique ID for this analysis type.

Friends

Name

Description

llvm::AnalysisInfoMixin

A CRTP mix‐in that provides informational APIs needed for analysis passes.

Created with MrDocs