llvm::LoopDistributePass

Pass that distributes loops to enable vectorization.

Synopsis

Declared in <llvm/Transforms/Scalar/LoopDistribute.h>

class LoopDistributePass
    : public OptionalPassInfoMixin<LoopDistributePass>

Description

Isolates dependence cycles into separate loops so the remaining parts can be vectorized.

Base Classes

NameDescription
OptionalPassInfoMixin<LoopDistributePass>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
run Run loop distribution over the function.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.