code wiki / ir

topic: ir

21 modules sharing the ir name family (derived from the tree's prefix discipline).

The 'ir' topic family in the Nishi sovereign ecosystem focuses on intermediate representation (IR) development and validation, supporting both compilation and shader generation. Modules like `nx_ir` provide SSA IR for nxc2, while `nx_ir_cast_identity_after_t206` handles shader backend generation, converting NishiLang to GLSL and WGSL. `ir_test` ensures the reliability of these IR transformations, forming a cohesive pipeline for code analysis and execution.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
ir.nxalias stub.130
ir_test.nxself-test for ir.nx library. 391
ir_validate.nxalias stub.130
nx_ir.nxnxc2's SSA IR, ported to NishiLang. 1804109
nx_ir_cast_capacity_expanded_t206.nxTHE SHADER IR: ONE source of truth, N dialect backends.3788271
nx_ir_cast_capacity_t206.nx102
nx_ir_cast_identity_after_t206.nxTHE SHADER BACKENDS: NishiLang in, GLSL and WGSL out.3788271
nx_ir_cast_identity_before_t206.nxTHE SHADER IR: ONE source of truth, N dialect backends.3783271
nx_ir_cast_identity_t206.nx123
nx_ir_closure_gate_t206.nx184
nx_ir_dump.nxbits-up IR-dump primitive for self-host1554
nx_ir_eval.nxsovereign IR evaluation metrics: THE RULER for search SOTA.1398
nx_ir_eval_gate.nxKAT for nx_ir_eval (the search-SOTA ruler).631
nx_ir_substitute_pairs_candidate_t216.nx584
nx_ir_substitute_qualification_t206.nx594
nx_ir_validate.nxstructural invariants on the in-memory IR.2716
nx_ir_world_capacity_expanded_t206.nxTHE SHADER IR: ONE source of truth, N dialect backends.3787271
nx_ir_world_capacity_t206.nx102
nx_ir_world_identity_after_t206.nxTHE SHADER BACKENDS: NishiLang in, GLSL and WGSL out.3787271
nx_ir_world_identity_before_t206.nxTHE SHADER IR: ONE source of truth, N dialect backends.3784271
nx_ir_world_identity_t206.nx123