Insert a new instruction with a destination register before I.
Declared in <llvm/CodeGen/MachineInstrBuilder.h>
MachineInstrBuilder
BuildMI(
MachineBasicBlock& BB,
MachineInstr* I,
MIMetadata const& MIMD,
MCInstrDesc const& MCID,
Register DestReg);
Builder for the newly created instruction.
| Name | Description |
|---|---|
| BB | Basic block that will contain the new instruction. |
| I | Instruction to insert before. |
| 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. |