MCPcopy Create free account
hub / github.com/llir/llvm / NewFDiv

Method NewFDiv

ir/block_binary.go:93–97  ·  view source on GitHub ↗

~~~ [ fdiv ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewFDiv appends a new fdiv instruction to the basic block based on the given operands.

(x, y value.Value)

Source from the content-addressed store, hash-verified

91// NewFDiv appends a new fdiv instruction to the basic block based on the given
92// operands.
93func (block *Block) NewFDiv(x, y value.Value) *InstFDiv {
94 inst := NewFDiv(x, y)
95 block.Insts = append(block.Insts, inst)
96 return inst
97}
98
99// ~~~ [ urem ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100

Callers

nothing calls this directly

Calls 1

NewFDivFunction · 0.70

Tested by

no test coverage detected