LLVM 22.0.0git
llvm::LoopAccessAnalysis Class Reference

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

#include "llvm/Analysis/LoopAccessAnalysis.h"

Inheritance diagram for llvm::LoopAccessAnalysis:
[legend]

Public Types

typedef LoopAccessInfoManager Result

Public Member Functions

LLVM_ABI Result run (Function &F, FunctionAnalysisManager &AM)
Public Member Functions inherited from llvm::PassInfoMixin< LoopAccessAnalysis >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::AnalysisInfoMixin< LoopAccessAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type.
Static Public Member Functions inherited from llvm::PassInfoMixin< LoopAccessAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

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

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.

Definition at line 988 of file LoopAccessAnalysis.h.

Member Typedef Documentation

◆ Result

Member Function Documentation

◆ run()

LoopAccessInfoManager LoopAccessAnalysis::run ( Function & F,
FunctionAnalysisManager & AM )

Definition at line 3162 of file LoopAccessAnalysis.cpp.

References F, and FAM.


The documentation for this class was generated from the following files: