Append a new instruction with a destination register to BB.
Declared in <llvm/CodeGen/MachineInstrBuilder.h>
MachineInstrBuilder
BuildMI(
MachineBasicBlock* BB,
MIMetadata const& MIMD,
MCInstrDesc const& MCID,
Register DestReg);
This version of the builder inserts the newly-built instruction at the end of the given MachineBasicBlock, and sets up the first operand as a destination virtual register.
Builder for the newly created instruction.
| Name | Description |
|---|---|
| BB | Basic block that receives the instruction at the end. |
| MIMD | Debug location and related metadata for the instruction. |
| MCID | Opcode descriptor for the new instruction. |
| DestReg | Destination virtual register used as the first operand. |