LLVM  6.0.0svn
Public Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::LoopUnrollPass:
Collaboration graph
[legend]

Public Member Functions

 LoopUnrollPass (int OptLevel=2)
 This uses the target information (or flags) to control the thresholds for different unrolling stategies but supports all of them. More...
 
PreservedAnalyses run (Function &F, FunctionAnalysisManager &AM)
 

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. More...
 

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 36 of file LoopUnrollPass.h.

Constructor & Destructor Documentation

◆ LoopUnrollPass()

llvm::LoopUnrollPass::LoopUnrollPass ( int  OptLevel = 2)
inlineexplicit

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

Definition at line 42 of file LoopUnrollPass.h.

References F(), and llvm::LoopFullUnrollPass::run().

Member Function Documentation

◆ run()

PreservedAnalyses LoopUnrollPass::run ( Function F,
FunctionAnalysisManager AM 
)

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