LLVM 22.0.0git
llvm::FunctionToLoopPassAdaptor Class Reference

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

Inheritance diagram for llvm::FunctionToLoopPassAdaptor:
[legend]

Public Types

using PassConceptT

Public Member Functions

 FunctionToLoopPassAdaptor (std::unique_ptr< PassConceptT > Pass, bool UseMemorySSA=false, bool UseBlockFrequencyInfo=false, bool LoopNestMode=false)
LLVM_ABI PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 Runs the loop passes across every loop in the function.
LLVM_ABI 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 398 of file LoopPassManager.h.

Member Typedef Documentation

◆ PassConceptT

Initial value:
This class provides an interface for updating the loop pass manager based on mutations to the loop ne...
Represents a single loop in the control flow graph.
Definition LoopInfo.h:40
AnalysisManager< Loop, LoopStandardAnalysisResults & > LoopAnalysisManager
The loop analysis manager.
The adaptor from a function pass to a loop pass computes these analyses and makes them available to t...
Template for the abstract base class used to dispatch polymorphically over pass objects.

Definition at line 401 of file LoopPassManager.h.

Constructor & Destructor Documentation

◆ FunctionToLoopPassAdaptor()

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

Definition at line 405 of file LoopPassManager.h.

References llvm::move().

Member Function Documentation

◆ isLoopNestMode()

bool llvm::FunctionToLoopPassAdaptor::isLoopNestMode ( ) const
inline

Definition at line 424 of file LoopPassManager.h.

◆ isRequired()

bool llvm::FunctionToLoopPassAdaptor::isRequired ( )
inlinestatic

Definition at line 422 of file LoopPassManager.h.

◆ printPipeline()

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

Definition at line 190 of file LoopPassManager.cpp.

◆ run()


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