llvm::MachineIRBuilder::buildSplatBuildVector

Build and insert Res = G_BUILD_VECTOR with Src replicated to fill the number of elements

Synopsis

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

MachineInstrBuilder
buildSplatBuildVector(
    DstOp const& Res,
    SrcOp const& Src);

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
ResDestination operand for the result.
SrcSource operand.