Dataset Viewer
Auto-converted to Parquet Duplicate
name
stringlengths
4
107
ret_type
stringclasses
2 values
nodes
listlengths
1
11.4k
stats
dict
source
stringclasses
2 values
lookup_keyword_fallback
ptr
[ { "dst": "%t0", "imm": null, "label": null, "line": 893, "op": "addr", "src1": "%stack_-8", "src2": null, "type": "ptr" }, { "dst": "%t1", "imm": null, "label": null, "line": 893, "op": "load", "src1": "%stack_-8", "src2": null, "type": "ptr" }, ...
{ "arith_count": 0, "branch_count": 0, "call_count": 0, "const_count": 0, "memory_count": 0, "node_count": 1314, "phi_count": 0, "prime_energy": 1.3973, "prime_h0": 0.9999, "prime_h_final": 1.3973 }
zcc-self-compile
parse_type
ptr
[ { "dst": "%t0", "imm": 0, "label": null, "line": 1709, "op": "const", "src1": null, "src2": null, "type": "i32" }, { "dst": "%stack_-16", "imm": null, "label": null, "line": 1709, "op": "store", "src1": "%t0", "src2": null, "type": "i32" }, { ...
{ "arith_count": 0, "branch_count": 0, "call_count": 0, "const_count": 0, "memory_count": 0, "node_count": 534, "phi_count": 0, "prime_energy": 1.3897, "prime_h0": 0.9725, "prime_h_final": 1.3897 }
zcc-self-compile
codegen_func
ptr
[{"dst":"%t0","imm":null,"label":null,"line":6376,"op":"addr","src1":"%stack_-16","src2":null,"type"(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":555,"(...TRUNCATED)
zcc-self-compile
fold_constants
ptr
[{"dst":"%t0","imm":null,"label":null,"line":6638,"op":"addr","src1":"%stack_-16","src2":null,"type"(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":1439,(...TRUNCATED)
zcc-self-compile
next_token
ptr
[{"dst":"%t0","imm":null,"label":null,"line":1024,"op":"addr","src1":"%stack_-8","src2":null,"type":(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":2098,(...TRUNCATED)
zcc-self-compile
codegen_stmt
ptr
[{"dst":"%t0","imm":null,"label":null,"line":5856,"op":"addr","src1":"%stack_-16","src2":null,"type"(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":1752,(...TRUNCATED)
zcc-self-compile
parse_program
ptr
[{"dst":"%t0","imm":0,"label":null,"line":3272,"op":"const","src1":null,"src2":null,"type":"i32"},{"(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":1046,(...TRUNCATED)
zcc-self-compile
init_compiler
ptr
[{"dst":"%t0","imm":8388608,"label":null,"line":6889,"op":"const","src1":null,"src2":null,"type":"i3(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":1178,(...TRUNCATED)
zcc-self-compile
emit_global_var
ptr
[{"dst":"%t0","imm":null,"label":null,"line":6496,"op":"addr","src1":"%stack_-16","src2":null,"type"(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":943,"(...TRUNCATED)
zcc-self-compile
parse_primary
ptr
[{"dst":"%t0","imm":null,"label":null,"line":1934,"op":"addr","src1":"%stack_-8","src2":null,"type":(...TRUNCATED)
{"arith_count":0,"branch_count":0,"call_count":0,"const_count":0,"memory_count":0,"node_count":610,"(...TRUNCATED)
zcc-self-compile
End of preview. Expand in Data Studio

ZCC IR PRIME v1 Dataset

This dataset contains 1,449 function-level Intermediate Representation (IR) graphs generated by the Zkaedi C Compiler (ZCC), scored using autonomous PRIME Hamiltonian energy dynamics and semantic evaluations.

Dataset Structure

Each row represents a single C function compiled to ZCC's 3-address SSA IR.

Total records: 1,449 functions

  • zcc-self-compile: 177 functions (the ZCC compiler compiling itself)
  • libcurl-8.7.1: 1,272 functions (ZCC compiling the libcurl network/IO library)

Fields / Schema

  • id: Unique identifier for the function.
  • source: The origin codebase generating the IR (zcc-self-compile or libcurl-8.7.1).
  • function_name: Name of the compiled C function.
  • ir_text: The raw textual representation of the 3-address SSA IR.
  • prime_score / metrics: Scoring matrices denoting the dataset's complexity and optimization load.

ZCC Cross-Compiler Status (Apr 12 2026)

  • thumbv6m-none-eabi backend: VERIFIED on RP2040 hardware
  • LED blink binary: ZCC-compiled, flashed via UF2, confirmed running
  • New bugs catalogued: CG-ARM-001, CG-ARM-002
Downloads last month
58