[#llvm-LegalizerHelper-moreElementsVectorDst] = xref:llvm.adoc[llvm]::xref:llvm/LegalizerHelper.adoc[LegalizerHelper]::moreElementsVectorDst :relfileprefix: ../../ :mrdocs: Produce a wider‐vector def and extract the original elements in place. == Synopsis Declared in `<llvm/CodeGen/GlobalISel/LegalizerHelper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void moreElementsVectorDst( xref:llvm/MachineInstr.adoc[MachineInstr]& MI, xref:llvm/LLT.adoc[LLT] MoreTy, unsigned int OpIdx); ---- == Description Legalize a single operand `OpIdx` of the machine instruction `MI` as a Def by performing it with additional vector elements and extracting the result elements, and replacing the vreg of the operand in place. == Parameters [cols="1,4"] |=== | Name| Description | *MI* | Instruction whose def operand gains more elements. | *MoreTy* | Vector type with additional elements. | *OpIdx* | Operand index to legalize as a def. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#