LLVM 19.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::FunctionToLoopPassAdaptor Class Reference

#include "llvm/Transforms/Scalar/LoopPassManager.h"

Inheritance diagram for llvm::FunctionToLoopPassAdaptor:
Inheritance graph

Public Types

using PassConceptT = detail::PassConcept< Loop, LoopAnalysisManager, LoopStandardAnalysisResults &, LPMUpdater & >

Public Member Functions

 FunctionToLoopPassAdaptor (std::unique_ptr< PassConceptT > Pass, bool UseMemorySSA=false, bool UseBlockFrequencyInfo=false, bool UseBranchProbabilityInfo=false, bool LoopNestMode=false)
PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 Runs the loop passes across every loop in the function.
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
bool isLoopNestMode () const
- Public Member Functions inherited from llvm::PassInfoMixin< FunctionToLoopPassAdaptor >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Static Public Member Functions

static bool isRequired ()
- Static Public Member Functions inherited from llvm::PassInfoMixin< FunctionToLoopPassAdaptor >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Definition at line 401 of file LoopPassManager.h.

Member Typedef Documentation

◆ PassConceptT

Definition at line 404 of file LoopPassManager.h.

Constructor & Destructor Documentation

◆ FunctionToLoopPassAdaptor()

llvm::FunctionToLoopPassAdaptor::FunctionToLoopPassAdaptor ( std::unique_ptr< PassConceptT Pass,
bool  UseMemorySSA = false,
bool  UseBlockFrequencyInfo = false,
bool  UseBranchProbabilityInfo = false,
bool  LoopNestMode = false 

Member Function Documentation

◆ isLoopNestMode()

bool llvm::FunctionToLoopPassAdaptor::isLoopNestMode ( ) const

Definition at line 428 of file LoopPassManager.h.

◆ isRequired()

static bool llvm::FunctionToLoopPassAdaptor::isRequired ( )

Definition at line 426 of file LoopPassManager.h.

◆ printPipeline()

void FunctionToLoopPassAdaptor::printPipeline ( raw_ostream OS,
function_ref< StringRef(StringRef)>  MapClassName2PassName 

Definition at line 192 of file LoopPassManager.cpp.

References OS.

◆ run()

PreservedAnalyses FunctionToLoopPassAdaptor::run ( Function F,
FunctionAnalysisManager AM 

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