Build and insert Res0, ... = G_EXTRACT Src, Idx0.
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildExtract(
DstOp const& Res,
SrcOp const& Src,
uint64_t Index);
a MachineInstrBuilder for the newly created instruction.
| Name | Description |
|---|---|
| Res | Destination operand for the result. |
| Src | Source operand. |
| Index | Index into the source value. |
Res and Src must be generic virtual registers.