llvm::MachineIRBuilder::buildVecReduceFMul

Build and insert Res = G_VECREDUCE_FMUL Src

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

MachineInstrBuilder
buildVecReduceFMul(
    DstOp const& Dst,
    SrcOp const& ScalarIn,
    SrcOp const& VecIn);

Description

ScalarIn is the scalar accumulator input to the reduction operation of VecIn.

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
DstDestination operand for the result.
ScalarInScalar accumulator input to the reduction.
VecInVector being reduced.