createSimpleReduction overloads
Synopses
Declared in <llvm/Transforms/Utils/LoopUtils.h>
Create a vector reduction for recurrence kind RdxKind.
Value*
createSimpleReduction(
IRBuilderBase& B,
Value* Src,
RecurKind RdxKind);
Overloaded function to generate vector‐predication intrinsics for reduction.
Value*
createSimpleReduction(
IRBuilderBase& B,
Value* Src,
RecurKind RdxKind,
Value* Mask,
Value* EVL);
Return Value
-
The reduction result.
-
The predicated reduction result.
Parameters
Name |
Description |
B |
IR builder used to create the reduction. |
Src |
Vector value being reduced. |
RdxKind |
Recurrence kind describing the reduction. |
Mask |
Predication mask for active lanes. |
EVL |
Explicit vector length for the reduction. |
Created with MrDocs