MCPcopy Create free account
hub / github.com/decomp/decomp / instMul

Method instMul

cmd/ll2go/instruction.go:172–176  ·  view source on GitHub ↗

instMul converts the given LLVM IR mul instruction to a corresponding Go statement.

(inst *ir.InstMul)

Source from the content-addressed store, hash-verified

170// instMul converts the given LLVM IR mul instruction to a corresponding Go
171// statement.
172func (d *decompiler) instMul(inst *ir.InstMul) ast.Stmt {
173 expr := d.binaryOp(inst.X, token.MUL, inst.Y)
174 return d.assign(inst.Name, expr)
175
176}
177
178// instFMul converts the given LLVM IR fmul instruction to a corresponding Go
179// statement.

Callers 1

instMethod · 0.95

Calls 2

binaryOpMethod · 0.95
assignMethod · 0.95

Tested by

no test coverage detected