NewFDiv returns a new fdiv instruction based on the given operands.
(x, y value.Value)
| 544 | |
| 545 | // NewFDiv returns a new fdiv instruction based on the given operands. |
| 546 | func NewFDiv(x, y value.Value) *InstFDiv { |
| 547 | inst := &InstFDiv{X: x, Y: y} |
| 548 | // Compute type. |
| 549 | inst.Type() |
| 550 | return inst |
| 551 | } |
| 552 | |
| 553 | // String returns the LLVM syntax representation of the instruction as a |
| 554 | // type-value pair. |