[#llvm-LoopDistributePass] = xref:llvm.adoc[llvm]::LoopDistributePass :relfileprefix: ../ :mrdocs: Pass that distributes loops to enable vectorization. == Synopsis Declared in `<llvm/Transforms/Scalar/LoopDistribute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LoopDistributePass : public xref:llvm/OptionalPassInfoMixin-0246.adoc[OptionalPassInfoMixin<LoopDistributePass>] ---- == Description Isolates dependence cycles into separate loops so the remaining parts can be vectorized. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/OptionalPassInfoMixin-0246.adoc[OptionalPassInfoMixin<LoopDistributePass>]` | A CRTP mix‐in for passes that can be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/LoopDistributePass/run.adoc[`run`] | Run loop distribution over the function. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/LoopDistributePass/isRequired.adoc[`isRequired`] | Return false; optional passes may be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#