API reference
python:irx:irx.builder.emit_add
function emit_add
emit_add(ir_builder: ir.IRBuilder, lhs: ir.Value, rhs: ir.Value, name: str = 'addtmp') -> ir.Instruction
Source: packages/irx/src/irx/builder/vector.py:48
Declared as: python:irx:irx.builder.vector.emit_add
Emit add.
Parameters
-
ir_builder — IR builder.; Type: ir.IRBuilder
-
lhs — Left operand.; Type: ir.Value
-
rhs — Right operand.; Type: ir.Value
-
name — Name identifying the declaration or operation.; Type: str
Returns
Result of this operation: emit add.; Type: ir.Instruction