API reference
python:irx:irx.builder.protocols.VisitorMixinTypingBase._emit_numeric_compare
method _emit_numeric_compare
_emit_numeric_compare(_op_code: str, _lhs: ir.Value, _rhs: ir.Value, *, unsigned: bool, name: str) -> ir.Value
Source: packages/irx/src/irx/builder/protocols.py:1190
Emit numeric compare.
Parameters
-
_op_code — Op code.; Type: str
-
_lhs — Left operand.; Type: ir.Value
-
_rhs — Right operand.; Type: ir.Value
-
unsigned — Whether to use unsigned semantics.; Type: bool
-
name — Name identifying the declaration or operation.; Type: str
Returns
Result of this operation: emit numeric compare.; Type: ir.Value