Given information about an llvm.vector.reduce.* intrinsic, return the identity value for the reduction.
Declared in <llvm/Transforms/Utils/LoopUtils.h>
Value*
getReductionIdentity(
Intrinsic::ID RdxID,
Type* Ty,
FastMathFlags FMF);
The identity value for the reduction intrinsic.
| Name | Description |
|---|---|
| RdxID | Reduction intrinsic id whose identity is requested. |
| Ty | Result type of the identity value. |
| FMF | Fast-math flags affecting floating-point identities. |