createSimpleReduction overloads

Synopses

Declared in <llvm/Transforms/Utils/LoopUtils.h>

Create a reduction of the given vector. The reduction operation is described by the Opcode parameter. min/max reductions require additional information supplied in RdxKind. Fast‐math‐flags are propagated using the IRBuilder's setting.

Overloaded function to generate vector‐predication intrinsics for reduction.

Value*
createSimpleReduction(
    IRBuilderBase& B,
    Value* Src,
    RecurKind RdxKind,
    Value* Mask,
    Value* EVL);

Created with MrDocs