Options that control when loop interleaving and vectorization may run.

Synopsis

Declared in <llvm/Transforms/Vectorize/LoopVectorize.h>

struct LoopVectorizeOptions;

Member Functions

Name

Description

LoopVectorizeOptions [constructor]

Constructors

setInterleaveOnlyWhenForced

Set whether interleaving runs only when forced by a pragma or option.

setVectorizeOnlyWhenForced

Set whether vectorization runs only when forced by a pragma or option.

Data Members

Name

Description

InterleaveOnlyWhenForced

If false, consider all loops for interleaving. If true, only loops that explicitly request interleaving are considered.

VectorizeOnlyWhenForced

If false, consider all loops for vectorization. If true, only loops that explicitly request vectorization are considered.

Created with MrDocs