code wiki / (root) / _offc_probe_irbuild.nx

_offc_probe_irbuild.nx

buildroot/runtime/_offc_probe_irbuild.nx

802 B26 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind probetopic offc
docsdependenciesstructsconstsfunctions

about

Replicates regalloc_test.nx lines 9-21 — full IR construction without the regalloc piece. Isolates whether the bug is in ir_block_new / ir_const_i64 / ir_emit_binop / ir_emit_return.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_types.nx nx_ir.nx nx_regalloc.nx _offc_probe_irbuild.nx

imports: nx_syscalls.nxnx_types.nxnx_ir.nxnx_regalloc.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ir_function_new sys_mmap ↻ diag_capacity_named nx_puts_err sys_write ↻ sys_write ↻ diag_put_dec sys_write ↻ sys_mmap ↻ sys_exit ↻ nx_assert_lt sys_write ↻ nx_puti_err sys_mmap ↻ sys_write ↻ nx_puts_err ↻ ir_type_i64 alloc_type sys_mmap ↻ ir_block_new nx_assert_ptr sys_write ↻ nx_puts_err ↻ nx_assert

structs

none

consts

none

functions

10func main() -> i64