LLVM 20.0.0git
|
Analysis pass that exposes the LoopInfo
for a function.
More...
#include "llvm/Analysis/LoopInfo.h"
Public Types | |
typedef LoopInfo | Result |
Public Member Functions | |
LoopInfo | run (Function &F, FunctionAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< LoopAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Analysis pass that exposes the LoopInfo
for a function.
Definition at line 566 of file LoopInfo.h.
typedef LoopInfo llvm::LoopAnalysis::Result |
Definition at line 571 of file LoopInfo.h.
LoopInfo LoopAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 969 of file LoopInfo.cpp.
References llvm::LoopInfoBase< BlockT, LoopT >::analyze(), F, and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().
Referenced by llvm::OpenMPIRBuilder::applySimd(), computeHeuristicUnrollFactor(), llvm::AMDGPUPromoteAllocaPass::run(), and llvm::AMDGPUPromoteAllocaToVectorPass::run().