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