Build and insert integer negation Zero = G_CONSTANT 0 Res = G_SUB Zero, Op0
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildNeg(
DstOp const& Dst,
SrcOp const& Src0);
a MachineInstrBuilder for the newly created instruction.
| Name | Description |
|---|---|
| Dst | Destination operand for the result. |
| Src0 | First source operand. |