Given information about an recurrence kind, return the identity for the llvm.vector.reduce.* used to generate it.
Declared in <llvm/Transforms/Utils/LoopUtils.h>
Value*
getRecurrenceIdentity(
RecurKind K,
Type* Tp,
FastMathFlags FMF);
The identity value for the recurrence kind.
| Name | Description |
|---|---|
| K | Recurrence kind whose identity is requested. |
| Tp | Result type of the identity value. |
| FMF | Fast-math flags affecting floating-point identities. |