LLVM 22.0.0git
llvm::LoopUnrollPass Class Reference

Loop unroll pass that will support both full and partial unrolling. More...

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

Inheritance diagram for llvm::LoopUnrollPass:
[legend]

Public Member Functions

 LoopUnrollPass (LoopUnrollOptions UnrollOpts={})
 This uses the target information (or flags) to control the thresholds for different unrolling stategies but supports all of them.
PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
Public Member Functions inherited from llvm::PassInfoMixin< LoopUnrollPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

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

Detailed Description

Loop unroll pass that will support both full and partial unrolling.

It is a function pass to have access to function and module analyses. It will also put loops into canonical form (simplified and LCSSA).

Definition at line 133 of file LoopUnrollPass.h.

Constructor & Destructor Documentation

◆ LoopUnrollPass()

llvm::LoopUnrollPass::LoopUnrollPass ( LoopUnrollOptions UnrollOpts = {})
inlineexplicit

This uses the target information (or flags) to control the thresholds for different unrolling stategies but supports all of them.

Definition at line 139 of file LoopUnrollPass.h.

Member Function Documentation

◆ printPipeline()

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

Definition at line 1684 of file LoopUnrollPass.cpp.

References printPipeline().

Referenced by printPipeline().

◆ run()


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