Build and insert G_ASSERT_SEXT, G_ASSERT_ZEXT, or G_ASSERT_ALIGN
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildAssertInstr(
unsigned int Opc,
DstOp const& Res,
SrcOp const& Op,
unsigned int Val);
a MachineInstrBuilder for the newly created instruction.
| Name | Description |
|---|---|
| Opc | Target opcode for the instruction. |
| Res | Destination operand for the result. |
| Op | Source operand. |
| Val | Value operand. |