[#llvm-LoopVectorizeOptions] = xref:llvm.adoc[llvm]::LoopVectorizeOptions :relfileprefix: ../ :mrdocs: Options that control when loop interleaving and vectorization may run. == Synopsis Declared in `<llvm/Transforms/Vectorize/LoopVectorize.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct LoopVectorizeOptions; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/LoopVectorizeOptions/2constructor-05.adoc[`LoopVectorizeOptions`] [.small]#[constructor]# | Constructors | xref:llvm/LoopVectorizeOptions/setInterleaveOnlyWhenForced.adoc[`setInterleaveOnlyWhenForced`] | Set whether interleaving runs only when forced by a pragma or option. | xref:llvm/LoopVectorizeOptions/setVectorizeOnlyWhenForced.adoc[`setVectorizeOnlyWhenForced`] | Set whether vectorization runs only when forced by a pragma or option. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/LoopVectorizeOptions/InterleaveOnlyWhenForced.adoc[`InterleaveOnlyWhenForced`] | If false, consider all loops for interleaving. If true, only loops that explicitly request interleaving are considered. | xref:llvm/LoopVectorizeOptions/VectorizeOnlyWhenForced.adoc[`VectorizeOnlyWhenForced`] | If false, consider all loops for vectorization. If true, only loops that explicitly request vectorization are considered. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#