LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::CycleAnalysis Class Reference

Analysis pass which computes a CycleInfo. More...

#include "llvm/Analysis/CycleAnalysis.h"

Inheritance diagram for llvm::CycleAnalysis:
Inheritance graph
[legend]

Public Types

using Result = CycleInfo
 Provide the result typedef for this analysis pass.
 
using LegacyWrapper = CycleInfoWrapperPass
 

Public Member Functions

CycleInfo run (Function &F, FunctionAnalysisManager &)
 Run the analysis pass over a function and produce a dominator tree.
 
- 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< CycleAnalysis >
static AnalysisKeyID ()
 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.
 

Detailed Description

Analysis pass which computes a CycleInfo.

Definition at line 46 of file CycleAnalysis.h.

Member Typedef Documentation

◆ LegacyWrapper

Definition at line 54 of file CycleAnalysis.h.

◆ Result

Provide the result typedef for this analysis pass.

Definition at line 52 of file CycleAnalysis.h.

Member Function Documentation

◆ run()

CycleInfo CycleAnalysis::run ( Function F,
FunctionAnalysisManager  
)

Run the analysis pass over a function and produce a dominator tree.

Definition at line 19 of file CycleAnalysis.cpp.

References llvm::GenericCycleInfo< ContextT >::compute(), and F.


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