Construct a full loop-unroll pass with the given options.
Declared in <llvm/Transforms/Scalar/LoopUnrollPass.h>
explicit
LoopFullUnrollPass(
int OptLevel = 2,
bool OnlyWhenForced = false,
bool ForgetSCEV = false,
bool PrepareForLTO = false);
| Name | Description |
|---|---|
| OptLevel | Optimization level used to tune unrolling decisions. |
| OnlyWhenForced | When true, only unroll loops that request it via metadata. |
| ForgetSCEV | When true, forget all loops in SCEV when unrolling. |
| PrepareForLTO | When true, defer unrolling of inline candidates for LTO. |