LLVM
10.0.0svn
|
Tunable parameters for passes in the default pipelines. More...
#include "llvm/Passes/PassBuilder.h"
Public Member Functions | |
PipelineTuningOptions () | |
Constructor sets pipeline tuning defaults based on cl::opts. More... | |
Public Attributes | |
bool | LoopInterleaving |
Tuning option to set loop interleaving on/off. More... | |
bool | LoopVectorization |
Tuning option to enable/disable loop vectorization. More... | |
bool | SLPVectorization |
Tuning option to enable/disable slp loop vectorization. More... | |
bool | LoopUnrolling |
Tuning option to enable/disable loop unrolling. Its default value is true. More... | |
bool | ForgetAllSCEVInLoopUnroll |
Tuning option to forget all SCEV loops in LoopUnroll. More... | |
unsigned | LicmMssaOptCap |
Tuning option to cap the number of calls to retrive clobbering accesses in MemorySSA, in LICM. More... | |
unsigned | LicmMssaNoAccForPromotionCap |
Tuning option to disable promotion to scalars in LICM with MemorySSA, if the number of access is too large. More... | |
Tunable parameters for passes in the default pipelines.
Definition at line 70 of file PassBuilder.h.
PipelineTuningOptions::PipelineTuningOptions | ( | ) |
Constructor sets pipeline tuning defaults based on cl::opts.
Each option can be set in the PassBuilder when using a LLVM as a library.
Definition at line 223 of file PassBuilder.cpp.
References EnableHotColdSplit, llvm::EnableLoopInterleaving, llvm::EnableLoopVectorization, EnableOrderFileInstrumentation, FlattenedProfileUsed, ForgetAllSCEVInLoopUnroll, llvm::ForgetSCEVInLoopUnroll, LicmMssaNoAccForPromotionCap, LicmMssaOptCap, LoopInterleaving, LoopUnrolling, LoopVectorization, llvm::RunSLPVectorization, llvm::SetLicmMssaNoAccForPromotionCap, llvm::SetLicmMssaOptCap, and SLPVectorization.
bool llvm::PipelineTuningOptions::ForgetAllSCEVInLoopUnroll |
Tuning option to forget all SCEV loops in LoopUnroll.
Its default value is that of the flag: -forget-scev-loop-unroll
.
Definition at line 93 of file PassBuilder.h.
Referenced by PipelineTuningOptions().
unsigned llvm::PipelineTuningOptions::LicmMssaNoAccForPromotionCap |
Tuning option to disable promotion to scalars in LICM with MemorySSA, if the number of access is too large.
Definition at line 101 of file PassBuilder.h.
Referenced by PipelineTuningOptions().
unsigned llvm::PipelineTuningOptions::LicmMssaOptCap |
Tuning option to cap the number of calls to retrive clobbering accesses in MemorySSA, in LICM.
Definition at line 97 of file PassBuilder.h.
Referenced by PipelineTuningOptions().
bool llvm::PipelineTuningOptions::LoopInterleaving |
Tuning option to set loop interleaving on/off.
Its default value is that of the flag: -interleave-loops
.
Definition at line 78 of file PassBuilder.h.
Referenced by PipelineTuningOptions().
bool llvm::PipelineTuningOptions::LoopUnrolling |
Tuning option to enable/disable loop unrolling. Its default value is true.
Definition at line 89 of file PassBuilder.h.
Referenced by PipelineTuningOptions().
bool llvm::PipelineTuningOptions::LoopVectorization |
Tuning option to enable/disable loop vectorization.
Its default value is that of the flag: -vectorize-loops
.
Definition at line 82 of file PassBuilder.h.
Referenced by PipelineTuningOptions().
bool llvm::PipelineTuningOptions::SLPVectorization |
Tuning option to enable/disable slp loop vectorization.
Its default value is that of the flag: vectorize-slp
.
Definition at line 86 of file PassBuilder.h.
Referenced by PipelineTuningOptions().