LLVM  5.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::LoopUnrollPass Class Reference

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

Inheritance diagram for llvm::LoopUnrollPass:
[legend]
Collaboration diagram for llvm::LoopUnrollPass:
[legend]

Public Member Functions

PreservedAnalyses run (Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U)
 

Static Public Member Functions

static LoopUnrollPass create (int OptLevel=2)
 Create an instance of the loop unroll pass that will support both full and partial unrolling. More...
 
static LoopUnrollPass createFull (int OptLevel=2)
 Create an instance of the loop unroll pass that only does full loop unrolling. More...
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< LoopUnrollPass >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

Definition at line 19 of file LoopUnrollPass.h.

Member Function Documentation

static LoopUnrollPass llvm::LoopUnrollPass::create ( int  OptLevel = 2)
inlinestatic

Create an instance of the loop unroll pass that will support both full and partial unrolling.

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

Definition at line 32 of file LoopUnrollPass.h.

Referenced by llvm::PassBuilder::buildModuleOptimizationPipeline().

static LoopUnrollPass llvm::LoopUnrollPass::createFull ( int  OptLevel = 2)
inlinestatic

Create an instance of the loop unroll pass that only does full loop unrolling.

This will disable any runtime or partial unrolling.

Definition at line 40 of file LoopUnrollPass.h.

Referenced by llvm::PassBuilder::buildFunctionSimplificationPipeline().

PreservedAnalyses LoopUnrollPass::run ( Loop &  L,
LoopAnalysisManager &  AM,
LoopStandardAnalysisResults &  AR,
LPMUpdater &  U 
)

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