LLVM
10.0.0svn
|
#include "llvm/Transforms/Vectorize/LoopVectorize.h"
Public Member Functions | |
LoopVectorizeOptions () | |
The current defaults when creating the pass with no arguments are: EnableLoopInterleaving = true and EnableLoopVectorization = true. More... | |
LoopVectorizeOptions (bool InterleaveOnlyWhenForced, bool VectorizeOnlyWhenForced) | |
LoopVectorizeOptions & | setInterleaveOnlyWhenForced (bool Value) |
LoopVectorizeOptions & | setVectorizeOnlyWhenForced (bool Value) |
Public Attributes | |
bool | InterleaveOnlyWhenForced |
If false, consider all loops for interleaving. More... | |
bool | VectorizeOnlyWhenForced |
If false, consider all loops for vectorization. More... | |
Definition at line 82 of file LoopVectorize.h.
|
inline |
The current defaults when creating the pass with no arguments are: EnableLoopInterleaving = true and EnableLoopVectorization = true.
This means that interleaving default is consistent with the cl::opt flag, while vectorization is not. FIXME: The default for EnableLoopVectorization in the cl::opt should be set to true, and the corresponding change to account for this be made in opt.cpp. The initializations below will become: InterleaveOnlyWhenForced(!EnableLoopInterleaving) VectorizeOnlyWhenForced(!EnableLoopVectorization).
Definition at line 100 of file LoopVectorize.h.
|
inline |
Definition at line 102 of file LoopVectorize.h.
|
inline |
Definition at line 107 of file LoopVectorize.h.
Referenced by checkParametrizedPassName().
|
inline |
Definition at line 112 of file LoopVectorize.h.
Referenced by checkParametrizedPassName().
bool llvm::LoopVectorizeOptions::InterleaveOnlyWhenForced |
If false, consider all loops for interleaving.
If true, only loops that explicitly request interleaving are considered.
Definition at line 85 of file LoopVectorize.h.
Referenced by llvm::LoopVectorizePass::LoopVectorizePass().
bool llvm::LoopVectorizeOptions::VectorizeOnlyWhenForced |
If false, consider all loops for vectorization.
If true, only loops that explicitly request vectorization are considered.
Definition at line 89 of file LoopVectorize.h.
Referenced by llvm::LoopVectorizePass::LoopVectorizePass().