Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/src/omega_native.h # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / src / omega_native.h` 1209 lines ยท 136699 bytes Raw Blame History 1 /* Generated by omega-bridge src/native.om: native call ABI v1 (docs/NATIVE-ABI.md). 2 * C and C++ declarations for libomega_native. Regenerate it; do not edit it. 3 * Status: 0 done; 1..14 the Omega trap code; 32 argument refused (null, wrong length, misaligned, 4 * overlap); 33 reentry; 34 bad runtime entry; 35 no stack. The result is written only on status 0. 5 * A long is its two's-complement bits; an array is its address then its element count. 6 * Parameter names carry o_ so no language's reserved words collide. */ 7 #ifndef OMEGA_NATIVE_H 8 #define OMEGA_NATIVE_H 9 #include 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 #define OMEGA_OK 0u 14 #define OMEGA_BAD_ARG 32u 15 #define OMEGA_REENTRY 33u 16 #define OMEGA_BAD_RT 34u 17 #define OMEGA_NO_STACK 35u 18 #define OMEGA2_IDENT_arboris_arena "omega-ident 1 unit=arboris_arena abi=2 profile=OM-2 src=`299e46f3f69433b7d0f7591b8888135dcd31e7f8a43b52e429f91c03c9cc7458` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 19 const char *omega2_ident_arboris_arena(void); 20 /* export fn arboris_plan_arena m edit ulong 16 budget ulong page ulong offsets edit ulong 6 to ulong */ 21 uint32_t omega2_arboris_plan_arena(uint64_t *result, uint64_t *o_m, uint64_t o_m_len, uint64_t o_budget, uint64_t o_page, uint64_t *o_offsets, uint64_t o_offsets_len); 22 /* export fn arboris_check_csr m view ulong 16 data view uint * to ulong */ 23 uint32_t omega2_arboris_check_csr(uint64_t *result, const uint64_t *o_m, uint64_t o_m_len, const uint32_t *o_data, uint64_t o_data_len); 24 /* export fn arboris_plan_sparse m edit ulong 16 budget ulong page ulong offsets edit ulong 6 to ulong */ 25 uint32_t omega2_arboris_plan_sparse(uint64_t *result, uint64_t *o_m, uint64_t o_m_len, uint64_t o_budget, uint64_t o_page, uint64_t *o_offsets, uint64_t o_offsets_len); 26 #define OMEGA2_IDENT_arboris_spread "omega-ident 1 unit=arboris_spread abi=2 profile=OM-2 src=`45cde23283b7ede181f869ee76021b09b3a44d58c59df4b0167ab4b3fabbb536` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 27 const char *omega2_ident_arboris_spread(void); 28 /* export fn arboris_validate_in_csr hdr view ulong 16 csr view uint * to ulong */ 29 uint32_t omega2_arboris_validate_in_csr(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, const uint32_t *o_csr, uint64_t o_csr_len); 30 /* export fn arboris_compile_in_csr r view uint * hdr view ulong 16 csr edit uint * to ulong */ 31 uint32_t omega2_arboris_compile_in_csr(uint64_t *result, const uint32_t *o_r, uint64_t o_r_len, const uint64_t *o_hdr, uint64_t o_hdr_len, uint32_t *o_csr, uint64_t o_csr_len); 32 /* export fn arboris_load_records r view uint * topo edit uint * weights edit uint * to ulong */ 33 uint32_t omega2_arboris_load_records(uint64_t *result, const uint32_t *o_r, uint64_t o_r_len, uint32_t *o_topo, uint64_t o_topo_len, uint32_t *o_weights, uint64_t o_weights_len); 34 /* export fn arboris_topology_digest topo view uint * weights view uint * digest edit uchar 32 to ulong */ 35 uint32_t omega2_arboris_topology_digest(uint64_t *result, const uint32_t *o_topo, uint64_t o_topo_len, const uint32_t *o_weights, uint64_t o_weights_len, uint8_t *o_digest, uint64_t o_digest_len); 36 /* export fn arboris_spread_step topo view uint * weights view uint * state edit uint * to ulong */ 37 uint32_t omega2_arboris_spread_step(uint64_t *result, const uint32_t *o_topo, uint64_t o_topo_len, const uint32_t *o_weights, uint64_t o_weights_len, uint32_t *o_state, uint64_t o_state_len); 38 /* export fn arboris_relax_step topo view uint * weights view uint * state edit uint * to ulong */ 39 uint32_t omega2_arboris_relax_step(uint64_t *result, const uint32_t *o_topo, uint64_t o_topo_len, const uint32_t *o_weights, uint64_t o_weights_len, uint32_t *o_state, uint64_t o_state_len); 40 #define OMEGA2_IDENT_arboris_spread_plan "omega-ident 1 unit=arboris_spread_plan abi=2 profile=OM-2 src=`6dc0852b72be694100becc124caee227b220130450ad6f7707314a7b311ca597` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 41 const char *omega2_ident_arboris_spread_plan(void); 42 /* export fn arboris_spread_plan hdr edit ulong 16 budget ulong page ulong offsets edit ulong 5 mapped_sizes edit ulong 5 to ulong */ 43 uint32_t omega2_arboris_spread_plan(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t o_budget, uint64_t o_page, uint64_t *o_offsets, uint64_t o_offsets_len, uint64_t *o_mapped_sizes, uint64_t o_mapped_sizes_len); 44 /* export fn arboris_spread_verify_header hdr view ulong 16 budget ulong page ulong to ulong */ 45 uint32_t omega2_arboris_spread_verify_header(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t o_budget, uint64_t o_page); 46 #define OMEGA2_IDENT_arboris_spread_cpu "omega-ident 1 unit=arboris_spread_cpu abi=2 profile=OM-2 src=`1f5c904cb2743072769d4cb5dae04618b2a6f1ed00284d29875259025c680bba` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 47 const char *omega2_ident_arboris_spread_cpu(void); 48 /* export fn arboris_spread_cpu_hop hdr edit ulong 16 csr view uint * state edit uint * receipt edit ulong 8 to ulong */ 49 uint32_t omega2_arboris_spread_cpu_hop(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, const uint32_t *o_csr, uint64_t o_csr_len, uint32_t *o_state, uint64_t o_state_len, uint64_t *o_receipt, uint64_t o_receipt_len); 50 /* export fn arboris_spread_cpu_run hdr edit ulong 16 csr view uint * state edit uint * receipt edit ulong 8 to ulong */ 51 uint32_t omega2_arboris_spread_cpu_run(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, const uint32_t *o_csr, uint64_t o_csr_len, uint32_t *o_state, uint64_t o_state_len, uint64_t *o_receipt, uint64_t o_receipt_len); 52 #define OMEGA2_IDENT_bw_arboris_spread_emit "omega-ident 1 unit=bw_arboris_spread_emit abi=2 profile=OM-2 src=`cb07cb95db1083867fbfca2360927dfa2232f7140b3f7097a7f914ef0fa03343` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 53 const char *omega2_ident_bw_arboris_spread_emit(void); 54 /* export fn bw_arboris_spread_emit_mode0 code edit uchar 16384 to ulong */ 55 uint32_t omega2_bw_arboris_spread_emit_mode0(uint64_t *result, uint8_t *o_code, uint64_t o_code_len); 56 /* export fn bw_arboris_spread_emit_mode1 code edit uchar 16384 to ulong */ 57 uint32_t omega2_bw_arboris_spread_emit_mode1(uint64_t *result, uint8_t *o_code, uint64_t o_code_len); 58 /* export fn bw_arboris_spread_emit_mode2 code edit uchar 16384 to ulong */ 59 uint32_t omega2_bw_arboris_spread_emit_mode2(uint64_t *result, uint8_t *o_code, uint64_t o_code_len); 60 /* export fn bw_arboris_spread_emit_mode3 code edit uchar 16384 to ulong */ 61 uint32_t omega2_bw_arboris_spread_emit_mode3(uint64_t *result, uint8_t *o_code, uint64_t o_code_len); 62 /* export fn bw_arboris_spread_pack_qmd hdr view ulong 16 vas view ulong 10 driver view uint 224 bank edit uint 240 q0 edit uint 96 q1 edit uint 96 to ulong */ 63 uint32_t omega2_bw_arboris_spread_pack_qmd(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_vas, uint64_t o_vas_len, const uint32_t *o_driver, uint64_t o_driver_len, uint32_t *o_bank, uint64_t o_bank_len, uint32_t *o_q0, uint64_t o_q0_len, uint32_t *o_q1, uint64_t o_q1_len); 64 #define OMEGA2_IDENT_arboris_gated "omega-ident 1 unit=arboris_gated abi=2 profile=OM-2 src=`7c4410e5586fb8afc5f4d963ae7280ccc71d57b602659e41da36d3982177a300` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 65 const char *omega2_ident_arboris_gated(void); 66 /* export fn arboris_gated_tick m view ulong 16 offsets view ulong 6 arena edit ushort * page ulong to ulong */ 67 uint32_t omega2_arboris_gated_tick(uint64_t *result, const uint64_t *o_m, uint64_t o_m_len, const uint64_t *o_offsets, uint64_t o_offsets_len, uint16_t *o_arena, uint64_t o_arena_len, uint64_t o_page); 68 /* export fn arboris_pack_gated m view ulong 16 offsets view ulong 6 a edit ushort * limits edit ulong 2 to ulong */ 69 uint32_t omega2_arboris_pack_gated(uint64_t *result, const uint64_t *o_m, uint64_t o_m_len, const uint64_t *o_offsets, uint64_t o_offsets_len, uint16_t *o_a, uint64_t o_a_len, uint64_t *o_limits, uint64_t o_limits_len); 70 #define OMEGA2_IDENT_blackwell_arboris_emit "omega-ident 1 unit=blackwell_arboris_emit abi=2 profile=OM-2 src=`3bd14ebaf1974cc588197ba790bbc4fa21d8ebba015a1570b5d2cb576e326a42` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 71 const char *omega2_ident_blackwell_arboris_emit(void); 72 /* export fn arboris_emit_spread n ulong code edit uchar 16384 to ulong */ 73 uint32_t omega2_arboris_emit_spread(uint64_t *result, uint64_t o_n, uint8_t *o_code, uint64_t o_code_len); 74 /* export fn arboris_emit_relax n ulong code edit uchar 16384 to ulong */ 75 uint32_t omega2_arboris_emit_relax(uint64_t *result, uint64_t o_n, uint8_t *o_code, uint64_t o_code_len); 76 /* export fn arboris_emit_gated n ulong d ulong standard ulong code edit uchar 16384 to ulong */ 77 uint32_t omega2_arboris_emit_gated(uint64_t *result, uint64_t o_n, uint64_t o_d, uint64_t o_standard, uint8_t *o_code, uint64_t o_code_len); 78 #define OMEGA2_IDENT_blackwell_arboris_qmd "omega-ident 1 unit=blackwell_arboris_qmd abi=2 profile=OM-2 src=`2e17ac73b902b21a5ac76d003e8141dd947d47b6e8bc60bbdd3f5b1308155449` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 79 const char *omega2_ident_blackwell_arboris_qmd(void); 80 /* export fn arboris_wave_qmd shape view ulong 7 slots view ulong 20 driver view uint 224 bank edit uint 236 q0 edit uint 96 q1 edit uint 96 to ulong */ 81 uint32_t omega2_arboris_wave_qmd(uint64_t *result, const uint64_t *o_shape, uint64_t o_shape_len, const uint64_t *o_slots, uint64_t o_slots_len, const uint32_t *o_driver, uint64_t o_driver_len, uint32_t *o_bank, uint64_t o_bank_len, uint32_t *o_q0, uint64_t o_q0_len, uint32_t *o_q1, uint64_t o_q1_len); 82 /* export fn arboris_relax_qmd shape view ulong 7 slots view ulong 20 driver view uint 224 bank edit uint 236 q0 edit uint 96 q1 edit uint 96 to ulong */ 83 uint32_t omega2_arboris_relax_qmd(uint64_t *result, const uint64_t *o_shape, uint64_t o_shape_len, const uint64_t *o_slots, uint64_t o_slots_len, const uint32_t *o_driver, uint64_t o_driver_len, uint32_t *o_bank, uint64_t o_bank_len, uint32_t *o_q0, uint64_t o_q0_len, uint32_t *o_q1, uint64_t o_q1_len); 84 #define OMEGA2_IDENT_bw_hazard "omega-ident 1 unit=bw_hazard abi=2 profile=OM-2 src=`f311490d65d5046e2f82618bcb43ea5e25c7857476a8c4380be35d5b7a323840` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 85 const char *omega2_ident_bw_hazard(void); 86 /* export fn hz_chk c view uchar 32768 lc ulong m edit ulong `3203584` to long */ 87 uint32_t omega2_hz_chk(uint64_t *result, const uint8_t *o_c, uint64_t o_c_len, uint64_t o_lc, uint64_t *o_m, uint64_t o_m_len); 88 #define OMEGA2_IDENT_sha256_om2 "omega-ident 1 unit=sha256_om2 abi=2 profile=OM-2 src=`dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 89 const char *omega2_ident_sha256_om2(void); 90 /* export fn sha256_init c edit shactx to void */ 91 uint32_t omega2_sha256_init(uint64_t *result, uint8_t *o_c); 92 /* export fn sha256_update c edit shactx d view uchar * to void */ 93 uint32_t omega2_sha256_update(uint64_t *result, uint8_t *o_c, const uint8_t *o_d, uint64_t o_d_len); 94 /* export fn sha256_final c edit shactx o out uchar 32 to void */ 95 uint32_t omega2_sha256_final(uint64_t *result, uint8_t *o_c, uint8_t *o_o); 96 /* export fn sha256_hash d view uchar * o out uchar 32 to void */ 97 uint32_t omega2_sha256_hash(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len, uint8_t *o_o); 98 /* fn omb3 st edit ulong 448 b view uchar 1024 n ulong fin ulong o edit uchar 32 to void */ 99 uint32_t omega_omb3(uint64_t *result, void *o_st, uint64_t o_st_len, const void *o_b, uint64_t o_b_len, uint64_t o_n, uint64_t o_fin, void *o_o, uint64_t o_o_len); 100 /* fn bw_enc_sm121 ins view ulong 8192 phys view ulong 288 n ulong pad ulong code edit uchar 16384 to ulong */ 101 uint32_t omega_bw_enc_sm121(uint64_t *result, const void *o_ins, uint64_t o_ins_len, const void *o_phys, uint64_t o_phys_len, uint64_t o_n, uint64_t o_pad, void *o_code, uint64_t o_code_len); 102 #define OMEGA2_IDENT_aarch64_om2 "omega-ident 1 unit=aarch64_om2 abi=2 profile=OM-2 src=`c94a4634151def2611f42c50108f536724929ae7b27f163e459d385601164d92` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 103 const char *omega2_ident_aarch64_om2(void); 104 /* export fn a64addreg sf ulong rd ulong rn ulong rm ulong to long */ 105 uint32_t omega2_a64addreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 106 /* export fn a64subreg sf ulong rd ulong rn ulong rm ulong to long */ 107 uint32_t omega2_a64subreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 108 /* export fn a64mulreg sf ulong rd ulong rn ulong rm ulong to long */ 109 uint32_t omega2_a64mulreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 110 /* export fn a64andreg sf ulong rd ulong rn ulong rm ulong to long */ 111 uint32_t omega2_a64andreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 112 /* export fn a64orrreg sf ulong rd ulong rn ulong rm ulong to long */ 113 uint32_t omega2_a64orrreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 114 /* export fn a64eorreg sf ulong rd ulong rn ulong rm ulong to long */ 115 uint32_t omega2_a64eorreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 116 /* export fn a64movreg sf ulong rd ulong rm ulong to long */ 117 uint32_t omega2_a64movreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rm); 118 /* export fn a64movz sf ulong rd ulong imm ulong sh ulong to long */ 119 uint32_t omega2_a64movz(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_imm, uint64_t o_sh); 120 /* export fn a64movk sf ulong rd ulong imm ulong sh ulong to long */ 121 uint32_t omega2_a64movk(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_imm, uint64_t o_sh); 122 /* export fn a64ret to long */ 123 uint32_t omega2_a64ret(uint64_t *result); 124 /* export fn a64b imm long to long */ 125 uint32_t omega2_a64b(uint64_t *result, uint64_t o_imm); 126 /* export fn a64bcond cond long imm long to long */ 127 uint32_t omega2_a64bcond(uint64_t *result, uint64_t o_cond, uint64_t o_imm); 128 /* export fn a64cbz sf ulong rt ulong imm long to long */ 129 uint32_t omega2_a64cbz(uint64_t *result, uint64_t o_sf, uint64_t o_rt, uint64_t o_imm); 130 /* export fn a64cbnz sf ulong rt ulong imm long to long */ 131 uint32_t omega2_a64cbnz(uint64_t *result, uint64_t o_sf, uint64_t o_rt, uint64_t o_imm); 132 /* export fn a64adr rd ulong imm long to long */ 133 uint32_t omega2_a64adr(uint64_t *result, uint64_t o_rd, uint64_t o_imm); 134 /* export fn a64ldruoff sf ulong rt ulong rn ulong uo ulong to long */ 135 uint32_t omega2_a64ldruoff(uint64_t *result, uint64_t o_sf, uint64_t o_rt, uint64_t o_rn, uint64_t o_uo); 136 /* export fn a64struoff sf ulong rt ulong rn ulong uo ulong to long */ 137 uint32_t omega2_a64struoff(uint64_t *result, uint64_t o_sf, uint64_t o_rt, uint64_t o_rn, uint64_t o_uo); 138 /* export fn a64ldrbuoff rt ulong rn ulong uo ulong to long */ 139 uint32_t omega2_a64ldrbuoff(uint64_t *result, uint64_t o_rt, uint64_t o_rn, uint64_t o_uo); 140 /* export fn a64strbuoff rt ulong rn ulong uo ulong to long */ 141 uint32_t omega2_a64strbuoff(uint64_t *result, uint64_t o_rt, uint64_t o_rn, uint64_t o_uo); 142 /* export fn a64ldrpost rt ulong rn ulong imm long to long */ 143 uint32_t omega2_a64ldrpost(uint64_t *result, uint64_t o_rt, uint64_t o_rn, uint64_t o_imm); 144 /* export fn a64strpost rt ulong rn ulong imm long to long */ 145 uint32_t omega2_a64strpost(uint64_t *result, uint64_t o_rt, uint64_t o_rn, uint64_t o_imm); 146 /* export fn a64ldrxpost rt ulong rn ulong imm long to long */ 147 uint32_t omega2_a64ldrxpost(uint64_t *result, uint64_t o_rt, uint64_t o_rn, uint64_t o_imm); 148 /* export fn a64strxpost rt ulong rn ulong imm long to long */ 149 uint32_t omega2_a64strxpost(uint64_t *result, uint64_t o_rt, uint64_t o_rn, uint64_t o_imm); 150 /* export fn a64subsimm sf ulong rd ulong rn ulong imm ulong to long */ 151 uint32_t omega2_a64subsimm(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_imm); 152 /* export fn a64subsreg sf ulong rd ulong rn ulong rm ulong to long */ 153 uint32_t omega2_a64subsreg(uint64_t *result, uint64_t o_sf, uint64_t o_rd, uint64_t o_rn, uint64_t o_rm); 154 /* export fn a64put b edit uchar * st edit ulong 2 w long to long */ 155 uint32_t omega2_a64put(uint64_t *result, uint8_t *o_b, uint64_t o_b_len, uint64_t *o_st, uint64_t o_st_len, uint64_t o_w); 156 /* export fn a64decode insn ulong dst edit ulong 9 to long */ 157 uint32_t omega2_a64decode(uint64_t *result, uint64_t o_insn, uint64_t *o_dst, uint64_t o_dst_len); 158 /* export fn a64validate code view uchar * n ulong msg edit uchar * ml ulong to long */ 159 uint32_t omega2_a64validate(uint64_t *result, const uint8_t *o_code, uint64_t o_code_len, uint64_t o_n, uint8_t *o_msg, uint64_t o_msg_len, uint64_t o_ml); 160 #define OMEGA2_IDENT_canonical_om2 "omega-ident 1 unit=canonical_om2 abi=2 profile=OM-2 src=`cfabbf8e89d9ddf50f008dd6c0822f2ed75b0e1bff4e7b2afa3290d1f7dea402` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 161 const char *omega2_ident_canonical_om2(void); 162 /* export fn om_canon_obj_ver kind ulong to ulong */ 163 uint32_t omega2_om_canon_obj_ver(uint64_t *result, uint64_t o_kind); 164 /* export fn om_canon_chk_hdr ver ulong kind ulong to long */ 165 uint32_t omega2_om_canon_chk_hdr(uint64_t *result, uint64_t o_ver, uint64_t o_kind); 166 /* export fn om_canon_cmp_id a view uchar 32 b view uchar 32 to long */ 167 uint32_t omega2_om_canon_cmp_id(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 168 /* export fn om_canon_hex_id id view uchar 32 dst edit uchar 65 to void */ 169 uint32_t omega2_om_canon_hex_id(uint64_t *result, const uint8_t *o_id, uint64_t o_id_len, uint8_t *o_dst, uint64_t o_dst_len); 170 /* export fn om_canon_parse_hex hx view uchar * n ulong dst edit uchar 32 to long */ 171 uint32_t omega2_om_canon_parse_hex(uint64_t *result, const uint8_t *o_hx, uint64_t o_hx_len, uint64_t o_n, uint8_t *o_dst, uint64_t o_dst_len); 172 /* export fn om_canon_write_hdr kind ulong dst edit uchar * mlen ulong to long */ 173 uint32_t omega2_om_canon_write_hdr(uint64_t *result, uint64_t o_kind, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_mlen); 174 /* export fn om_canon_write_u16be v ulong dst edit uchar * pos ulong mlen ulong to long */ 175 uint32_t omega2_om_canon_write_u16be(uint64_t *result, uint64_t o_v, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_mlen); 176 /* export fn om_canon_write_u32be v ulong dst edit uchar * pos ulong mlen ulong to long */ 177 uint32_t omega2_om_canon_write_u32be(uint64_t *result, uint64_t o_v, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_mlen); 178 /* export fn om_canon_sort_attr keys view uchar 2048 n ulong order edit ushort 32 to long */ 179 uint32_t omega2_om_canon_sort_attr(uint64_t *result, const uint8_t *o_keys, uint64_t o_keys_len, uint64_t o_n, uint16_t *o_order, uint64_t o_order_len); 180 /* export fn om_canon_sort_rel kinds view ushort 64 targets view uchar 2048 n ulong order edit ushort 64 to long */ 181 uint32_t omega2_om_canon_sort_rel(uint64_t *result, const uint16_t *o_kinds, uint64_t o_kinds_len, const uint8_t *o_targets, uint64_t o_targets_len, uint64_t o_n, uint16_t *o_order, uint64_t o_order_len); 182 /* export fn om_canon_sort_const meta view ushort 64 payloads view uchar 4096 n ulong order edit ushort 32 to long */ 183 uint32_t omega2_om_canon_sort_const(uint64_t *result, const uint16_t *o_meta, uint64_t o_meta_len, const uint8_t *o_payloads, uint64_t o_payloads_len, uint64_t o_n, uint16_t *o_order, uint64_t o_order_len); 184 #define OMEGA2_IDENT_validate_om2 "omega-ident 1 unit=validate_om2 abi=2 profile=OM-2 src=`fa7a1f19239c5edf7f27d4d740b755799871a2e2c4ae4cdd05d64c8fd3a09119` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 185 const char *omega2_ident_validate_om2(void); 186 /* export fn om_val_kind kind ulong to long */ 187 uint32_t omega2_om_val_kind(uint64_t *result, uint64_t o_kind); 188 /* export fn om_val_rel_kind kind ulong to long */ 189 uint32_t omega2_om_val_rel_kind(uint64_t *result, uint64_t o_kind); 190 /* export fn om_val_const_kind kind ulong to long */ 191 uint32_t omega2_om_val_const_kind(uint64_t *result, uint64_t o_kind); 192 /* export fn om_val_type_fields tag ulong width ulong slen ulong to long */ 193 uint32_t omega2_om_val_type_fields(uint64_t *result, uint64_t o_tag, uint64_t o_width, uint64_t o_slen); 194 /* export fn om_val_val_bytes tag ulong width ulong blen ulong to long */ 195 uint32_t omega2_om_val_val_bytes(uint64_t *result, uint64_t o_tag, uint64_t o_width, uint64_t o_blen); 196 /* export fn om_val_op_fields opcode ulong overflow ulong to long */ 197 uint32_t omega2_om_val_op_fields(uint64_t *result, uint64_t o_opcode, uint64_t o_overflow); 198 /* export fn om_val_graph_count cnt ulong mcnt ulong to long */ 199 uint32_t omega2_om_val_graph_count(uint64_t *result, uint64_t o_cnt, uint64_t o_mcnt); 200 /* export fn om_val_find_cycle edges view ushort 32768 deg view ushort 256 n ulong info edit ulong 2 to long */ 201 uint32_t omega2_om_val_find_cycle(uint64_t *result, const uint16_t *o_edges, uint64_t o_edges_len, const uint16_t *o_deg, uint64_t o_deg_len, uint64_t o_n, uint64_t *o_info, uint64_t o_info_len); 202 #define OMEGA2_IDENT_codec_om2 "omega-ident 1 unit=codec_om2 abi=2 profile=OM-2 src=`409745ca34763732ff0a02d1cd68568169ea0944916e9b1334c58638e51c97a4` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 203 const char *omega2_ident_codec_om2(void); 204 /* export fn om_codec_hdr_enc cnt ulong dst edit uchar * mlen ulong to long */ 205 uint32_t omega2_om_codec_hdr_enc(uint64_t *result, uint64_t o_cnt, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_mlen); 206 /* export fn om_codec_hdr_dec buf view uchar * n ulong mobj ulong to long */ 207 uint32_t omega2_om_codec_hdr_dec(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len, uint64_t o_n, uint64_t o_mobj); 208 /* export fn om_codec_u16_rd buf view uchar * pos ulong to ulong */ 209 uint32_t omega2_om_codec_u16_rd(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len, uint64_t o_pos); 210 /* export fn om_codec_u32_rd buf view uchar * pos ulong to ulong */ 211 uint32_t omega2_om_codec_u32_rd(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len, uint64_t o_pos); 212 /* export fn om_codec_obj_hdr_chk buf view uchar * pos ulong clen ulong to long */ 213 uint32_t omega2_om_codec_obj_hdr_chk(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len, uint64_t o_pos, uint64_t o_clen); 214 #define OMEGA2_IDENT_verify_om2 "omega-ident 1 unit=verify_om2 abi=2 profile=OM-2 src=`23890c591400ea67af8de01d9f9cf2abbbca9993dba7dac5b2e9e621f23e9bb7` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 215 const char *omega2_ident_verify_om2(void); 216 /* export fn om_ver_v0_real prof ulong clen ulong mcode ulong hasid ulong to long */ 217 uint32_t omega2_om_ver_v0_real(uint64_t *result, uint64_t o_prof, uint64_t o_clen, uint64_t o_mcode, uint64_t o_hasid); 218 /* export fn om_ver_v1_ref a ulong b ulong c ulong to ulong */ 219 uint32_t omega2_om_ver_v1_ref(uint64_t *result, uint64_t o_a, uint64_t o_b, uint64_t o_c); 220 /* export fn om_ver_v1_defvec idx ulong dst edit ulong 3 to long */ 221 uint32_t omega2_om_ver_v1_defvec(uint64_t *result, uint64_t o_idx, uint64_t *o_dst, uint64_t o_dst_len); 222 /* export fn om_ver_v2_eval op ulong width ulong a ulong b ulong to ulong */ 223 uint32_t omega2_om_ver_v2_eval(uint64_t *result, uint64_t o_op, uint64_t o_width, uint64_t o_a, uint64_t o_b); 224 /* export fn om_ver_v2_props info edit ulong 4 to long */ 225 uint32_t omega2_om_ver_v2_props(uint64_t *result, uint64_t *o_info, uint64_t o_info_len); 226 #define OMEGA2_IDENT_bw_qmd "omega-ident 1 unit=bw_qmd abi=2 profile=OM-2 src=`93f12b4c551939191ac5666f0b2d03b90bb05086425367e548c0840dbb9ea377` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 227 const char *omega2_ident_bw_qmd(void); 228 /* export fn bw_qmd0 q edit uint 96 qmd1_va ulong to ulong */ 229 uint32_t omega2_bw_qmd0(uint64_t *result, uint32_t *o_q, uint64_t o_q_len, uint64_t o_qmd1_va); 230 /* export fn bw_qmd1 m view ulong 16 q edit uint 96 to ulong */ 231 uint32_t omega2_bw_qmd1(uint64_t *result, const uint64_t *o_m, uint64_t o_m_len, uint32_t *o_q, uint64_t o_q_len); 232 /* export fn bw_qmd_verify q view uint 96 to ulong */ 233 uint32_t omega2_bw_qmd_verify(uint64_t *result, const uint32_t *o_q, uint64_t o_q_len); 234 /* export fn bw_attn256_args s view ulong 16 args edit uint 25 to ulong */ 235 uint32_t omega2_bw_attn256_args(uint64_t *result, const uint64_t *o_s, uint64_t o_s_len, uint32_t *o_args, uint64_t o_args_len); 236 /* export fn bw_attn256_record s view ulong 16 slot view ulong 8 driver view uint 224 bank edit uint 249 q1 edit uint 96 q0 edit uint 96 to ulong */ 237 uint32_t omega2_bw_attn256_record(uint64_t *result, const uint64_t *o_s, uint64_t o_s_len, const uint64_t *o_slot, uint64_t o_slot_len, const uint32_t *o_driver, uint64_t o_driver_len, uint32_t *o_bank, uint64_t o_bank_len, uint32_t *o_q1, uint64_t o_q1_len, uint32_t *o_q0, uint64_t o_q0_len); 238 #define OMEGA2_IDENT_bw_sched "omega-ident 1 unit=bw_sched abi=2 profile=OM-2 src=`3a0f8dc29a2e6d45a59a0e23c49c7ddc155a6b5b1e2909403c9c4b474214f01a` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 239 const char *omega2_ident_bw_sched(void); 240 /* export fn bw_sched_stalls ins edit ulong 8192 phys view ulong 256 bsz view ulong 256 n ulong to ulong */ 241 uint32_t omega2_bw_sched_stalls(uint64_t *result, uint64_t *o_ins, uint64_t o_ins_len, const uint64_t *o_phys, uint64_t o_phys_len, const uint64_t *o_bsz, uint64_t o_bsz_len, uint64_t o_n); 242 #define OMEGA2_IDENT_bw_regalloc "omega-ident 1 unit=bw_regalloc abi=2 profile=OM-2 src=`e33086f6624117df4531fb6402091b8c4907cd81729c90efe22315d03852e130` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 243 const char *omega2_ident_bw_regalloc(void); 244 /* export fn bw_regalloc_solve cfg view ulong 4 vinfo view long 768 uinfo view ulong 32 res edit long 290 to ulong */ 245 uint32_t omega2_bw_regalloc_solve(uint64_t *result, const uint64_t *o_cfg, uint64_t o_cfg_len, const int64_t *o_vinfo, uint64_t o_vinfo_len, const uint64_t *o_uinfo, uint64_t o_uinfo_len, int64_t *o_res, uint64_t o_res_len); 246 #define OMEGA2_IDENT_bw_vecadd "omega-ident 1 unit=bw_vecadd abi=2 profile=OM-2 src=`bfa8b76d976c83a4b19bd9f5eb91ee6ef69ed5e5bb1893ea1858cb57af1c58a7` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 247 const char *omega2_ident_bw_vecadd(void); 248 /* export fn bw_encode_vecadd buf edit uchar 512 to ulong */ 249 uint32_t omega2_bw_encode_vecadd(uint64_t *result, uint8_t *o_buf, uint64_t o_buf_len); 250 /* export fn bw_cmdlist_nop ins edit ulong 8192 meta edit ulong 512 to ulong */ 251 uint32_t omega2_bw_cmdlist_nop(uint64_t *result, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 252 #define OMEGA2_IDENT_cg_matmul "omega-ident 1 unit=cg_matmul abi=2 profile=OM-2 src=`452aed7464832d329723d3c620b61df6cf37ef84e6294963b79f02d9b247062b` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 253 const char *omega2_ident_cg_matmul(void); 254 /* export fn cg_matmul_tensor sp view ulong 12 ins edit ulong 8192 meta edit ulong 512 to ulong */ 255 uint32_t omega2_cg_matmul_tensor(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 256 /* export fn cg_matmul_tensor_loop sp view ulong 12 ins edit ulong 8192 meta edit ulong 512 to ulong */ 257 uint32_t omega2_cg_matmul_tensor_loop(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 258 /* export fn cg_matmul_frag sp view ulong 12 ins edit ulong 8192 meta edit ulong 512 to ulong */ 259 uint32_t omega2_cg_matmul_frag(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 260 /* export fn cg_matmul_frag_block sp view ulong 12 ins edit ulong 8192 meta edit ulong 512 to ulong */ 261 uint32_t omega2_cg_matmul_frag_block(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 262 /* export fn cg_matmul_frag_shape mt ulong nt ulong kp ulong res edit ulong 4 to ulong */ 263 uint32_t omega2_cg_matmul_frag_shape(uint64_t *result, uint64_t o_mt, uint64_t o_nt, uint64_t o_kp, uint64_t *o_res, uint64_t o_res_len); 264 /* export fn cg_matmul_i32 sp view ulong 12 ins edit ulong 8192 meta edit ulong 512 to ulong */ 265 uint32_t omega2_cg_matmul_i32(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 266 #define OMEGA2_IDENT_cg_gpu_gemm "omega-ident 1 unit=cg_gpu_gemm abi=2 profile=OM-2 src=`6c14d88ea1618f6695af0da19cef03734db36fc991c9e6fbe11d46860c77f170` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 267 const char *omega2_ident_cg_gpu_gemm(void); 268 /* export fn cg_gpu_gemm_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 269 uint32_t omega2_cg_gpu_gemm_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 270 /* export fn cg_gpu_gemm_plan sp view ulong 10 res edit ulong 18 to ulong */ 271 uint32_t omega2_cg_gpu_gemm_plan(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_res, uint64_t o_res_len); 272 #define OMEGA2_IDENT_cg_gpu_attn "omega-ident 1 unit=cg_gpu_attn abi=2 profile=OM-2 src=`076e736c118de55183d6255f1d8417d5e298253ae2358d99e3fc829558632f3e` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 273 const char *omega2_ident_cg_gpu_attn(void); 274 /* export fn cg_gpu_attn_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 275 uint32_t omega2_cg_gpu_attn_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 276 #define OMEGA2_IDENT_q38_plan "omega-ident 1 unit=q38_plan abi=2 profile=OM-2 src=`61599f615a453835d031b2cf099b9f0372109bc7f77b90c9c4148ebeac9c4687` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 277 const char *omega2_ident_q38_plan(void); 278 /* export fn q38_plan_layer cfg view ulong 8 dst edit uint 384 to ulong */ 279 uint32_t omega2_q38_plan_layer(uint64_t *result, const uint64_t *o_cfg, uint64_t o_cfg_len, uint32_t *o_dst, uint64_t o_dst_len); 280 /* export fn q38_bf16_xbatch_max hd ulong max_smem ulong to ulong */ 281 uint32_t omega2_q38_bf16_xbatch_max(uint64_t *result, uint64_t o_hd, uint64_t o_max_smem); 282 /* export fn q38_plan_final cfg view ulong 8 dst edit uint 384 to ulong */ 283 uint32_t omega2_q38_plan_final(uint64_t *result, const uint64_t *o_cfg, uint64_t o_cfg_len, uint32_t *o_dst, uint64_t o_dst_len); 284 /* export fn q38_attn256_cache_policy env_mode ulong to ulong */ 285 uint32_t omega2_q38_attn256_cache_policy(uint64_t *result, uint64_t o_env_mode); 286 #define OMEGA2_IDENT_moe_plan "omega-ident 1 unit=moe_plan abi=2 profile=OM-2 src=`4c857b5a73d8ad1b273a7cbd63eba499f3518076a8fbdca0a925a1d03fbb654b` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 287 const char *omega2_ident_moe_plan(void); 288 /* export fn moe_queue_init q edit uint 512 cap ulong to ulong */ 289 uint32_t omega2_moe_queue_init(uint64_t *result, uint32_t *o_q, uint64_t o_q_len, uint64_t o_cap); 290 /* export fn moe_queue_enqueue q edit uint 512 req_id ulong tokens ulong layer ulong flags ulong to ulong */ 291 uint32_t omega2_moe_queue_enqueue(uint64_t *result, uint32_t *o_q, uint64_t o_q_len, uint64_t o_req_id, uint64_t o_tokens, uint64_t o_layer, uint64_t o_flags); 292 /* export fn moe_queue_claim_batch q edit uint 512 max_tokens ulong out_slots edit uint 64 to ulong */ 293 uint32_t omega2_moe_queue_claim_batch(uint64_t *result, uint32_t *o_q, uint64_t o_q_len, uint64_t o_max_tokens, uint32_t *o_out_slots, uint64_t o_out_slots_len); 294 /* export fn moe_queue_complete_batch q edit uint 512 n ulong slots view uint 64 status ulong to ulong */ 295 uint32_t omega2_moe_queue_complete_batch(uint64_t *result, uint32_t *o_q, uint64_t o_q_len, uint64_t o_n, const uint32_t *o_slots, uint64_t o_slots_len, uint64_t o_status); 296 /* export fn moe_plan_layer cfg view ulong 8 dst edit uint 128 to ulong */ 297 uint32_t omega2_moe_plan_layer(uint64_t *result, const uint64_t *o_cfg, uint64_t o_cfg_len, uint32_t *o_dst, uint64_t o_dst_len); 298 /* export fn moe_plan_traffic cfg view ulong 8 distinct_experts ulong out_bytes edit ulong 8 to ulong */ 299 uint32_t omega2_moe_plan_traffic(uint64_t *result, const uint64_t *o_cfg, uint64_t o_cfg_len, uint64_t o_distinct_experts, uint64_t *o_out_bytes, uint64_t o_out_bytes_len); 300 #define OMEGA2_IDENT_cg_pf "omega-ident 1 unit=cg_pf abi=2 profile=OM-2 src=`4901d09934fbdcdad520ffdb8719fe027b85655e1a90ab3361339d0844e2f60b` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 301 const char *omega2_ident_cg_pf(void); 302 /* export fn cg_pf_copy ins edit ulong 8192 meta edit ulong 512 to ulong */ 303 uint32_t omega2_cg_pf_copy(uint64_t *result, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 304 #define OMEGA2_IDENT_cg_bf16 "omega-ident 1 unit=cg_bf16 abi=2 profile=OM-2 src=`1eeac0cb320570be06abcf122e16c1d982e36cecefe48882fe1cb0fddade28ac` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 305 const char *omega2_ident_cg_bf16(void); 306 /* export fn cg_bf16_ok_i sp view ulong 8 to ulong */ 307 uint32_t omega2_cg_bf16_ok_i(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 308 /* export fn cg_bf16_ok sp view ulong 8 to ulong */ 309 uint32_t omega2_cg_bf16_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 310 /* export fn cg_bf16_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 311 uint32_t omega2_cg_bf16_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 312 #define OMEGA2_IDENT_cg_gemm "omega-ident 1 unit=cg_gemm abi=2 profile=OM-2 src=`a2ed344db23374235ab4ee4cafc50eeac9cbc17745f09947e9f35bcbb4e3236b` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 313 const char *omega2_ident_cg_gemm(void); 314 /* export fn cg_gemm_ok sp view ulong 8 to ulong */ 315 uint32_t omega2_cg_gemm_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 316 /* export fn cg_gemm_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 317 uint32_t omega2_cg_gemm_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 318 #define OMEGA2_IDENT_cg_moe2 "omega-ident 1 unit=cg_moe2 abi=2 profile=OM-2 src=`fdce4d97ee1236b0724909557de498b8cb0649d327d561fbadc98e20f3f87dd9` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 319 const char *omega2_ident_cg_moe2(void); 320 /* export fn cg_moe2_ok sp view ulong 8 to ulong */ 321 uint32_t omega2_cg_moe2_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 322 /* export fn cg_moe2_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 323 uint32_t omega2_cg_moe2_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 324 #define OMEGA2_IDENT_cg_moe "omega-ident 1 unit=cg_moe abi=2 profile=OM-2 src=`dcf592bf60aca2d6e44a7a694615d5b0f2e15876fdc430a041aa419369b32498` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 325 const char *omega2_ident_cg_moe(void); 326 /* export fn cg_moe_ok sp view ulong 8 to ulong */ 327 uint32_t omega2_cg_moe_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 328 /* export fn cg_moe_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 329 uint32_t omega2_cg_moe_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 330 #define OMEGA2_IDENT_cg_qmma "omega-ident 1 unit=cg_qmma abi=2 profile=OM-2 src=`6eb722995d1719a48a119f2bd7e8e3f1055c79cc66bbac86c07c9668ea5b1f39` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 331 const char *omega2_ident_cg_qmma(void); 332 /* export fn cg_qmma_probe sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 333 uint32_t omega2_cg_qmma_probe(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 334 /* export fn cg_qmma_peak sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 335 uint32_t omega2_cg_qmma_peak(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 336 /* export fn cg_f2e4_probe ins edit ulong 8192 meta edit ulong 512 to ulong */ 337 uint32_t omega2_cg_f2e4_probe(uint64_t *result, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 338 #define OMEGA2_IDENT_cg_pfhost "omega-ident 1 unit=cg_pfhost abi=2 profile=OM-2 src=`9764ba7829d50a06b0fda28528da12ce871f03144e8dcda4e9aa15351a6c39f4` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 339 const char *omega2_ident_cg_pfhost(void); 340 /* export fn cg_rl_ok sp view ulong 8 to ulong */ 341 uint32_t omega2_cg_rl_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 342 /* export fn cg_rl_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 343 uint32_t omega2_cg_rl_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 344 /* export fn cg_mc_ok sp view ulong 8 to ulong */ 345 uint32_t omega2_cg_mc_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 346 /* export fn cg_mc_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 347 uint32_t omega2_cg_mc_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 348 #define OMEGA2_IDENT_cg_tgemm "omega-ident 1 unit=cg_tgemm abi=2 profile=OM-2 src=`5c6d416524477e8386157ab8dd677be8436c087a8d762e2cf289459a7d22367e` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 349 const char *omega2_ident_cg_tgemm(void); 350 /* export fn cg_tgemm_spec_ok sp view ulong 10 to ulong */ 351 uint32_t omega2_cg_tgemm_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 352 /* export fn cg_tgemm_emit sp view ulong 10 ins edit ulong 8192 meta edit ulong 512 to ulong */ 353 uint32_t omega2_cg_tgemm_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 354 #define OMEGA2_IDENT_cg_tc2 "omega-ident 1 unit=cg_tc2 abi=2 profile=OM-2 src=`ead379fadf777fc2d4728fd0adc704c007a428d240fba90a97d73aacff24dfb9` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 355 const char *omega2_ident_cg_tc2(void); 356 /* export fn cg_tc2_spec_ok sp view ulong 10 to ulong */ 357 uint32_t omega2_cg_tc2_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 358 /* export fn cg_tc2_emit sp view ulong 10 ins edit ulong 8192 meta edit ulong 512 to ulong */ 359 uint32_t omega2_cg_tc2_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 360 #define OMEGA2_IDENT_cg_qg "omega-ident 1 unit=cg_qg abi=2 profile=OM-2 src=`c02da3cd9afdde669683747bf1cc63638aca2267bc3ba410bf3c46e8d37e821e` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 361 const char *omega2_ident_cg_qg(void); 362 /* export fn cg_pq_spec_ok sp view ulong 8 to ulong */ 363 uint32_t omega2_cg_pq_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 364 /* export fn cg_pq_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 365 uint32_t omega2_cg_pq_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 366 /* export fn cg_qg_spec_ok sp view ulong 10 to ulong */ 367 uint32_t omega2_cg_qg_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 368 /* export fn cg_qgemm_emit sp view ulong 10 ins edit ulong 8192 meta edit ulong 512 to ulong */ 369 uint32_t omega2_cg_qgemm_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 370 #define OMEGA2_IDENT_cg_tc "omega-ident 1 unit=cg_tc abi=2 profile=OM-2 src=`f7d3d8db545e1cf02888ccf5064de6ae3ca854692b0b5b2bb9aced478cf3e420` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 371 const char *omega2_ident_cg_tc(void); 372 /* export fn cg_tc_probe_emit sp view ulong 4 ins edit ulong 8192 meta edit ulong 512 to ulong */ 373 uint32_t omega2_cg_tc_probe_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 374 /* export fn cg_tcgemm_spec_ok sp view ulong 8 to ulong */ 375 uint32_t omega2_cg_tcgemm_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 376 /* export fn cg_tcgemm_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 377 uint32_t omega2_cg_tcgemm_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 378 /* export fn cg_tc_peak_emit sp view ulong 4 ins edit ulong 8192 meta edit ulong 512 to ulong */ 379 uint32_t omega2_cg_tc_peak_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 380 /* export fn cg_tc_bw_emit sp view ulong 4 ins edit ulong 8192 meta edit ulong 512 to ulong */ 381 uint32_t omega2_cg_tc_bw_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 382 #define OMEGA2_IDENT_cg_pattn256 "omega-ident 1 unit=cg_pattn256 abi=2 profile=OM-2 src=`26a9dbc721c0f234ccbbac2f342a407ba59cbd166fda2d0e0d9c5ed730c0a1c9` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 383 const char *omega2_ident_cg_pattn256(void); 384 /* export fn cg_pattn256_spec_ok sp view ulong 4 to ulong */ 385 uint32_t omega2_cg_pattn256_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 386 /* export fn cg_pattn256_emit sp view ulong 4 ins edit ulong 8192 meta edit ulong 512 to ulong */ 387 uint32_t omega2_cg_pattn256_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 388 #define OMEGA2_IDENT_cg_router "omega-ident 1 unit=cg_router abi=2 profile=OM-2 src=`eff9e2831c786108e8bafe42974fda90c003aed93dea256de36e94666299a467` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 389 const char *omega2_ident_cg_router(void); 390 /* export fn cg_router_spec_ok sp view ulong 8 to ulong */ 391 uint32_t omega2_cg_router_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 392 /* export fn cg_router_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 393 uint32_t omega2_cg_router_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 394 #define OMEGA2_IDENT_cg_pattn "omega-ident 1 unit=cg_pattn abi=2 profile=OM-2 src=`0d6d050c7b97e96cb6de328ef4be70daca7020ba037a95bc6f77dbdf97622a25` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 395 const char *omega2_ident_cg_pattn(void); 396 /* export fn cg_pattn_spec_ok sp view ulong 4 to ulong */ 397 uint32_t omega2_cg_pattn_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 398 /* export fn cg_pattn_emit sp view ulong 4 ins edit ulong 8192 meta edit ulong 512 to ulong */ 399 uint32_t omega2_cg_pattn_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 400 #define OMEGA2_IDENT_cg_attn "omega-ident 1 unit=cg_attn abi=2 profile=OM-2 src=`5f1bb35455b3e44296dacf6db5d58786fe060ecb597e39d8e74ac5d1d17d2a62` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 401 const char *omega2_ident_cg_attn(void); 402 /* export fn cg_attn_spec_ok sp view ulong 4 to ulong */ 403 uint32_t omega2_cg_attn_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 404 /* export fn cg_attn_emit sp view ulong 4 ins edit ulong 8192 meta edit ulong 512 to ulong */ 405 uint32_t omega2_cg_attn_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 406 #define OMEGA2_IDENT_cg_tern "omega-ident 1 unit=cg_tern abi=2 profile=OM-2 src=`9bb7d4ff42155fa52accca0459e66166a5bdf25a2734fbce202ec77efe89e4f3` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 407 const char *omega2_ident_cg_tern(void); 408 /* export fn cg_tern_spec_ok sp view ulong 8 to ulong */ 409 uint32_t omega2_cg_tern_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 410 /* export fn cg_tern_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 411 uint32_t omega2_cg_tern_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 412 /* export fn cg_tern_sched_stalls ins edit ulong 8192 n ulong v2p view ulong 256 bsz view ulong 256 to ulong */ 413 uint32_t omega2_cg_tern_sched_stalls(uint64_t *result, uint64_t *o_ins, uint64_t o_ins_len, uint64_t o_n, const uint64_t *o_v2p, uint64_t o_v2p_len, const uint64_t *o_bsz, uint64_t o_bsz_len); 414 #define OMEGA2_IDENT_cg_attn256 "omega-ident 1 unit=cg_attn256 abi=2 profile=OM-2 src=`374306672c4e286ea74708374405a22130146186eb104315be9a141892e395be` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 415 const char *omega2_ident_cg_attn256(void); 416 /* export fn cg_attn256_spec_ok sp view ulong 8 to ulong */ 417 uint32_t omega2_cg_attn256_spec_ok(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len); 418 /* export fn cg_attn256_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 419 uint32_t omega2_cg_attn256_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 420 #define OMEGA2_IDENT_cg_dec "omega-ident 1 unit=cg_dec abi=2 profile=OM-2 src=`83a578178c23abd29ab714149014e31f08d9f38d2128b39c58c0f7b603cb5011` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 421 const char *omega2_ident_cg_dec(void); 422 /* fn cg_dec_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 423 uint32_t omega2_cg_dec_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 424 #define OMEGA2_IDENT_cg_gdn "omega-ident 1 unit=cg_gdn abi=2 profile=OM-2 src=`fd403aeed75423fe3549f98a25d364b5ee07b035cea30512245358ea023674c7` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 425 const char *omega2_ident_cg_gdn(void); 426 /* fn cg_gdn_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 427 uint32_t omega2_cg_gdn_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 428 #define OMEGA2_IDENT_rx_regulate "omega-ident 1 unit=rx_regulate abi=2 profile=OM-2 src=`b274ce15ba5c41bf97ee3a80879c9fc4c342b025c996148eecaca2dc104bd263` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 429 const char *omega2_ident_rx_regulate(void); 430 /* export fn rx_reg_envelope_ok env view ulong 16 to long */ 431 uint32_t omega2_rx_reg_envelope_ok(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len); 432 /* export fn rx_reg_decide env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong */ 433 uint32_t omega2_rx_reg_decide(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, uint64_t o_regime, uint64_t o_dwell, uint64_t o_contention, uint64_t o_pressure); 434 /* export fn rx_reg_policy_for env view ulong 16 regime ulong dst edit ulong 4 to void */ 435 uint32_t omega2_rx_reg_policy_for(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, uint64_t o_regime, uint64_t *o_dst, uint64_t o_dst_len); 436 /* export fn rx_reg_apply_check env view ulong 16 pol view ulong 8 to long */ 437 uint32_t omega2_rx_reg_apply_check(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, const uint64_t *o_pol, uint64_t o_pol_len); 438 /* export fn rx_reg_step env view ulong 16 cond view ulong 8 pol view ulong 8 dst edit ulong 8 to ulong */ 439 uint32_t omega2_rx_reg_step(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, const uint64_t *o_cond, uint64_t o_cond_len, const uint64_t *o_pol, uint64_t o_pol_len, uint64_t *o_dst, uint64_t o_dst_len); 440 #define OMEGA2_IDENT_rx_mid "omega-ident 1 unit=rx_mid abi=2 profile=OM-2 src=`4959ddf61f6015f6f5bce857b12a16f50d94b8278ccde25c8e931ce3b5c98887` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 441 const char *omega2_ident_rx_mid(void); 442 /* export fn rx_mid_is_zero buf view uchar 32 to ulong */ 443 uint32_t omega2_rx_mid_is_zero(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len); 444 /* export fn rx_mid_equal a view uchar 32 b view uchar 32 to ulong */ 445 uint32_t omega2_rx_mid_equal(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 446 /* export fn rx_mid_compare a view uchar 32 b view uchar 32 to long */ 447 uint32_t omega2_rx_mid_compare(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 448 /* export fn rx_mid_hash buf view uchar 32 to ulong */ 449 uint32_t omega2_rx_mid_hash(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len); 450 /* export fn rx_mid_pack_hdr root ulong id view uchar 32 rec edit uchar 44 to long */ 451 uint32_t omega2_rx_mid_pack_hdr(uint64_t *result, uint64_t o_root, const uint8_t *o_id, uint64_t o_id_len, uint8_t *o_rec, uint64_t o_rec_len); 452 /* export fn rx_mid_val_rec rec view uchar 44 chk view uchar 4 dst edit uchar 33 to long */ 453 uint32_t omega2_rx_mid_val_rec(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, const uint8_t *o_chk, uint64_t o_chk_len, uint8_t *o_dst, uint64_t o_dst_len); 454 /* export fn rx_mid_to_hex rec view uchar 44 hex edit uchar 88 to void */ 455 uint32_t omega2_rx_mid_to_hex(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, uint8_t *o_hex, uint64_t o_hex_len); 456 /* export fn rx_mid_from_hex hex view uchar 88 rec edit uchar 44 to long */ 457 uint32_t omega2_rx_mid_from_hex(uint64_t *result, const uint8_t *o_hex, uint64_t o_hex_len, uint8_t *o_rec, uint64_t o_rec_len); 458 #define OMEGA2_IDENT_rx_cortex_rec "omega-ident 1 unit=rx_cortex_rec abi=2 profile=OM-2 src=`29f832bab2e55623345ca382b60578677859133221533468fdd79068ab46459a` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 459 const char *omega2_ident_rx_cortex_rec(void); 460 /* export fn rx_cx_kind_of ckind ulong dst edit ulong 4 to void */ 461 uint32_t omega2_rx_cx_kind_of(uint64_t *result, uint64_t o_ckind, uint64_t *o_dst, uint64_t o_dst_len); 462 /* export fn rx_cx_pack_digest dig view uchar 32 dst edit ulong 4 to void */ 463 uint32_t omega2_rx_cx_pack_digest(uint64_t *result, const uint8_t *o_dig, uint64_t o_dig_len, uint64_t *o_dst, uint64_t o_dst_len); 464 /* export fn rx_cx_dedup_links cause ulong parents view ulong * dst edit ulong 8 max_links ulong to ulong */ 465 uint32_t omega2_rx_cx_dedup_links(uint64_t *result, uint64_t o_cause, const uint64_t *o_parents, uint64_t o_parents_len, uint64_t *o_dst, uint64_t o_dst_len, uint64_t o_max_links); 466 #define OMEGA2_IDENT_rx_plan_core "omega-ident 1 unit=rx_plan_core abi=2 profile=OM-2 src=`4230535f0ff37d7e9996e4dc56f2c8a4c605f7bf9b31b0bdf89ed8d4c808157a` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 467 const char *omega2_ident_rx_plan_core(void); 468 /* export fn rx_pl_word dig view uchar 32 k ulong to ulong */ 469 uint32_t omega2_rx_pl_word(uint64_t *result, const uint8_t *o_dig, uint64_t o_dig_len, uint64_t o_k); 470 /* export fn rx_pla_fact_pack xid ulong xgen ulong is_floor ulong tid ulong tgen ulong to ulong */ 471 uint32_t omega2_rx_pla_fact_pack(uint64_t *result, uint64_t o_xid, uint64_t o_xgen, uint64_t o_is_floor, uint64_t o_tid, uint64_t o_tgen); 472 /* export fn rx_pla_fact_unpack f ulong dst edit ulong 5 to void */ 473 uint32_t omega2_rx_pla_fact_unpack(uint64_t *result, uint64_t o_f, uint64_t *o_dst, uint64_t o_dst_len); 474 /* export fn rx_pl_sort_preds buf edit ulong 288 n ulong to void */ 475 uint32_t omega2_rx_pl_sort_preds(uint64_t *result, uint64_t *o_buf, uint64_t o_buf_len, uint64_t o_n); 476 #define OMEGA2_IDENT_rx_projection "omega-ident 1 unit=rx_projection abi=2 profile=OM-2 src=`a6f9742bb4b20bcb7ac70694a19cb59722e73ad1fcecfcc0bcb833a0441ded9d` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 477 const char *omega2_ident_rx_projection(void); 478 /* export fn rx_pj_summarize w view ulong * dst edit ulong 5 to void */ 479 uint32_t omega2_rx_pj_summarize(uint64_t *result, const uint64_t *o_w, uint64_t o_w_len, uint64_t *o_dst, uint64_t o_dst_len); 480 /* export fn rx_pj_section_of protect ulong cls ulong treatment ulong temporal ulong to ulong */ 481 uint32_t omega2_rx_pj_section_of(uint64_t *result, uint64_t o_protect, uint64_t o_cls, uint64_t o_treatment, uint64_t o_temporal); 482 /* export fn rx_pj_form_of treatment ulong to ulong */ 483 uint32_t omega2_rx_pj_form_of(uint64_t *result, uint64_t o_treatment); 484 #define OMEGA2_IDENT_rx_capq_core "omega-ident 1 unit=rx_capq_core abi=2 profile=OM-2 src=`6f0014d66caae68532b9f1bb11a445089a87e94abc7b68c1c9956fec17c3c953` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 485 const char *omega2_ident_rx_capq_core(void); 486 /* export fn rx_cq_key_hash cap_id ulong real_id ulong mach_id ulong skill_id ulong to ulong */ 487 uint32_t omega2_rx_cq_key_hash(uint64_t *result, uint64_t o_cap_id, uint64_t o_real_id, uint64_t o_mach_id, uint64_t o_skill_id); 488 /* export fn rx_cq_dim_value vals view ulong 7 dim ulong to ulong */ 489 uint32_t omega2_rx_cq_dim_value(uint64_t *result, const uint64_t *o_vals, uint64_t o_vals_len, uint64_t o_dim); 490 /* export fn rx_cq_dominates a view ulong 7 b view ulong 7 dims view uchar 7 nd ulong to ulong */ 491 uint32_t omega2_rx_cq_dominates(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, const uint8_t *o_dims, uint64_t o_dims_len, uint64_t o_nd); 492 /* export fn rx_cq_cmp_full a view ulong 11 b view ulong 11 dims view uchar 7 nd ulong to long */ 493 uint32_t omega2_rx_cq_cmp_full(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, const uint8_t *o_dims, uint64_t o_dims_len, uint64_t o_nd); 494 /* export fn rx_cq_within v ulong best ulong tol_ppm ulong to ulong */ 495 uint32_t omega2_rx_cq_within(uint64_t *result, uint64_t o_v, uint64_t o_best, uint64_t o_tol_ppm); 496 /* export fn rx_cq_plan_sources domains ulong need_src ulong loc ulong pin ulong self_mach ulong to ulong */ 497 uint32_t omega2_rx_cq_plan_sources(uint64_t *result, uint64_t o_domains, uint64_t o_need_src, uint64_t o_loc, uint64_t o_pin, uint64_t o_self_mach); 498 /* export fn rx_cq_filter_entry ent view ulong 14 need view ulong 14 to ulong */ 499 uint32_t omega2_rx_cq_filter_entry(uint64_t *result, const uint64_t *o_ent, uint64_t o_ent_len, const uint64_t *o_need, uint64_t o_need_len); 500 /* export fn rx_cq_wire_encode_body hdr view ulong 4 fields view ulong 17 mid view uchar 44 sdig view uchar 32 dst edit uchar 188 to ulong */ 501 uint32_t omega2_rx_cq_wire_encode_body(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_fields, uint64_t o_fields_len, const uint8_t *o_mid, uint64_t o_mid_len, const uint8_t *o_sdig, uint64_t o_sdig_len, uint8_t *o_dst, uint64_t o_dst_len); 502 /* export fn rx_cq_wire_decode_body src view uchar 188 hdr edit ulong 4 fields edit ulong 17 sdig edit uchar 32 to ulong */ 503 uint32_t omega2_rx_cq_wire_decode_body(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t *o_fields, uint64_t o_fields_len, uint8_t *o_sdig, uint64_t o_sdig_len); 504 /* export fn rx_cq_wire_apply_check has_old ulong old_gen ulong old_live ulong new_gen ulong kind ulong to long */ 505 uint32_t omega2_rx_cq_wire_apply_check(uint64_t *result, uint64_t o_has_old, uint64_t o_old_gen, uint64_t o_old_live, uint64_t o_new_gen, uint64_t o_kind); 506 #define OMEGA2_IDENT_rx_costmodel_core "omega-ident 1 unit=rx_costmodel_core abi=2 profile=OM-2 src=`39250ea0b62254f60f3695bbb8830aeb500f84c7a80d08ed70ee28f4c7eef297` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 507 const char *omega2_ident_rx_costmodel_core(void); 508 /* export fn rx_cm_fit_predict tri view ulong 36 xty_u view ulong 8 phi_u view ulong 8 meta view ulong 2 dst edit ulong 4 to ulong */ 509 uint32_t omega2_rx_cm_fit_predict(uint64_t *result, const uint64_t *o_tri, uint64_t o_tri_len, const uint64_t *o_xty_u, uint64_t o_xty_u_len, const uint64_t *o_phi_u, uint64_t o_phi_u_len, const uint64_t *o_meta, uint64_t o_meta_len, uint64_t *o_dst, uint64_t o_dst_len); 510 /* export fn rx_cm_rank1_update tri edit ulong 36 xty edit ulong 8 phi view ulong 8 y_bits ulong to void */ 511 uint32_t omega2_rx_cm_rank1_update(uint64_t *result, uint64_t *o_tri, uint64_t o_tri_len, uint64_t *o_xty, uint64_t o_xty_len, const uint64_t *o_phi, uint64_t o_phi_len, uint64_t o_y_bits); 512 /* export fn rx_cm_pack_v1 model view uchar 28072 wire out uchar 28080 to void */ 513 uint32_t omega2_rx_cm_pack_v1(uint64_t *result, const uint8_t *o_model, uint64_t o_model_len, uint8_t *o_wire); 514 /* export fn rx_cm_unpack_v1 wire view uchar 28080 model edit uchar 28072 to ulong */ 515 uint32_t omega2_rx_cm_unpack_v1(uint64_t *result, const uint8_t *o_wire, uint64_t o_wire_len, uint8_t *o_model, uint64_t o_model_len); 516 #define OMEGA2_IDENT_rx_route_core "omega-ident 1 unit=rx_route_core abi=2 profile=OM-2 src=`4d45fdbb7089300c5a9f7889f5d6a39395e5d9632fa405ba2286cb19a6f436ec` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 517 const char *omega2_ident_rx_route_core(void); 518 /* export fn rx_rt_conf_bin conf ulong conf_one ulong bins ulong to ulong */ 519 uint32_t omega2_rx_rt_conf_bin(uint64_t *result, uint64_t o_conf, uint64_t o_conf_one, uint64_t o_bins); 520 /* export fn rx_rt_wilson k ulong n ulong dst edit ulong 2 to void */ 521 uint32_t omega2_rx_rt_wilson(uint64_t *result, uint64_t o_k, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len); 522 #define OMEGA2_IDENT_rx_world_core "omega-ident 1 unit=rx_world_core abi=2 profile=OM-2 src=`fe6656a9770cd0721dd5d5e885bc506ec68ca34d67243cf4b7da57d5e46a0611` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 523 const char *omega2_ident_rx_world_core(void); 524 /* export fn rx_world_state_legal from ulong dest ulong to ulong */ 525 uint32_t omega2_rx_world_state_legal(uint64_t *result, uint64_t o_from, uint64_t o_dest); 526 /* export fn rx_world_res_fits used view ulong 4 budget view ulong 6 need view ulong 5 to ulong */ 527 uint32_t omega2_rx_world_res_fits(uint64_t *result, const uint64_t *o_used, uint64_t o_used_len, const uint64_t *o_budget, uint64_t o_budget_len, const uint64_t *o_need, uint64_t o_need_len); 528 /* export fn rx_world_better_admit a view ulong 3 b view ulong 3 to ulong */ 529 uint32_t omega2_rx_world_better_admit(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len); 530 #define OMEGA2_IDENT_rx_coherent_om2 "omega-ident 1 unit=rx_coherent_om2 abi=2 profile=OM-2 src=`3a59a6d76cca7660be15a6e6a03b2baf4d05958ac011f67589eef8902e14d159` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 531 const char *omega2_ident_rx_coherent_om2(void); 532 /* export fn rx_coh_crc32c data view uchar * n ulong to ulong */ 533 uint32_t omega2_rx_coh_crc32c(uint64_t *result, const uint8_t *o_data, uint64_t o_data_len, uint64_t o_n); 534 /* export fn rx_coh_ring_msg t ulong to ulong */ 535 uint32_t omega2_rx_coh_ring_msg(uint64_t *result, uint64_t o_t); 536 /* export fn rx_coh_msg_rights t ulong to ulong */ 537 uint32_t omega2_rx_coh_msg_rights(uint64_t *result, uint64_t o_t); 538 /* export fn rx_coh_fault_err fault ulong to long */ 539 uint32_t omega2_rx_coh_fault_err(uint64_t *result, uint64_t o_fault); 540 #define OMEGA2_IDENT_rx_semantic_om2 "omega-ident 1 unit=rx_semantic_om2 abi=2 profile=OM-2 src=`002f4eaffc42f7a37dd96c92ca33da3c5e54a4ca30c4c2e00d4cf30d3924afcf` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 541 const char *omega2_ident_rx_semantic_om2(void); 542 /* export fn rx_sem_digest_eq_om2 a view uchar 32 b view uchar 32 to ulong */ 543 uint32_t omega2_rx_sem_digest_eq_om2(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 544 /* export fn rx_sem_node_id_from_hash d view uchar 32 kind ulong to ulong */ 545 uint32_t omega2_rx_sem_node_id_from_hash(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len, uint64_t o_kind); 546 /* export fn rx_sem_inputs_unique inputs view ulong * n ulong to ulong */ 547 uint32_t omega2_rx_sem_inputs_unique(uint64_t *result, const uint64_t *o_inputs, uint64_t o_inputs_len, uint64_t o_n); 548 #define OMEGA2_IDENT_rx_skillroute_core "omega-ident 1 unit=rx_skillroute_core abi=2 profile=OM-2 src=`568e2a8345feaffe9d1c119697426be1564d2b2317f8bdd192ad7756c39a6c3d` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 549 const char *omega2_ident_rx_skillroute_core(void); 550 /* export fn rx_sr_digest_zero d view uchar 32 to ulong */ 551 uint32_t omega2_rx_sr_digest_zero(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len); 552 /* export fn rx_sr_why_of counts view ulong 10 to ulong */ 553 uint32_t omega2_rx_sr_why_of(uint64_t *result, const uint64_t *o_counts, uint64_t o_counts_len); 554 #define OMEGA2_IDENT_rx_fusion_core "omega-ident 1 unit=rx_fusion_core abi=2 profile=OM-2 src=`aab22272005a4d65c2ada2b9754906cdaa7736ae127042f84457d548875d1ee6` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 555 const char *omega2_ident_rx_fusion_core(void); 556 /* export fn rx_fus_word64 d view uchar 8 to ulong */ 557 uint32_t omega2_rx_fus_word64(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len); 558 /* export fn rx_fus_eligible_kind k ulong to ulong */ 559 uint32_t omega2_rx_fus_eligible_kind(uint64_t *result, uint64_t o_k); 560 #define OMEGA2_IDENT_cap_table_om2 "omega-ident 1 unit=cap_table_om2 abi=2 profile=OM-2 src=`9d6d3476248a3bfb077081cd61742ce108b5b821af9525dd117bed017fc28e5f` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 561 const char *omega2_ident_cap_table_om2(void); 562 /* export fn cap_token_eq a view uchar 32 b view uchar 32 to ulong */ 563 uint32_t omega2_cap_token_eq(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 564 /* export fn cap_add_u64 a ulong b ulong dst edit ulong 1 to long */ 565 uint32_t omega2_cap_add_u64(uint64_t *result, uint64_t o_a, uint64_t o_b, uint64_t *o_dst, uint64_t o_dst_len); 566 /* export fn cap_gen_advance gen ulong dst edit ulong 1 to long */ 567 uint32_t omega2_cap_gen_advance(uint64_t *result, uint64_t o_gen, uint64_t *o_dst, uint64_t o_dst_len); 568 /* export fn cap_table_init hdr edit ulong 4 slots edit ulong 3328 delivered edit uchar 256 boot_gen ulong to long */ 569 uint32_t omega2_cap_table_init(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t *o_slots, uint64_t o_slots_len, uint8_t *o_delivered, uint64_t o_delivered_len, uint64_t o_boot_gen); 570 /* export fn cap_table_validate hdr view ulong 4 slots view ulong 3328 args view ulong 5 out_slot edit ulong 13 to long */ 571 uint32_t omega2_cap_table_validate(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_slots, uint64_t o_slots_len, const uint64_t *o_args, uint64_t o_args_len, uint64_t *o_out_slot, uint64_t o_out_slot_len); 572 /* export fn cap_table_inspect hdr view ulong 4 slots view ulong 3328 cap_id ulong gen ulong out_slot edit ulong 13 to long */ 573 uint32_t omega2_cap_table_inspect(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_slots, uint64_t o_slots_len, uint64_t o_cap_id, uint64_t o_gen, uint64_t *o_out_slot, uint64_t o_out_slot_len); 574 /* export fn cap_table_auth_use hdr view ulong 4 slots view ulong 3328 delivered view uchar 256 args view ulong 3 to long */ 575 uint32_t omega2_cap_table_auth_use(uint64_t *result, const uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_slots, uint64_t o_slots_len, const uint8_t *o_delivered, uint64_t o_delivered_len, const uint64_t *o_args, uint64_t o_args_len); 576 /* export fn cap_table_mint hdr edit ulong 4 slots edit ulong 3328 delivered edit uchar 256 req view ulong 9 out_ref edit ulong 2 to long */ 577 uint32_t omega2_cap_table_mint(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t *o_slots, uint64_t o_slots_len, uint8_t *o_delivered, uint64_t o_delivered_len, const uint64_t *o_req, uint64_t o_req_len, uint64_t *o_out_ref, uint64_t o_out_ref_len); 578 /* export fn cap_table_revoke hdr edit ulong 4 slots edit ulong 3328 delivered view uchar 256 args view ulong 4 rev_list edit ulong 257 to long */ 579 uint32_t omega2_cap_table_revoke(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t *o_slots, uint64_t o_slots_len, const uint8_t *o_delivered, uint64_t o_delivered_len, const uint64_t *o_args, uint64_t o_args_len, uint64_t *o_rev_list, uint64_t o_rev_list_len); 580 /* export fn cap_table_reclaim hdr edit ulong 4 slots edit ulong 3328 delivered edit uchar 256 args view ulong 3 to long */ 581 uint32_t omega2_cap_table_reclaim(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, uint64_t *o_slots, uint64_t o_slots_len, uint8_t *o_delivered, uint64_t o_delivered_len, const uint64_t *o_args, uint64_t o_args_len); 582 /* export fn cap_table_clock hdr edit ulong 4 slots view ulong 3328 delivered view uchar 256 args view ulong 3 to long */ 583 uint32_t omega2_cap_table_clock(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_slots, uint64_t o_slots_len, const uint8_t *o_delivered, uint64_t o_delivered_len, const uint64_t *o_args, uint64_t o_args_len); 584 /* export fn cap_table_epoch hdr edit ulong 4 slots view ulong 3328 delivered view uchar 256 aid ulong agen ulong to long */ 585 uint32_t omega2_cap_table_epoch(uint64_t *result, uint64_t *o_hdr, uint64_t o_hdr_len, const uint64_t *o_slots, uint64_t o_slots_len, const uint8_t *o_delivered, uint64_t o_delivered_len, uint64_t o_aid, uint64_t o_agen); 586 #define OMEGA2_IDENT_aegis_om2 "omega-ident 1 unit=aegis_om2 abi=2 profile=OM-2 src=`acee92a0cca19b7dd8879aa315d458259eadddc85e9d25615a98eb82a97f1f38` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 587 const char *omega2_ident_aegis_om2(void); 588 /* export fn aegis_evaluate rules view ulong 112 n_rules ulong req view ulong 4 res edit ulong 3 to ulong */ 589 uint32_t omega2_aegis_evaluate(uint64_t *result, const uint64_t *o_rules, uint64_t o_rules_len, uint64_t o_n_rules, const uint64_t *o_req, uint64_t o_req_len, uint64_t *o_res, uint64_t o_res_len); 590 /* export fn aegis_decide rules view ulong 112 n_rules ulong subject ulong in_f view ulong 10 out_dec edit ulong 8 to ulong */ 591 uint32_t omega2_aegis_decide(uint64_t *result, const uint64_t *o_rules, uint64_t o_rules_len, uint64_t o_n_rules, uint64_t o_subject, const uint64_t *o_in_f, uint64_t o_in_f_len, uint64_t *o_out_dec, uint64_t o_out_dec_len); 592 /* export fn aegis_install_check dec view ulong 8 req view ulong 6 client view ulong 3 to ulong */ 593 uint32_t omega2_aegis_install_check(uint64_t *result, const uint64_t *o_dec, uint64_t o_dec_len, const uint64_t *o_req, uint64_t o_req_len, const uint64_t *o_client, uint64_t o_client_len); 594 #define OMEGA2_IDENT_osc_literal "omega-ident 1 unit=osc_literal abi=2 profile=OM-2 src=`ed2da39b4adba054db253cd7bd5b5f7e7c68a773f7b676be6fb7ed9825cb0c0f` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 595 const char *omega2_ident_osc_literal(void); 596 /* export fn osc_parse_literal spelling view uchar * value out ulong 1 to ulong */ 597 uint32_t omega2_osc_parse_literal(uint64_t *result, const uint8_t *o_spelling, uint64_t o_spelling_len, uint64_t *o_value); 598 /* export fn osc_lex_next src view uchar * cursor edit lexstate room ulong namemax ulong to ulong */ 599 uint32_t omega2_osc_lex_next(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint8_t *o_cursor, uint64_t o_room, uint64_t o_namemax); 600 /* export fn osc_lex_stream src view uchar * cursor edit lexstate dest edit uchar * count edit ulong 1 to ulong */ 601 uint32_t omega2_osc_lex_stream(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint8_t *o_cursor, uint8_t *o_dest, uint64_t o_dest_len, uint64_t *o_count, uint64_t o_count_len); 602 #define OMEGA2_IDENT_osc_type "omega-ident 1 unit=osc_type abi=2 profile=OM-2 src=`a33e7745e4cdb1a968b06aff6016de192ef8a2a9d0d2946f5b1f79c91c7f2cba` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 603 const char *omega2_ident_osc_type(void); 604 /* export fn osc_read_type kinds view ushort 7 values view ulong 7 form ulong refkind ulong limit ulong result edit typerec to ulong */ 605 uint32_t omega2_osc_read_type(uint64_t *result, const uint16_t *o_kinds, uint64_t o_kinds_len, const uint64_t *o_values, uint64_t o_values_len, uint64_t o_form, uint64_t o_refkind, uint64_t o_limit, uint8_t *o_result); 606 #define OMEGA2_IDENT_osc_expr "omega-ident 1 unit=osc_expr abi=2 profile=OM-2 src=`e869e7be788d2f0c942d9c4c8d87d3fe6efc45713c0ced12d82183e3fa3dba1b` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 607 const char *omega2_ident_osc_expr(void); 608 /* export fn osc_expr_step stack edit exprstk look ulong operand ulong to ulong */ 609 uint32_t omega2_osc_expr_step(uint64_t *result, uint8_t *o_stack, uint64_t o_look, uint64_t o_operand); 610 /* export fn osc_operand_step state edit opstate kind ulong nextkind ulong third ulong to ulong */ 611 uint32_t omega2_osc_operand_step(uint64_t *result, uint8_t *o_state, uint64_t o_kind, uint64_t o_nextkind, uint64_t o_third); 612 #define OMEGA2_IDENT_osc_scalar "omega-ident 1 unit=osc_scalar abi=2 profile=OM-2 src=`a90c4cf29428caa403f20e593d943aa2b77c2b6672472fac89bd6e2e6da77726` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 613 const char *omega2_ident_osc_scalar(void); 614 /* export fn osc_alu_width t ulong to ulong */ 615 uint32_t omega2_osc_alu_width(uint64_t *result, uint64_t o_t); 616 /* export fn osc_alu_canon t ulong v ulong to ulong */ 617 uint32_t omega2_osc_alu_canon(uint64_t *result, uint64_t o_t, uint64_t o_v); 618 /* export fn osc_alu_bin op ulong t ulong a ulong b ulong value out ulong 1 to ulong */ 619 uint32_t omega2_osc_alu_bin(uint64_t *result, uint64_t o_op, uint64_t o_t, uint64_t o_a, uint64_t o_b, uint64_t *o_value); 620 /* export fn osc_alu_un op ulong t ulong a ulong value out ulong 1 to ulong */ 621 uint32_t omega2_osc_alu_un(uint64_t *result, uint64_t o_op, uint64_t o_t, uint64_t o_a, uint64_t *o_value); 622 /* export fn osc_alu_cmp cc ulong t ulong a ulong b ulong to ulong */ 623 uint32_t omega2_osc_alu_cmp(uint64_t *result, uint64_t o_cc, uint64_t o_t, uint64_t o_a, uint64_t o_b); 624 /* export fn osc_alu_cast target ulong src ulong a ulong value out ulong 1 to ulong */ 625 uint32_t omega2_osc_alu_cast(uint64_t *result, uint64_t o_target, uint64_t o_src, uint64_t o_a, uint64_t *o_value); 626 /* export fn osc_binary_opcode tok ulong to ulong */ 627 uint32_t omega2_osc_binary_opcode(uint64_t *result, uint64_t o_tok); 628 /* export fn osc_compare_opcode tok ulong to ulong */ 629 uint32_t omega2_osc_compare_opcode(uint64_t *result, uint64_t o_tok); 630 /* export fn osc_literal_fits t ulong magnitude ulong negative ulong to ulong */ 631 uint32_t omega2_osc_literal_fits(uint64_t *result, uint64_t o_t, uint64_t o_magnitude, uint64_t o_negative); 632 /* export fn osc_contract_value nodes view uchar * env view contract stack edit ulong * request edit ulong 2 to ulong */ 633 uint32_t omega2_osc_contract_value(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, const uint8_t *o_env, uint64_t *o_stack, uint64_t o_stack_len, uint64_t *o_request, uint64_t o_request_len); 634 /* export fn osc_constant_tree nodes view uchar * id ulong require_literals ulong pending edit ulong * to ulong */ 635 uint32_t omega2_osc_constant_tree(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, uint64_t o_id, uint64_t o_require_literals, uint64_t *o_pending, uint64_t o_pending_len); 636 /* export fn osc_fold_tree nodes edit uchar * typ ulong stack edit ulong * report edit ulong 3 to ulong */ 637 uint32_t omega2_osc_fold_tree(uint64_t *result, uint8_t *o_nodes, uint64_t o_nodes_len, uint64_t o_typ, uint64_t *o_stack, uint64_t o_stack_len, uint64_t *o_report, uint64_t o_report_len); 638 /* export fn osc_infer_step nodes edit uchar * stack edit ulong * frame edit infer checked ulong to ulong */ 639 uint32_t omega2_osc_infer_step(uint64_t *result, uint8_t *o_nodes, uint64_t o_nodes_len, uint64_t *o_stack, uint64_t o_stack_len, uint8_t *o_frame, uint64_t o_checked); 640 /* export fn osc_call_args nodes view uchar * param long arg long call edit callargs to void */ 641 uint32_t omega2_osc_call_args(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, uint64_t o_param, uint64_t o_arg, uint8_t *o_call); 642 /* export fn osc_bind_cell_argument call edit callargs index ulong symbol long to ulong */ 643 uint32_t omega2_osc_bind_cell_argument(uint64_t *result, uint8_t *o_call, uint64_t o_index, uint64_t o_symbol); 644 /* export fn osc_call_requires nodes view uchar * call view callargs bindings edit contract stack edit ulong * to ulong */ 645 uint32_t omega2_osc_call_requires(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, const uint8_t *o_call, uint8_t *o_bindings, uint64_t *o_stack, uint64_t o_stack_len); 646 /* export fn osc_slice_args types view uint * args view ulong * to long */ 647 uint32_t omega2_osc_slice_args(uint64_t *result, const uint32_t *o_types, uint64_t o_types_len, const uint64_t *o_args, uint64_t o_args_len); 648 /* export fn osc_return_ensures nodes view uchar * selectors view uint 3 bindings edit contract stack edit ulong * to ulong */ 649 uint32_t omega2_osc_return_ensures(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, const uint32_t *o_selectors, uint64_t o_selectors_len, uint8_t *o_bindings, uint64_t *o_stack, uint64_t o_stack_len); 650 #define OMEGA2_IDENT_osc_a64_fields "omega-ident 1 unit=osc_a64_fields abi=2 profile=OM-2 src=`783248eccea83a576c65630099d70e544ce260a609a0dba83cac8f8663d96aab` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 651 const char *omega2_ident_osc_a64_fields(void); 652 /* export fn osc_a64_pack_fields form ulong base ulong f view a64field to ulong */ 653 uint32_t omega2_osc_a64_pack_fields(uint64_t *result, uint64_t o_form, uint64_t o_base, const uint8_t *o_f); 654 /* export fn osc_a64_unpack_fields form ulong word ulong f edit a64field to void */ 655 uint32_t omega2_osc_a64_unpack_fields(uint64_t *result, uint64_t o_form, uint64_t o_word, uint8_t *o_f); 656 /* export fn osc_a64_check_fields cls ulong f view a64field writeback ulong loadpair ulong to ulong */ 657 uint32_t omega2_osc_a64_check_fields(uint64_t *result, uint64_t o_cls, const uint8_t *o_f, uint64_t o_writeback, uint64_t o_loadpair); 658 /* export fn osc_a64_checked_word form ulong base ulong f view a64field flags ulong to ulong */ 659 uint32_t omega2_osc_a64_checked_word(uint64_t *result, uint64_t o_form, uint64_t o_base, const uint8_t *o_f, uint64_t o_flags); 660 /* export fn osc_a64_canonical_word form ulong base ulong word ulong flags ulong fields edit a64field to ulong */ 661 uint32_t omega2_osc_a64_canonical_word(uint64_t *result, uint64_t o_form, uint64_t o_base, uint64_t o_word, uint64_t o_flags, uint8_t *o_fields); 662 /* export fn osc_a64_materialize value ulong plan edit ulong 4 to ulong */ 663 uint32_t omega2_osc_a64_materialize(uint64_t *result, uint64_t o_value, uint64_t *o_plan, uint64_t o_plan_len); 664 /* export fn osc_a64_write spec view uchar 24 insn view uchar 24 to ulong */ 665 uint32_t omega2_osc_a64_write(uint64_t *result, const uint8_t *o_spec, uint64_t o_spec_len, const uint8_t *o_insn, uint64_t o_insn_len); 666 /* export fn osc_a64_read word ulong specs view uchar * insn edit uchar 24 to ulong */ 667 uint32_t omega2_osc_a64_read(uint64_t *result, uint64_t o_word, const uint8_t *o_specs, uint64_t o_specs_len, uint8_t *o_insn, uint64_t o_insn_len); 668 #define OMEGA2_IDENT_osc_statement "omega-ident 1 unit=osc_statement abi=2 profile=OM-2 src=`39ba883dd033151663d7ed5a9ae303227b120e752111164b41343547bc09c572` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 669 const char *omega2_ident_osc_statement(void); 670 /* export fn osc_for_range kinds view ushort 7 values view ulong 7 limit ulong range edit forrange to ulong */ 671 uint32_t omega2_osc_for_range(uint64_t *result, const uint16_t *o_kinds, uint64_t o_kinds_len, const uint64_t *o_values, uint64_t o_values_len, uint64_t o_limit, uint8_t *o_range); 672 /* export fn osc_read_bound keyword ulong kind ulong value ulong limit ulong to ulong */ 673 uint32_t omega2_osc_read_bound(uint64_t *result, uint64_t o_keyword, uint64_t o_kind, uint64_t o_value, uint64_t o_limit); 674 /* export fn osc_read_import state edit imprec kind ulong spelling view uchar * table edit uchar * to ulong */ 675 uint32_t omega2_osc_read_import(uint64_t *result, uint8_t *o_state, uint64_t o_kind, const uint8_t *o_spelling, uint64_t o_spelling_len, uint8_t *o_table, uint64_t o_table_len); 676 /* export fn osc_clause_word dst edit uchar 256 used ulong prev ulong kind ulong word view uchar * to ulong */ 677 uint32_t omega2_osc_clause_word(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_used, uint64_t o_prev, uint64_t o_kind, const uint8_t *o_word, uint64_t o_word_len); 678 /* export fn osc_clause_text dst edit uchar 256 tokens view uchar * source view uchar * to ulong */ 679 uint32_t omega2_osc_clause_text(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, const uint8_t *o_tokens, uint64_t o_tokens_len, const uint8_t *o_source, uint64_t o_source_len); 680 /* export fn osc_new_node node out uchar 104 kind ulong token ulong line ulong col ulong to void */ 681 uint32_t omega2_osc_new_node(uint64_t *result, uint8_t *o_node, uint64_t o_kind, uint64_t o_token, uint64_t o_line, uint64_t o_col); 682 /* export fn osc_statement_plan plan edit stmtplan kind ulong nextkind ulong third ulong spelling view uchar * to ulong */ 683 uint32_t omega2_osc_statement_plan(uint64_t *result, uint8_t *o_plan, uint64_t o_kind, uint64_t o_nextkind, uint64_t o_third, const uint8_t *o_spelling, uint64_t o_spelling_len); 684 #define OMEGA2_IDENT_osc_ownership "omega-ident 1 unit=osc_ownership abi=2 profile=OM-2 src=`ab53e924a6bb8db1fc73c4b55b9f4ef90500cefcdefc7e002b7b8ac36c906984` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 685 const char *omega2_ident_osc_ownership(void); 686 /* export fn osc_owner_access moved ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 687 uint32_t omega2_osc_owner_access(uint64_t *result, uint64_t o_moved, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count); 688 /* export fn osc_borrow_access writable ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 689 uint32_t omega2_osc_borrow_access(uint64_t *result, uint64_t o_writable, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count); 690 /* export fn osc_owner_move moved ulong shared_count ulong mut_count ulong declaration_depth long loop_depth long to ulong */ 691 uint32_t omega2_osc_owner_move(uint64_t *result, uint64_t o_moved, uint64_t o_shared_count, uint64_t o_mut_count, uint64_t o_declaration_depth, uint64_t o_loop_depth); 692 /* export fn osc_join_owner taken view oscowner remaining edit oscowner to ulong */ 693 uint32_t omega2_osc_join_owner(uint64_t *result, const uint8_t *o_taken, uint8_t *o_remaining); 694 /* export fn osc_join_handle before long current long other long to long */ 695 uint32_t omega2_osc_join_handle(uint64_t *result, uint64_t o_before, uint64_t o_current, uint64_t o_other); 696 /* export fn osc_join_frees taken view uchar * remaining edit uchar * to void */ 697 uint32_t omega2_osc_join_frees(uint64_t *result, const uint8_t *o_taken, uint64_t o_taken_len, uint8_t *o_remaining, uint64_t o_remaining_len); 698 /* export fn osc_init_owner item edit oscowner symbol long to void */ 699 uint32_t omega2_osc_init_owner(uint64_t *result, uint8_t *o_item, uint64_t o_symbol); 700 /* export fn osc_open_borrow owner edit oscowner child edit oscbor object long mutable ulong source_line ulong to void */ 701 uint32_t omega2_osc_open_borrow(uint64_t *result, uint8_t *o_owner, uint8_t *o_child, uint64_t o_object, uint64_t o_mutable, uint64_t o_source_line); 702 /* export fn osc_open_reborrow parent edit oscbor child edit oscbor object long parent_id long mutable ulong source_line ulong to void */ 703 uint32_t omega2_osc_open_reborrow(uint64_t *result, uint8_t *o_parent, uint8_t *o_child, uint64_t o_object, uint64_t o_parent_id, uint64_t o_mutable, uint64_t o_source_line); 704 /* export fn osc_close_borrow owner edit oscowner child edit oscbor to void */ 705 uint32_t omega2_osc_close_borrow(uint64_t *result, uint8_t *o_owner, uint8_t *o_child); 706 /* export fn osc_close_reborrow parent edit oscbor child edit oscbor to void */ 707 uint32_t omega2_osc_close_reborrow(uint64_t *result, uint8_t *o_parent, uint8_t *o_child); 708 /* export fn osc_join_owners taken view uchar * remaining edit uchar * changes edit int * to ulong */ 709 uint32_t omega2_osc_join_owners(uint64_t *result, const uint8_t *o_taken, uint64_t o_taken_len, uint8_t *o_remaining, uint64_t o_remaining_len, int32_t *o_changes, uint64_t o_changes_len); 710 /* export fn osc_snapshot_save shape view snapdim owners view uint 1280 borrows view uint 3072 symbols view uint 19200 saved edit uint * to void */ 711 uint32_t omega2_osc_snapshot_save(uint64_t *result, const uint8_t *o_shape, const uint32_t *o_owners, uint64_t o_owners_len, const uint32_t *o_borrows, uint64_t o_borrows_len, const uint32_t *o_symbols, uint64_t o_symbols_len, uint32_t *o_saved, uint64_t o_saved_len); 712 /* export fn osc_snapshot_restore shape view snapdim owners edit uint 1280 borrows edit uint 3072 symbols edit uint 19200 saved view uint * to void */ 713 uint32_t omega2_osc_snapshot_restore(uint64_t *result, const uint8_t *o_shape, uint32_t *o_owners, uint64_t o_owners_len, uint32_t *o_borrows, uint64_t o_borrows_len, uint32_t *o_symbols, uint64_t o_symbols_len, const uint32_t *o_saved, uint64_t o_saved_len); 714 /* export fn osc_join_snapshot saved view uint * owners edit uint 1280 changes edit int * to ulong */ 715 uint32_t omega2_osc_join_snapshot(uint64_t *result, const uint32_t *o_saved, uint64_t o_saved_len, uint32_t *o_owners, uint64_t o_owners_len, int32_t *o_changes, uint64_t o_changes_len); 716 /* export fn osc_snapshot_moves saved view uint * owners view uint 1280 ids edit int * to ulong */ 717 uint32_t omega2_osc_snapshot_moves(uint64_t *result, const uint32_t *o_saved, uint64_t o_saved_len, const uint32_t *o_owners, uint64_t o_owners_len, int32_t *o_ids, uint64_t o_ids_len); 718 /* export fn osc_join_branch_owners saved view uint * owners edit uint 1280 symbols view uint 19200 nodes edit uchar * to void */ 719 uint32_t omega2_osc_join_branch_owners(uint64_t *result, const uint32_t *o_saved, uint64_t o_saved_len, uint32_t *o_owners, uint64_t o_owners_len, const uint32_t *o_symbols, uint64_t o_symbols_len, uint8_t *o_nodes, uint64_t o_nodes_len); 720 #define OMEGA2_IDENT_osc_scope "omega-ident 1 unit=osc_scope abi=2 profile=OM-2 src=`3ea7728a06f805778e2d0b4ea915ba8d395d004feab00a719a38f4e42fe997d8` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 721 const char *omega2_ident_osc_scope(void); 722 /* export fn osc_scope_reset table edit scopetab to void */ 723 uint32_t omega2_osc_scope_reset(uint64_t *result, uint8_t *o_table); 724 /* export fn osc_scope_find table view scopetab symbols view uchar * stride ulong name view uchar * to long */ 725 uint32_t omega2_osc_scope_find(uint64_t *result, const uint8_t *o_table, const uint8_t *o_symbols, uint64_t o_symbols_len, uint64_t o_stride, const uint8_t *o_name, uint64_t o_name_len); 726 /* export fn osc_scope_bind table edit scopetab id ulong name view uchar * to void */ 727 uint32_t omega2_osc_scope_bind(uint64_t *result, uint8_t *o_table, uint64_t o_id, const uint8_t *o_name, uint64_t o_name_len); 728 /* export fn osc_scope_push table edit scopetab to ulong */ 729 uint32_t omega2_osc_scope_push(uint64_t *result, uint8_t *o_table); 730 /* export fn osc_scope_pop table edit scopetab to void */ 731 uint32_t omega2_osc_scope_pop(uint64_t *result, uint8_t *o_table); 732 /* export fn osc_record_name records view uchar * name view uchar * stride ulong newest ulong to long */ 733 uint32_t omega2_osc_record_name(uint64_t *result, const uint8_t *o_records, uint64_t o_records_len, const uint8_t *o_name, uint64_t o_name_len, uint64_t o_stride, uint64_t o_newest); 734 /* export fn osc_find_function names view uchar * name view uchar * to long */ 735 uint32_t omega2_osc_find_function(uint64_t *result, const uint8_t *o_names, uint64_t o_names_len, const uint8_t *o_name, uint64_t o_name_len); 736 /* export fn osc_declare_symbol table edit scopetab symbols edit uchar 76800 name view uchar * ty view uchar 16 site view declsite to long */ 737 uint32_t omega2_osc_declare_symbol(uint64_t *result, uint8_t *o_table, uint8_t *o_symbols, uint64_t o_symbols_len, const uint8_t *o_name, uint64_t o_name_len, const uint8_t *o_ty, uint64_t o_ty_len, const uint8_t *o_site); 738 #define OMEGA2_IDENT_osc_pool "omega-ident 1 unit=osc_pool abi=2 profile=OM-2 src=`e4198750f150c94c266f9e64627ec9ad1ecbd3f6dd462814038991ab0916b968` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 739 const char *omega2_ident_osc_pool(void); 740 /* export fn osc_pool_init p edit poolstat cap ulong base ulong loop_depth long cond_depth long to void */ 741 uint32_t omega2_osc_pool_init(uint64_t *result, uint8_t *o_p, uint64_t o_cap, uint64_t o_base, uint64_t o_loop_depth, uint64_t o_cond_depth); 742 /* export fn osc_pool_alloc p edit poolstat loop_depth long cond_depth long to ulong */ 743 uint32_t omega2_osc_pool_alloc(uint64_t *result, uint8_t *o_p, uint64_t o_loop_depth, uint64_t o_cond_depth); 744 /* export fn osc_pool_free p edit poolstat loop_depth long cond_depth long to void */ 745 uint32_t omega2_osc_pool_free(uint64_t *result, uint8_t *o_p, uint64_t o_loop_depth, uint64_t o_cond_depth); 746 /* export fn osc_handle_allocate h edit handles to long */ 747 uint32_t omega2_osc_handle_allocate(uint64_t *result, uint8_t *o_h); 748 /* export fn osc_handle_bind h edit handles provenance long to ulong */ 749 uint32_t omega2_osc_handle_bind(uint64_t *result, uint8_t *o_h, uint64_t o_provenance); 750 /* export fn osc_handle_visit h edit handles sites edit ulong 1024 b ulong freeing ulong symbol long line ulong to ulong */ 751 uint32_t omega2_osc_handle_visit(uint64_t *result, uint8_t *o_h, uint64_t *o_sites, uint64_t o_sites_len, uint64_t o_b, uint64_t o_freeing, uint64_t o_symbol, uint64_t o_line); 752 /* export fn osc_handles_save h view handles s edit handles to void */ 753 uint32_t omega2_osc_handles_save(uint64_t *result, const uint8_t *o_h, uint8_t *o_s); 754 /* export fn osc_handles_restore h edit handles s view handles bindings ulong to void */ 755 uint32_t omega2_osc_handles_restore(uint64_t *result, uint8_t *o_h, const uint8_t *o_s, uint64_t o_bindings); 756 /* export fn osc_handles_settle h edit handles before view handles other view handles to void */ 757 uint32_t omega2_osc_handles_settle(uint64_t *result, uint8_t *o_h, const uint8_t *o_before, const uint8_t *o_other); 758 /* export fn osc_handle_frees h view handles before view handles ids edit uint 1024 to ulong */ 759 uint32_t omega2_osc_handle_frees(uint64_t *result, const uint8_t *o_h, const uint8_t *o_before, uint32_t *o_ids, uint64_t o_ids_len); 760 #define OMEGA2_IDENT_osc_trace "omega-ident 1 unit=osc_trace abi=2 profile=OM-2 src=`9db7adbb499a43db3ccff00093c4601eebc89450ea9f35e5d0a23ad9c014389a` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 761 const char *omega2_ident_osc_trace(void); 762 /* export fn osc_trace_record trace edit uchar * event view trinput to void */ 763 uint32_t omega2_osc_trace_record(uint64_t *result, uint8_t *o_trace, uint64_t o_trace_len, const uint8_t *o_event); 764 #define OMEGA2_IDENT_osc_lifetimes "omega-ident 1 unit=osc_lifetimes abi=2 profile=OM-2 src=`bd56e2ae3695ff70e2f6649282ec3acc4bec4ace7d547922377017bd12476ff7` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 765 const char *omega2_ident_osc_lifetimes(void); 766 /* export fn osc_scope_exit visible view ushort 480 symbols view uchar 76800 owners edit uchar 5120 borrows edit uchar 12288 work edit exitwork to ulong */ 767 uint32_t omega2_osc_scope_exit(uint64_t *result, const uint16_t *o_visible, uint64_t o_visible_len, const uint8_t *o_symbols, uint64_t o_symbols_len, uint8_t *o_owners, uint64_t o_owners_len, uint8_t *o_borrows, uint64_t o_borrows_len, uint8_t *o_work); 768 /* export fn osc_reserve_arena symbol edit uchar 160 loop_depth ulong branch_depth ulong cells ulong to ulong */ 769 uint32_t omega2_osc_reserve_arena(uint64_t *result, uint8_t *o_symbol, uint64_t o_symbol_len, uint64_t o_loop_depth, uint64_t o_branch_depth, uint64_t o_cells); 770 #define OMEGA2_IDENT_osc_flow "omega-ident 1 unit=osc_flow abi=2 profile=OM-2 src=`83d1ef67002d3cd989d2610061a4cbde2bb0318365840cd0882dc3acd80dda33` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 771 const char *omega2_ident_osc_flow(void); 772 /* export fn osc_statement_flow nodes view uchar * order edit ulong * flow edit uchar * to void */ 773 uint32_t omega2_osc_statement_flow(uint64_t *result, const uint8_t *o_nodes, uint64_t o_nodes_len, uint64_t *o_order, uint64_t o_order_len, uint8_t *o_flow, uint64_t o_flow_len); 774 /* export fn osc_block_partition blocks view uchar * insns view uchar * location out ulong 1 to ulong */ 775 uint32_t omega2_osc_block_partition(uint64_t *result, const uint8_t *o_blocks, uint64_t o_blocks_len, const uint8_t *o_insns, uint64_t o_insns_len, uint64_t *o_location); 776 /* export fn osc_definite_inputs transfers view ulong * inputs edit ulong * params ulong width ulong to void */ 777 uint32_t omega2_osc_definite_inputs(uint64_t *result, const uint64_t *o_transfers, uint64_t o_transfers_len, uint64_t *o_inputs, uint64_t o_inputs_len, uint64_t o_params, uint64_t o_width); 778 /* export fn osc_layout_blocks tags view short * source view ulong 24576 dest edit ulong 24576 blocks edit uint 1024 nblocks ulong to void */ 779 uint32_t omega2_osc_layout_blocks(uint64_t *result, const int16_t *o_tags, uint64_t o_tags_len, const uint64_t *o_source, uint64_t o_source_len, uint64_t *o_dest, uint64_t o_dest_len, uint32_t *o_blocks, uint64_t o_blocks_len, uint64_t o_nblocks); 780 /* export fn osc_ir_operands insn view uchar 48 uses edit ushort 6 to ulong */ 781 uint32_t omega2_osc_ir_operands(uint64_t *result, const uint8_t *o_insn, uint64_t o_insn_len, uint16_t *o_uses, uint64_t o_uses_len); 782 /* export fn osc_ir_resources insns view uchar * types view uchar 480 slices view uchar 480 params ulong to ulong */ 783 uint32_t omega2_osc_ir_resources(uint64_t *result, const uint8_t *o_insns, uint64_t o_insns_len, const uint8_t *o_types, uint64_t o_types_len, const uint8_t *o_slices, uint64_t o_slices_len, uint64_t o_params); 784 /* export fn osc_ir_block_transfer insns view uchar * record edit ulong * blocks ulong to void */ 785 uint32_t omega2_osc_ir_block_transfer(uint64_t *result, const uint8_t *o_insns, uint64_t o_insns_len, uint64_t *o_record, uint64_t o_record_len, uint64_t o_blocks); 786 /* export fn osc_ir_block_reads insns view uchar * available edit ulong * to ulong */ 787 uint32_t omega2_osc_ir_block_reads(uint64_t *result, const uint8_t *o_insns, uint64_t o_insns_len, uint64_t *o_available, uint64_t o_available_len); 788 /* export fn osc_ir_canonical scalar ulong value ulong to ulong */ 789 uint32_t omega2_osc_ir_canonical(uint64_t *result, uint64_t o_scalar, uint64_t o_value); 790 /* export fn osc_ir_contract terms view uchar * params view uchar 256 result ulong to ulong */ 791 uint32_t omega2_osc_ir_contract(uint64_t *result, const uint8_t *o_terms, uint64_t o_terms_len, const uint8_t *o_params, uint64_t o_params_len, uint64_t o_result); 792 /* export fn osc_begin_insn record out uchar 48 opcode ulong line ulong to ulong */ 793 uint32_t omega2_osc_begin_insn(uint64_t *result, uint8_t *o_record, uint64_t o_opcode, uint64_t o_line); 794 #define OMEGA2_IDENT_osc_artifact "omega-ident 1 unit=osc_artifact abi=2 profile=OM-2 src=`706f67fe3727c5b946a25ec75f013581fab0f9915b75473fdcff3f65f8377393` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 795 const char *omega2_ident_osc_artifact(void); 796 /* export fn osc_artifact_entry row view entry name view uchar * dst edit uchar * to long */ 797 uint32_t omega2_osc_artifact_entry(uint64_t *result, const uint8_t *o_row, const uint8_t *o_name, uint64_t o_name_len, uint8_t *o_dst, uint64_t o_dst_len); 798 /* export fn osc_artifact_hex digest view uchar 32 dst edit uchar 65 to void */ 799 uint32_t omega2_osc_artifact_hex(uint64_t *result, const uint8_t *o_digest, uint64_t o_digest_len, uint8_t *o_dst, uint64_t o_dst_len); 800 #define OMEGA2_IDENT_tensor_shape "omega-ident 1 unit=tensor_shape abi=2 profile=OM-2 src=`d720b5574598aa924ac4c75960b5256bd495fffa466c8a3ff7d915e692fb6039` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 801 const char *omega2_ident_tensor_shape(void); 802 /* export fn tensor_shape_size dims view ulong * elems edit ulong 1 to long */ 803 uint32_t omega2_tensor_shape_size(uint64_t *result, const uint64_t *o_dims, uint64_t o_dims_len, uint64_t *o_elems, uint64_t o_elems_len); 804 /* export fn tensor_dense_strides dims view ulong * strides edit ulong * to void */ 805 uint32_t omega2_tensor_dense_strides(uint64_t *result, const uint64_t *o_dims, uint64_t o_dims_len, uint64_t *o_strides, uint64_t o_strides_len); 806 /* export fn tensor_view_bounds dims view ulong * strides view ulong * offset ulong storage ulong to long */ 807 uint32_t omega2_tensor_view_bounds(uint64_t *result, const uint64_t *o_dims, uint64_t o_dims_len, const uint64_t *o_strides, uint64_t o_strides_len, uint64_t o_offset, uint64_t o_storage); 808 /* export fn tensor_broadcast_dims lhs view ulong * rhs view ulong * result_dims edit ulong * to long */ 809 uint32_t omega2_tensor_broadcast_dims(uint64_t *result, const uint64_t *o_lhs, uint64_t o_lhs_len, const uint64_t *o_rhs, uint64_t o_rhs_len, uint64_t *o_result_dims, uint64_t o_result_dims_len); 810 /* export fn tensor_is_row_major dims view ulong * strides view ulong * to ulong */ 811 uint32_t omega2_tensor_is_row_major(uint64_t *result, const uint64_t *o_dims, uint64_t o_dims_len, const uint64_t *o_strides, uint64_t o_strides_len); 812 /* export fn tensor_canonical_word dtype ulong word ulong to ulong */ 813 uint32_t omega2_tensor_canonical_word(uint64_t *result, uint64_t o_dtype, uint64_t o_word); 814 /* export fn tensor_value_bytes data edit uchar * dtype ulong native_le ulong to void */ 815 uint32_t omega2_tensor_value_bytes(uint64_t *result, uint8_t *o_data, uint64_t o_data_len, uint64_t o_dtype, uint64_t o_native_le); 816 /* export fn tstore_hex_name id view uchar 32 out_name out uchar 68 to void */ 817 uint32_t omega2_tstore_hex_name(uint64_t *result, const uint8_t *o_id, uint64_t o_id_len, uint8_t *o_out_name); 818 /* export fn tstore_is_payload_name name view uchar * to ulong */ 819 uint32_t omega2_tstore_is_payload_name(uint64_t *result, const uint8_t *o_name, uint64_t o_name_len); 820 /* export fn tstore_encode_header cap ulong count ulong out_hdr out uchar 24 to void */ 821 uint32_t omega2_tstore_encode_header(uint64_t *result, uint64_t o_cap, uint64_t o_count, uint8_t *o_out_hdr); 822 /* export fn tstore_decode_header in_hdr view uchar 24 expect_cap ulong count_out edit ulong 1 to ulong */ 823 uint32_t omega2_tstore_decode_header(uint64_t *result, const uint8_t *o_in_hdr, uint64_t o_in_hdr_len, uint64_t o_expect_cap, uint64_t *o_count_out, uint64_t o_count_out_len); 824 /* export fn tstore_encode_record meta view ulong 6 shape view ulong 8 value_id view uchar 32 payload_sha view uchar 32 out_rec out uchar 168 to void */ 825 uint32_t omega2_tstore_encode_record(uint64_t *result, const uint64_t *o_meta, uint64_t o_meta_len, const uint64_t *o_shape, uint64_t o_shape_len, const uint8_t *o_value_id, uint64_t o_value_id_len, const uint8_t *o_payload_sha, uint64_t o_payload_sha_len, uint8_t *o_out_rec); 826 /* export fn tstore_decode_record in_rec view uchar 168 meta edit ulong 6 shape edit ulong 8 value_id out uchar 32 payload_sha out uchar 32 to ulong */ 827 uint32_t omega2_tstore_decode_record(uint64_t *result, const uint8_t *o_in_rec, uint64_t o_in_rec_len, uint64_t *o_meta, uint64_t o_meta_len, uint64_t *o_shape, uint64_t o_shape_len, uint8_t *o_value_id, uint8_t *o_payload_sha); 828 #define OMEGA2_IDENT_tensor_ops "omega-ident 1 unit=tensor_ops abi=2 profile=OM-2 src=`05251d939ba3c0c015962f53ce9e3dba6cb73a87b69ba054402d083da7d7f453` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 829 const char *omega2_ident_tensor_ops(void); 830 /* export fn tensor_copy_op src view uchar * dst edit uchar * desc view ulong 21 to void */ 831 uint32_t omega2_tensor_copy_op(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint8_t *o_dst, uint64_t o_dst_len, const uint64_t *o_desc, uint64_t o_desc_len); 832 /* export fn tensor_plan_op in_a view ulong 8 in_b view ulong 8 out_buf edit ulong 24 meta view ulong 4 to void */ 833 uint32_t omega2_tensor_plan_op(uint64_t *result, const uint64_t *o_in_a, uint64_t o_in_a_len, const uint64_t *o_in_b, uint64_t o_in_b_len, uint64_t *o_out_buf, uint64_t o_out_buf_len, const uint64_t *o_meta, uint64_t o_meta_len); 834 #define OMEGA2_IDENT_sgd_update "omega-ident 1 unit=sgd_update abi=2 profile=OM-2 src=`4900cd2a690ee463b79e6f1b1331b53e658423062a5b159b0ebdb6264afff17d` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 835 const char *omega2_ident_sgd_update(void); 836 /* export fn tg_sgd_mode learning ulong momentum ulong to long */ 837 uint32_t omega2_tg_sgd_mode(uint64_t *result, uint64_t o_learning, uint64_t o_momentum); 838 /* export fn tg_update_velocity velocity edit uint * gradient view uint * bits ulong to void */ 839 uint32_t omega2_tg_update_velocity(uint64_t *result, uint32_t *o_velocity, uint64_t o_velocity_len, const uint32_t *o_gradient, uint64_t o_gradient_len, uint64_t o_bits); 840 /* export fn tg_update_params params edit uint * direction view uint * bits ulong to void */ 841 uint32_t omega2_tg_update_params(uint64_t *result, uint32_t *o_params, uint64_t o_params_len, const uint32_t *o_direction, uint64_t o_direction_len, uint64_t o_bits); 842 #define OMEGA2_IDENT_generation "omega-ident 1 unit=generation abi=2 profile=OM-2 src=`1d801bf38146d7764aab5ad160eee6214a4dac5337e899d49afad0da1a707c11` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 843 const char *omega2_ident_generation(void); 844 /* export fn tg_encode_hex digest view uchar 32 out_hex out uchar 64 to void */ 845 uint32_t omega2_tg_encode_hex(uint64_t *result, const uint8_t *o_digest, uint64_t o_digest_len, uint8_t *o_out_hex); 846 /* export fn tg_encode_pointer gen ulong digest view uchar 32 out_buf out uchar 95 to void */ 847 uint32_t omega2_tg_encode_pointer(uint64_t *result, uint64_t o_gen, const uint8_t *o_digest, uint64_t o_digest_len, uint8_t *o_out_buf); 848 /* export fn tg_decode_pointer buf view uchar 95 gen_out edit ulong 1 digest_out out uchar 32 to ulong */ 849 uint32_t omega2_tg_decode_pointer(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len, uint64_t *o_gen_out, uint64_t o_gen_out_len, uint8_t *o_digest_out); 850 /* export fn tg_encode_dispatch fields view ulong 6 refs view ulong 9 base_digest view uchar 32 rec out uchar 192 to void */ 851 uint32_t omega2_tg_encode_dispatch(uint64_t *result, const uint64_t *o_fields, uint64_t o_fields_len, const uint64_t *o_refs, uint64_t o_refs_len, const uint8_t *o_base_digest, uint64_t o_base_digest_len, uint8_t *o_rec); 852 /* export fn tg_set_dispatch_seq rec edit uchar 192 seq ulong to void */ 853 uint32_t omega2_tg_set_dispatch_seq(uint64_t *result, uint8_t *o_rec, uint64_t o_rec_len, uint64_t o_seq); 854 /* export fn tg_check_dispatch_header rec view uchar 192 expect_seq ulong to ulong */ 855 uint32_t omega2_tg_check_dispatch_header(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, uint64_t o_expect_seq); 856 /* export fn tg_decode_dispatch rec view uchar 192 fields edit ulong 7 refs edit ulong 9 to ulong */ 857 uint32_t omega2_tg_decode_dispatch(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, uint64_t *o_fields, uint64_t o_fields_len, uint64_t *o_refs, uint64_t o_refs_len); 858 /* export fn tg_encode_generation fields view ulong 5 dispatch view uchar 32 previous view uchar 32 header out uchar 152 to void */ 859 uint32_t omega2_tg_encode_generation(uint64_t *result, const uint64_t *o_fields, uint64_t o_fields_len, const uint8_t *o_dispatch, uint64_t o_dispatch_len, const uint8_t *o_previous, uint64_t o_previous_len, uint8_t *o_header); 860 /* export fn tg_decode_generation header view uchar 152 size ulong expected ulong fields edit ulong 5 to ulong */ 861 uint32_t omega2_tg_decode_generation(uint64_t *result, const uint8_t *o_header, uint64_t o_header_len, uint64_t o_size, uint64_t o_expected, uint64_t *o_fields, uint64_t o_fields_len); 862 #define OMEGA2_IDENT_gradient_shape "omega-ident 1 unit=gradient_shape abi=2 profile=OM-2 src=`72bbfb692f58df6113c6b9d3ab7028ec40185ada88baafd773e02145ddde8d62` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 863 const char *omega2_ident_gradient_shape(void); 864 /* export fn ad_unbroadcast_steps source view ulong * target view ulong * steps edit uchar 8 to long */ 865 uint32_t omega2_ad_unbroadcast_steps(uint64_t *result, const uint64_t *o_source, uint64_t o_source_len, const uint64_t *o_target, uint64_t o_target_len, uint8_t *o_steps, uint64_t o_steps_len); 866 /* export fn ad_same_shape lhs view ulong * rhs view ulong * to ulong */ 867 uint32_t omega2_ad_same_shape(uint64_t *result, const uint64_t *o_lhs, uint64_t o_lhs_len, const uint64_t *o_rhs, uint64_t o_rhs_len); 868 /* export fn ad_restore_axis shape view ulong * axis ulong restored edit ulong * to void */ 869 uint32_t omega2_ad_restore_axis(uint64_t *result, const uint64_t *o_shape, uint64_t o_shape_len, uint64_t o_axis, uint64_t *o_restored, uint64_t o_restored_len); 870 #define OMEGA2_IDENT_allen_core "omega-ident 1 unit=allen_core abi=2 profile=OM-2 src=`58d1640ab7498063353b5cd35c151819b940fe5a6caf31cda033ce2af5a9dc39` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 871 const char *omega2_ident_allen_core(void); 872 /* export fn allen_encode_hex src view uchar * out_hex edit uchar * to void */ 873 uint32_t omega2_allen_encode_hex(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint8_t *o_out_hex, uint64_t o_out_hex_len); 874 /* export fn allen_decode_hex in_hex view uchar * out_bytes edit uchar * to ulong */ 875 uint32_t omega2_allen_decode_hex(uint64_t *result, const uint8_t *o_in_hex, uint64_t o_in_hex_len, uint8_t *o_out_bytes, uint64_t o_out_bytes_len); 876 /* export fn allen_check_lineage cortex view uchar 32 genesis view uchar 32 has_genesis ulong to long */ 877 uint32_t omega2_allen_check_lineage(uint64_t *result, const uint8_t *o_cortex, uint64_t o_cortex_len, const uint8_t *o_genesis, uint64_t o_genesis_len, uint64_t o_has_genesis); 878 /* export fn allen_le64 id view uchar 8 to ulong */ 879 uint32_t omega2_allen_le64(uint64_t *result, const uint8_t *o_id, uint64_t o_id_len); 880 #define OMEGA2_IDENT_rx_path_core "omega-ident 1 unit=rx_path_core abi=2 profile=OM-2 src=`b92f0f3da9e2f1cd39d279267e57b4ba1ae307397b5565e254dab0b7f95766aa` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 881 const char *omega2_ident_rx_path_core(void); 882 /* export fn rxp_valid_role family ulong role ulong to ulong */ 883 uint32_t omega2_rxp_valid_role(uint64_t *result, uint64_t o_family, uint64_t o_role); 884 /* export fn rxp_check_step family ulong role ulong n_in ulong n_out ulong plen ulong to long */ 885 uint32_t omega2_rxp_check_step(uint64_t *result, uint64_t o_family, uint64_t o_role, uint64_t o_n_in, uint64_t o_n_out, uint64_t o_plen); 886 /* export fn rxp_step_size n_in ulong n_out ulong plen ulong to ulong */ 887 uint32_t omega2_rxp_step_size(uint64_t *result, uint64_t o_n_in, uint64_t o_n_out, uint64_t o_plen); 888 /* export fn rxp_bytes_cmp a view uchar * b view uchar * to long */ 889 uint32_t omega2_rxp_bytes_cmp(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 890 /* export fn rxp_encode_header count ulong attr_count ulong ids view uchar 96 out_hdr out uchar 106 to void */ 891 uint32_t omega2_rxp_encode_header(uint64_t *result, uint64_t o_count, uint64_t o_attr_count, const uint8_t *o_ids, uint64_t o_ids_len, uint8_t *o_out_hdr); 892 /* export fn rxp_decode_header in_hdr view uchar 106 counts edit ulong 2 ids out uchar 96 to long */ 893 uint32_t omega2_rxp_decode_header(uint64_t *result, const uint8_t *o_in_hdr, uint64_t o_in_hdr_len, uint64_t *o_counts, uint64_t o_counts_len, uint8_t *o_ids); 894 /* export fn rxp_encode_step_head idx ulong family ulong role ulong in_cnt ulong out_buf out uchar 8 to void */ 895 uint32_t omega2_rxp_encode_step_head(uint64_t *result, uint64_t o_idx, uint64_t o_family, uint64_t o_role, uint64_t o_in_cnt, uint8_t *o_out_buf); 896 /* export fn rxp_decode_step_head in_buf view uchar 8 expect_idx ulong fields edit ulong 3 to long */ 897 uint32_t omega2_rxp_decode_step_head(uint64_t *result, const uint8_t *o_in_buf, uint64_t o_in_buf_len, uint64_t o_expect_idx, uint64_t *o_fields, uint64_t o_fields_len); 898 #define OMEGA2_IDENT_ans_core "omega-ident 1 unit=ans_core abi=2 profile=OM-2 src=`1b0e9d59beb2cb33f51b80813813345232c62929fac783aca0043e8c26f6382b` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 899 const char *omega2_ident_ans_core(void); 900 /* export fn ans_om_component_atom comp ulong to ulong */ 901 uint32_t omega2_ans_om_component_atom(uint64_t *result, uint64_t o_comp); 902 /* export fn ans_om_validate_ref version ulong vals view ulong 23 to long */ 903 uint32_t omega2_ans_om_validate_ref(uint64_t *result, uint64_t o_version, const uint64_t *o_vals, uint64_t o_vals_len); 904 /* export fn ans_om_drift x view ulong 4 p_diag view ulong 4 out_vals edit ulong 3 to long */ 905 uint32_t omega2_ans_om_drift(uint64_t *result, const uint64_t *o_x, uint64_t o_x_len, const uint64_t *o_p_diag, uint64_t o_p_diag_len, uint64_t *o_out_vals, uint64_t o_out_vals_len); 906 /* export fn ans_om_autonomy_tier x view ulong 4 limits view ulong 4 tsig view ulong 3 sigma_bits ulong disagreement ulong to ulong */ 907 uint32_t omega2_ans_om_autonomy_tier(uint64_t *result, const uint64_t *o_x, uint64_t o_x_len, const uint64_t *o_limits, uint64_t o_limits_len, const uint64_t *o_tsig, uint64_t o_tsig_len, uint64_t o_sigma_bits, uint64_t o_disagreement); 908 /* export fn ans_om_promotion_result flags view ulong 4 d_bits ulong lim_bits ulong to ulong */ 909 uint32_t omega2_ans_om_promotion_result(uint64_t *result, const uint64_t *o_flags, uint64_t o_flags_len, uint64_t o_d_bits, uint64_t o_lim_bits); 910 /* export fn ans_om_check_action kind ulong risk_bits ulong touches view uint 10 id view uchar 32 to long */ 911 uint32_t omega2_ans_om_check_action(uint64_t *result, uint64_t o_kind, uint64_t o_risk_bits, const uint32_t *o_touches, uint64_t o_touches_len, const uint8_t *o_id, uint64_t o_id_len); 912 /* export fn ans_om_check_meas cls ulong z view ulong 4 to long */ 913 uint32_t omega2_ans_om_check_meas(uint64_t *result, uint64_t o_cls, const uint64_t *o_z, uint64_t o_z_len); 914 /* export fn ans_om_write_header kind ulong out_hdr out uchar 8 to void */ 915 uint32_t omega2_ans_om_write_header(uint64_t *result, uint64_t o_kind, uint8_t *o_out_hdr); 916 /* export fn ans_om_check_header hdr view uchar 8 kind ulong to ulong */ 917 uint32_t omega2_ans_om_check_header(uint64_t *result, const uint8_t *o_hdr, uint64_t o_hdr_len, uint64_t o_kind); 918 /* export fn ans_om_canon_f64 bits ulong to ulong */ 919 uint32_t omega2_ans_om_canon_f64(uint64_t *result, uint64_t o_bits); 920 #define OMEGA2_IDENT_reservoir_readout "omega-ident 1 unit=reservoir_readout abi=2 profile=OM-2 src=`751118826a3c2d25452e972ca91f3fef47872798a017edc44d43e38e9d7d8175` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 921 const char *omega2_ident_reservoir_readout(void); 922 /* export fn res_om_fit_normal x view ulong * y view ulong * ws edit ulong 67334 meta view ulong 4 to long */ 923 uint32_t omega2_res_om_fit_normal(uint64_t *result, const uint64_t *o_x, uint64_t o_x_len, const uint64_t *o_y, uint64_t o_y_len, uint64_t *o_ws, uint64_t o_ws_len, const uint64_t *o_meta, uint64_t o_meta_len); 924 /* export fn res_om_fit_solve ws edit ulong 67334 nf ulong no ulong to long */ 925 uint32_t omega2_res_om_fit_solve(uint64_t *result, uint64_t *o_ws, uint64_t o_ws_len, uint64_t o_nf, uint64_t o_no); 926 /* export fn res_om_readout_apply w view ulong 1028 x view ulong * y_out edit ulong * meta view ulong 2 to long */ 927 uint32_t omega2_res_om_readout_apply(uint64_t *result, const uint64_t *o_w, uint64_t o_w_len, const uint64_t *o_x, uint64_t o_x_len, uint64_t *o_y_out, uint64_t o_y_out_len, const uint64_t *o_meta, uint64_t o_meta_len); 928 /* export fn res_om_nrmse ref view ulong * pred view ulong * out_bits edit ulong 1 to long */ 929 uint32_t omega2_res_om_nrmse(uint64_t *result, const uint64_t *o_ref, uint64_t o_ref_len, const uint64_t *o_pred, uint64_t o_pred_len, uint64_t *o_out_bits, uint64_t o_out_bits_len); 930 #define OMEGA2_IDENT_cl_core "omega-ident 1 unit=cl_core abi=2 profile=OM-2 src=`ce0062b9410c71f598029a88fa66aaa8a82a806a92b34b55831bfc4c0076e5ab` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 931 const char *omega2_ident_cl_core(void); 932 /* export fn cl_om_put_le val ulong nbytes ulong out_buf out uchar 8 to void */ 933 uint32_t omega2_cl_om_put_le(uint64_t *result, uint64_t o_val, uint64_t o_nbytes, uint8_t *o_out_buf); 934 /* export fn cl_om_get_le in_buf view uchar 8 nbytes ulong to ulong */ 935 uint32_t omega2_cl_om_get_le(uint64_t *result, const uint8_t *o_in_buf, uint64_t o_in_buf_len, uint64_t o_nbytes); 936 /* export fn cl_om_hex src view uchar * out_hex edit uchar * to void */ 937 uint32_t omega2_cl_om_hex(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint8_t *o_out_hex, uint64_t o_out_hex_len); 938 /* export fn cl_om_contains hay view uchar * needle view uchar * to ulong */ 939 uint32_t omega2_cl_om_contains(uint64_t *result, const uint8_t *o_hay, uint64_t o_hay_len, const uint8_t *o_needle, uint64_t o_needle_len); 940 #define OMEGA2_IDENT_rx_dual_core "omega-ident 1 unit=rx_dual_core abi=2 profile=OM-2 src=`648b96b9693a5d6e0c4a0d061694d2b7070d101982128ae1bec47da904cf28a5` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 941 const char *omega2_ident_rx_dual_core(void); 942 /* export fn rx_dual_om_digest_is_zero d view uchar 32 to ulong */ 943 uint32_t omega2_rx_dual_om_digest_is_zero(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len); 944 /* export fn rx_dual_om_digest_eq a view uchar 32 b view uchar 32 to ulong */ 945 uint32_t omega2_rx_dual_om_digest_eq(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 946 /* export fn rx_dual_om_unit_valid u ulong to ulong */ 947 uint32_t omega2_rx_dual_om_unit_valid(uint64_t *result, uint64_t o_u); 948 /* export fn rx_dual_om_ids_ascending ids view uint * n ulong to ulong */ 949 uint32_t omega2_rx_dual_om_ids_ascending(uint64_t *result, const uint32_t *o_ids, uint64_t o_ids_len, uint64_t o_n); 950 /* export fn rx_dual_om_check_site_name name view uchar 32 to ulong */ 951 uint32_t omega2_rx_dual_om_check_site_name(uint64_t *result, const uint8_t *o_name, uint64_t o_name_len); 952 /* export fn rx_dual_om_put_u32 dst edit uchar * pos ulong v ulong to void */ 953 uint32_t omega2_rx_dual_om_put_u32(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 954 /* export fn rx_dual_om_put_u64 dst edit uchar * pos ulong v ulong to void */ 955 uint32_t omega2_rx_dual_om_put_u64(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 956 /* export fn rx_dual_om_put_f64_canon dst edit uchar * pos ulong bits ulong to void */ 957 uint32_t omega2_rx_dual_om_put_f64_canon(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_bits); 958 /* export fn rx_dual_om_get_u32 src view uchar * pos ulong to ulong */ 959 uint32_t omega2_rx_dual_om_get_u32(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 960 /* export fn rx_dual_om_get_u64 src view uchar * pos ulong to ulong */ 961 uint32_t omega2_rx_dual_om_get_u64(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 962 /* export fn rx_dual_om_consequence_check meta view ulong 2 vals view ulong 4 to ulong */ 963 uint32_t omega2_rx_dual_om_consequence_check(uint64_t *result, const uint64_t *o_meta, uint64_t o_meta_len, const uint64_t *o_vals, uint64_t o_vals_len); 964 /* export fn rx_dual_om_consequence_error pred_b ulong sd_b ulong meas_b ulong to ulong */ 965 uint32_t omega2_rx_dual_om_consequence_error(uint64_t *result, uint64_t o_pred_b, uint64_t o_sd_b, uint64_t o_meas_b); 966 /* export fn rx_dual_om_unit_from_est u ulong to ulong */ 967 uint32_t omega2_rx_dual_om_unit_from_est(uint64_t *result, uint64_t o_u); 968 /* export fn rx_dual_om_classify_state flags view ulong 6 to ulong */ 969 uint32_t omega2_rx_dual_om_classify_state(uint64_t *result, const uint64_t *o_flags, uint64_t o_flags_len); 970 /* export fn rx_dual_om_step_lambda p view ulong 9 out_b edit ulong 1 to ulong */ 971 uint32_t omega2_rx_dual_om_step_lambda(uint64_t *result, const uint64_t *o_p, uint64_t o_p_len, uint64_t *o_out_b, uint64_t o_out_b_len); 972 /* export fn rx_dual_om_parse_udec p view uchar * n ulong out_b edit ulong 1 to ulong */ 973 uint32_t omega2_rx_dual_om_parse_udec(uint64_t *result, const uint8_t *o_p, uint64_t o_p_len, uint64_t o_n, uint64_t *o_out_b, uint64_t o_out_b_len); 974 /* export fn rx_dual_om_reversals xbytes view uchar * lo ulong hi ulong to ulong */ 975 uint32_t omega2_rx_dual_om_reversals(uint64_t *result, const uint8_t *o_xbytes, uint64_t o_xbytes_len, uint64_t o_lo, uint64_t o_hi); 976 /* export fn rx_dual_om_peak_to_peak xbytes view uchar * lo ulong hi ulong to ulong */ 977 uint32_t omega2_rx_dual_om_peak_to_peak(uint64_t *result, const uint8_t *o_xbytes, uint64_t o_xbytes_len, uint64_t o_lo, uint64_t o_hi); 978 #define OMEGA2_IDENT_applic_core "omega-ident 1 unit=applic_core abi=2 profile=OM-2 src=`cad1df549437c1751e02309547b021ee880e68db9fc65e66193fff08a4713bda` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 979 const char *omega2_ident_applic_core(void); 980 /* export fn applic_om_rng_next st edit ulong 1 to ulong */ 981 uint32_t omega2_applic_om_rng_next(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 982 /* export fn applic_om_rng_unit st edit ulong 1 to ulong */ 983 uint32_t omega2_applic_om_rng_unit(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 984 /* export fn applic_om_rng_range st edit ulong 1 lo ulong hi ulong to ulong */ 985 uint32_t omega2_applic_om_rng_range(uint64_t *result, uint64_t *o_st, uint64_t o_st_len, uint64_t o_lo, uint64_t o_hi); 986 /* export fn applic_om_seed wl ulong seed_index ulong to ulong */ 987 uint32_t omega2_applic_om_seed(uint64_t *result, uint64_t o_wl, uint64_t o_seed_index); 988 /* export fn applic_om_sweep_sigma seed_index ulong to ulong */ 989 uint32_t omega2_applic_om_sweep_sigma(uint64_t *result, uint64_t o_seed_index); 990 /* export fn applic_om_family_is_het wl ulong step ulong to ulong */ 991 uint32_t omega2_applic_om_family_is_het(uint64_t *result, uint64_t o_wl, uint64_t o_step); 992 /* export fn applic_om_capacity_this_step wl ulong step ulong to ulong */ 993 uint32_t omega2_applic_om_capacity_this_step(uint64_t *result, uint64_t o_wl, uint64_t o_step); 994 /* export fn applic_om_ledger_ok counts view ulong 5 to ulong */ 995 uint32_t omega2_applic_om_ledger_ok(uint64_t *result, const uint64_t *o_counts, uint64_t o_counts_len); 996 /* export fn applic_om_predict_with_arrivals inp view ulong 8 out_p edit ulong 3 to void */ 997 uint32_t omega2_applic_om_predict_with_arrivals(uint64_t *result, const uint64_t *o_inp, uint64_t o_inp_len, uint64_t *o_out_p, uint64_t o_out_p_len); 998 /* export fn applic_om_error_finalize se view ulong 4 scored ulong out_e edit ulong 4 to void */ 999 uint32_t omega2_applic_om_error_finalize(uint64_t *result, const uint64_t *o_se, uint64_t o_se_len, uint64_t o_scored, uint64_t *o_out_e, uint64_t o_out_e_len); 1000 /* export fn applic_om_sort_desc items view uchar * idx edit uint * n ulong to void */ 1001 uint32_t omega2_applic_om_sort_desc(uint64_t *result, const uint8_t *o_items, uint64_t o_items_len, uint32_t *o_idx, uint64_t o_idx_len, uint64_t o_n); 1002 /* export fn applic_om_pearson xbytes view uchar * ybytes view uchar * n ulong out_r edit ulong 2 to void */ 1003 uint32_t omega2_applic_om_pearson(uint64_t *result, const uint8_t *o_xbytes, uint64_t o_xbytes_len, const uint8_t *o_ybytes, uint64_t o_ybytes_len, uint64_t o_n, uint64_t *o_out_r, uint64_t o_out_r_len); 1004 #define OMEGA2_IDENT_est_core "omega-ident 1 unit=est_core abi=2 profile=OM-2 src=`d3c68bf4dace0ba5cfc4e48fe4490e48e3b09bd4631d9c1b53907ec1b2891cab` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1005 const char *omega2_ident_est_core(void); 1006 /* export fn est_om_digest_is_zero d view uchar 32 to ulong */ 1007 uint32_t omega2_est_om_digest_is_zero(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len); 1008 /* export fn est_om_check_finite a view ulong * cnt ulong to long */ 1009 uint32_t omega2_est_om_check_finite(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, uint64_t o_cnt); 1010 /* export fn est_om_check_units u view uint * cnt ulong to long */ 1011 uint32_t omega2_est_om_check_units(uint64_t *result, const uint32_t *o_u, uint64_t o_u_len, uint64_t o_cnt); 1012 /* export fn est_om_check_covariance a view ulong * n ulong work edit ulong 72 tols view ulong 4 to long */ 1013 uint32_t omega2_est_om_check_covariance(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, uint64_t o_n, uint64_t *o_work, uint64_t o_work_len, const uint64_t *o_tols, uint64_t o_tols_len); 1014 /* export fn est_om_chol s view ulong * l edit ulong 64 n ulong to ulong */ 1015 uint32_t omega2_est_om_chol(uint64_t *result, const uint64_t *o_s, uint64_t o_s_len, uint64_t *o_l, uint64_t o_l_len, uint64_t o_n); 1016 /* export fn est_om_fwd l view ulong 64 b view ulong 8 y edit ulong 8 n ulong to void */ 1017 uint32_t omega2_est_om_fwd(uint64_t *result, const uint64_t *o_l, uint64_t o_l_len, const uint64_t *o_b, uint64_t o_b_len, uint64_t *o_y, uint64_t o_y_len, uint64_t o_n); 1018 /* export fn est_om_bwd l view ulong 64 y view ulong 8 x edit ulong 8 n ulong to void */ 1019 uint32_t omega2_est_om_bwd(uint64_t *result, const uint64_t *o_l, uint64_t o_l_len, const uint64_t *o_y, uint64_t o_y_len, uint64_t *o_x, uint64_t o_x_len, uint64_t o_n); 1020 /* export fn est_om_mm a view ulong 64 b view ulong 64 c edit ulong 64 dims view ulong 3 to void */ 1021 uint32_t omega2_est_om_mm(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, uint64_t *o_c, uint64_t o_c_len, const uint64_t *o_dims, uint64_t o_dims_len); 1022 /* export fn est_om_mmt a view ulong 64 b view ulong 64 c edit ulong 64 dims view ulong 3 to void */ 1023 uint32_t omega2_est_om_mmt(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, uint64_t *o_c, uint64_t o_c_len, const uint64_t *o_dims, uint64_t o_dims_len); 1024 /* export fn est_om_symmetrize a edit ulong * n ulong to void */ 1025 uint32_t omega2_est_om_symmetrize(uint64_t *result, uint64_t *o_a, uint64_t o_a_len, uint64_t o_n); 1026 /* export fn est_om_put_u32 dst edit uchar * pos ulong v ulong to void */ 1027 uint32_t omega2_est_om_put_u32(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1028 /* export fn est_om_put_u64 dst edit uchar * pos ulong v ulong to void */ 1029 uint32_t omega2_est_om_put_u64(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1030 /* export fn est_om_put_f64_canon dst edit uchar * pos ulong bits ulong to void */ 1031 uint32_t omega2_est_om_put_f64_canon(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_bits); 1032 /* export fn est_om_get_u32 src view uchar * pos ulong to ulong */ 1033 uint32_t omega2_est_om_get_u32(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1034 /* export fn est_om_get_u64 src view uchar * pos ulong to ulong */ 1035 uint32_t omega2_est_om_get_u64(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1036 /* export fn est_om_write_hdr dst edit uchar * kind ulong to void */ 1037 uint32_t omega2_est_om_write_hdr(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_kind); 1038 /* export fn est_om_check_hdr src view uchar * slen ulong want ulong to long */ 1039 uint32_t omega2_est_om_check_hdr(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_slen, uint64_t o_want); 1040 /* export fn est_om_mix_check w view ulong 3 v view ulong 3 k ulong tol_bits ulong to long */ 1041 uint32_t omega2_est_om_mix_check(uint64_t *result, const uint64_t *o_w, uint64_t o_w_len, const uint64_t *o_v, uint64_t o_v_len, uint64_t o_k, uint64_t o_tol_bits); 1042 /* export fn est_om_mix_total_var w view ulong 3 v view ulong 3 k ulong to ulong */ 1043 uint32_t omega2_est_om_mix_total_var(uint64_t *result, const uint64_t *o_w, uint64_t o_w_len, const uint64_t *o_v, uint64_t o_v_len, uint64_t o_k); 1044 #define OMEGA2_IDENT_st_core "omega-ident 1 unit=st_core abi=2 profile=OM-2 src=`52883dffb8b8f611a158a89a1861b7843ba50e3fd0912d5372bcb8f6a7112a18` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1045 const char *omega2_ident_st_core(void); 1046 /* export fn st_om_hex_lower src view uchar * n ulong dst edit uchar * to void */ 1047 uint32_t omega2_st_om_hex_lower(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_n, uint8_t *o_dst, uint64_t o_dst_len); 1048 /* export fn st_om_ct_equal a view uchar * b view uchar * n ulong to ulong */ 1049 uint32_t omega2_st_om_ct_equal(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len, uint64_t o_n); 1050 /* export fn st_om_label_ok s view uchar * n ulong lim ulong to ulong */ 1051 uint32_t omega2_st_om_label_ok(uint64_t *result, const uint8_t *o_s, uint64_t o_s_len, uint64_t o_n, uint64_t o_lim); 1052 /* export fn st_om_count_tasks t view uchar * slen ulong to ulong */ 1053 uint32_t omega2_st_om_count_tasks(uint64_t *result, const uint8_t *o_t, uint64_t o_t_len, uint64_t o_slen); 1054 /* export fn st_om_put_be64_be32 dst edit uchar 12 l ulong count ulong to void */ 1055 uint32_t omega2_st_om_put_be64_be32(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_l, uint64_t o_count); 1056 /* export fn st_om_parse_hex32 v view uchar * n ulong dst edit uchar 32 to long */ 1057 uint32_t omega2_st_om_parse_hex32(uint64_t *result, const uint8_t *o_v, uint64_t o_v_len, uint64_t o_n, uint8_t *o_dst, uint64_t o_dst_len); 1058 /* export fn st_om_parse_dec v view uchar * n ulong max_v ulong dst edit ulong 1 to long */ 1059 uint32_t omega2_st_om_parse_dec(uint64_t *result, const uint8_t *o_v, uint64_t o_v_len, uint64_t o_n, uint64_t o_max_v, uint64_t *o_dst, uint64_t o_dst_len); 1060 /* export fn st_om_parse_i64 s view uchar * n ulong dst edit ulong 1 to ulong */ 1061 uint32_t omega2_st_om_parse_i64(uint64_t *result, const uint8_t *o_s, uint64_t o_s_len, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len); 1062 /* export fn st_om_check_rec_bytes rec view uchar * slen ulong to long */ 1063 uint32_t omega2_st_om_check_rec_bytes(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, uint64_t o_slen); 1064 #define OMEGA2_IDENT_lang_core "omega-ident 1 unit=lang_core abi=2 profile=OM-2 src=`bcffb2de39ca154801325a605c4422da581c219019fd6db54a2e6e64f42bb46c` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1065 const char *omega2_ident_lang_core(void); 1066 /* export fn lang_om_is_ident_start c ulong to ulong */ 1067 uint32_t omega2_lang_om_is_ident_start(uint64_t *result, uint64_t o_c); 1068 /* export fn lang_om_is_ident_char c ulong to ulong */ 1069 uint32_t omega2_lang_om_is_ident_char(uint64_t *result, uint64_t o_c); 1070 /* export fn lang_om_digit_value c ulong to ulong */ 1071 uint32_t omega2_lang_om_digit_value(uint64_t *result, uint64_t o_c); 1072 /* export fn lang_om_lex_int src view uchar * slen ulong pos ulong dst edit ulong 3 to ulong */ 1073 uint32_t omega2_lang_om_lex_int(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_slen, uint64_t o_pos, uint64_t *o_dst, uint64_t o_dst_len); 1074 /* export fn lang_om_keyword w view uchar * n ulong to ulong */ 1075 uint32_t omega2_lang_om_keyword(uint64_t *result, const uint8_t *o_w, uint64_t o_w_len, uint64_t o_n); 1076 /* export fn lang_om_punct c ulong d ulong dst edit ulong 2 to ulong */ 1077 uint32_t omega2_lang_om_punct(uint64_t *result, uint64_t o_c, uint64_t o_d, uint64_t *o_dst, uint64_t o_dst_len); 1078 #define OMEGA2_IDENT_visor_core "omega-ident 1 unit=visor_core abi=2 profile=OM-2 src=`2de97951046b83e096410d1e2faef3df1f0354e72cf3f999813b887f260020e6` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1079 const char *omega2_ident_visor_core(void); 1080 /* export fn visor_om_check_bytes p view uchar * n ulong dst edit ulong 2 to ulong */ 1081 uint32_t omega2_visor_om_check_bytes(uint64_t *result, const uint8_t *o_p, uint64_t o_p_len, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len); 1082 /* export fn visor_om_trim_blanks p view uchar * n ulong dst edit ulong 2 to void */ 1083 uint32_t omega2_visor_om_trim_blanks(uint64_t *result, const uint8_t *o_p, uint64_t o_p_len, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len); 1084 /* export fn visor_om_cmd_arity cmd ulong dst edit ulong 2 to ulong */ 1085 uint32_t omega2_visor_om_cmd_arity(uint64_t *result, uint64_t o_cmd, uint64_t *o_dst, uint64_t o_dst_len); 1086 #define OMEGA2_IDENT_fab_core "omega-ident 1 unit=fab_core abi=2 profile=OM-2 src=`6b9d30ebcc7e6a128c598004d1c0d5c7ffb084fa1a96868c4eea11102a554e75` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1087 const char *omega2_ident_fab_core(void); 1088 /* export fn fab_om_ct_equal a view uchar * b view uchar * n ulong to ulong */ 1089 uint32_t omega2_fab_om_ct_equal(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len, uint64_t o_n); 1090 /* export fn fab_om_hmac_xor_pad k view uchar 64 pad edit uchar 64 xbyte ulong to void */ 1091 uint32_t omega2_fab_om_hmac_xor_pad(uint64_t *result, const uint8_t *o_k, uint64_t o_k_len, uint8_t *o_pad, uint64_t o_pad_len, uint64_t o_xbyte); 1092 /* export fn fab_om_put_u16 dst edit uchar * pos ulong v ulong to void */ 1093 uint32_t omega2_fab_om_put_u16(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1094 /* export fn fab_om_put_u32 dst edit uchar * pos ulong v ulong to void */ 1095 uint32_t omega2_fab_om_put_u32(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1096 /* export fn fab_om_put_u64 dst edit uchar * pos ulong v ulong to void */ 1097 uint32_t omega2_fab_om_put_u64(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1098 /* export fn fab_om_get_u16 src view uchar * pos ulong to ulong */ 1099 uint32_t omega2_fab_om_get_u16(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1100 /* export fn fab_om_get_u32 src view uchar * pos ulong to ulong */ 1101 uint32_t omega2_fab_om_get_u32(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1102 /* export fn fab_om_get_u64 src view uchar * pos ulong to ulong */ 1103 uint32_t omega2_fab_om_get_u64(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1104 /* export fn fab_om_body_size kind ulong to ulong */ 1105 uint32_t omega2_fab_om_body_size(uint64_t *result, uint64_t o_kind); 1106 /* export fn fab_om_digest_nonzero_eq a view uchar 32 b view uchar 32 to ulong */ 1107 uint32_t omega2_fab_om_digest_nonzero_eq(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 1108 #define OMEGA2_IDENT_oma_core "omega-ident 1 unit=oma_core abi=2 profile=OM-2 src=`55d38ec177ae7f2276a6bf264c52e9958d896bba31ed614c03c1e1d4c55ade2e` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1109 const char *omega2_ident_oma_core(void); 1110 /* export fn oma_om_block_encode src view uchar 64 dst edit ulong 2 to ulong */ 1111 uint32_t omega2_oma_om_block_encode(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t *o_dst, uint64_t o_dst_len); 1112 /* export fn oma_om_block_decode pos ulong neg_p ulong dst edit uchar 64 to ulong */ 1113 uint32_t omega2_oma_om_block_decode(uint64_t *result, uint64_t o_pos, uint64_t o_neg_p, uint8_t *o_dst, uint64_t o_dst_len); 1114 /* export fn oma_om_block_add a view ulong 2 b view ulong 2 dst edit ulong 4 to ulong */ 1115 uint32_t omega2_oma_om_block_add(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, uint64_t *o_dst, uint64_t o_dst_len); 1116 /* export fn oma_om_block_mul a view ulong 2 b view ulong 2 dst edit ulong 2 to ulong */ 1117 uint32_t omega2_oma_om_block_mul(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, uint64_t *o_dst, uint64_t o_dst_len); 1118 /* export fn oma_om_block_dot a view ulong 2 b view ulong 2 dst edit ulong 1 to ulong */ 1119 uint32_t omega2_oma_om_block_dot(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, uint64_t *o_dst, uint64_t o_dst_len); 1120 /* export fn oma_om_z3_encode src view uchar 64 dst edit ulong 2 to ulong */ 1121 uint32_t omega2_oma_om_z3_encode(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t *o_dst, uint64_t o_dst_len); 1122 /* export fn oma_om_z3_decode one ulong two ulong dst edit uchar 64 to ulong */ 1123 uint32_t omega2_oma_om_z3_decode(uint64_t *result, uint64_t o_one, uint64_t o_two, uint8_t *o_dst, uint64_t o_dst_len); 1124 /* export fn oma_om_block_serialize pos ulong neg_p ulong dst edit uchar 16 to ulong */ 1125 uint32_t omega2_oma_om_block_serialize(uint64_t *result, uint64_t o_pos, uint64_t o_neg_p, uint8_t *o_dst, uint64_t o_dst_len); 1126 /* export fn oma_om_block_deserialize src view uchar 16 dst edit ulong 2 to ulong */ 1127 uint32_t omega2_oma_om_block_deserialize(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t *o_dst, uint64_t o_dst_len); 1128 /* export fn oma_om_dense_byte_decode bv ulong dst edit uchar 5 to ulong */ 1129 uint32_t omega2_oma_om_dense_byte_decode(uint64_t *result, uint64_t o_bv, uint8_t *o_dst, uint64_t o_dst_len); 1130 /* export fn oma_om_pack_dense_byte src view uchar * start ulong n ulong to ulong */ 1131 uint32_t omega2_oma_om_pack_dense_byte(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_start, uint64_t o_n); 1132 /* export fn oma_om_int_to_bt v_bits ulong dst edit uchar 41 n_out edit ulong 1 to void */ 1133 uint32_t omega2_oma_om_int_to_bt(uint64_t *result, uint64_t o_v_bits, uint8_t *o_dst, uint64_t o_dst_len, uint64_t *o_n_out, uint64_t o_n_out_len); 1134 /* export fn oma_om_bt_to_int digits view uchar * n ulong dst edit ulong 1 to ulong */ 1135 uint32_t omega2_oma_om_bt_to_int(uint64_t *result, const uint8_t *o_digits, uint64_t o_digits_len, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len); 1136 #define OMEGA2_IDENT_pd0_core "omega-ident 1 unit=pd0_core abi=2 profile=OM-2 src=`b4702594e637ec6cdcb151317e79ae7fe720f176d4ec72dfb55e16c96aeca350` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1137 const char *omega2_ident_pd0_core(void); 1138 /* export fn pd0_om_fnv1a64 tag view uchar * n ulong to ulong */ 1139 uint32_t omega2_pd0_om_fnv1a64(uint64_t *result, const uint8_t *o_tag, uint64_t o_tag_len, uint64_t o_n); 1140 /* export fn pd0_om_splitmix64 st edit ulong 1 to ulong */ 1141 uint32_t omega2_pd0_om_splitmix64(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 1142 /* export fn pd0_om_uniform st edit ulong 1 to ulong */ 1143 uint32_t omega2_pd0_om_uniform(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 1144 /* export fn pd0_om_put_u16 dst edit uchar * pos ulong v ulong to void */ 1145 uint32_t omega2_pd0_om_put_u16(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1146 /* export fn pd0_om_put_u32 dst edit uchar * pos ulong v ulong to void */ 1147 uint32_t omega2_pd0_om_put_u32(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1148 /* export fn pd0_om_put_u64 dst edit uchar * pos ulong v ulong to void */ 1149 uint32_t omega2_pd0_om_put_u64(uint64_t *result, uint8_t *o_dst, uint64_t o_dst_len, uint64_t o_pos, uint64_t o_v); 1150 /* export fn pd0_om_get_u16 src view uchar * pos ulong to ulong */ 1151 uint32_t omega2_pd0_om_get_u16(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1152 /* export fn pd0_om_get_u32 src view uchar * pos ulong to ulong */ 1153 uint32_t omega2_pd0_om_get_u32(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1154 /* export fn pd0_om_get_u64 src view uchar * pos ulong to ulong */ 1155 uint32_t omega2_pd0_om_get_u64(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_pos); 1156 /* export fn pd0_om_check_desc_magic src view uchar * slen ulong to ulong */ 1157 uint32_t omega2_pd0_om_check_desc_magic(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_slen); 1158 /* export fn pd0_om_check_rec_magic src view uchar * slen ulong to ulong */ 1159 uint32_t omega2_pd0_om_check_rec_magic(uint64_t *result, const uint8_t *o_src, uint64_t o_src_len, uint64_t o_slen); 1160 #define OMEGA2_IDENT_turing_core "omega-ident 1 unit=turing_core abi=2 profile=OM-2 src=`41f74d3f2d8e8bc759394db6e5584e6e86ba8e7588bb2fbce7832e81ee8303ae` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1161 const char *omega2_ident_turing_core(void); 1162 /* export fn turing_om_hex d view uchar 32 dst edit uchar 64 to void */ 1163 uint32_t omega2_turing_om_hex(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len, uint8_t *o_dst, uint64_t o_dst_len); 1164 /* export fn turing_om_digest_eq a view uchar 32 b view uchar 32 to ulong */ 1165 uint32_t omega2_turing_om_digest_eq(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 1166 /* export fn turing_om_splitmix64 st edit ulong 1 to ulong */ 1167 uint32_t omega2_turing_om_splitmix64(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 1168 /* export fn turing_om_bucket_observe cnt edit uint 1 mean_b edit ulong 1 cost_ps ulong to void */ 1169 uint32_t omega2_turing_om_bucket_observe(uint64_t *result, uint32_t *o_cnt, uint64_t o_cnt_len, uint64_t *o_mean_b, uint64_t o_mean_b_len, uint64_t o_cost_ps); 1170 /* export fn turing_om_rank_min_cost cnt view uint 32 means view ulong 32 allowed view uint 32 nspec ulong to ulong */ 1171 uint32_t omega2_turing_om_rank_min_cost(uint64_t *result, const uint32_t *o_cnt, uint64_t o_cnt_len, const uint64_t *o_means, uint64_t o_means_len, const uint32_t *o_allowed, uint64_t o_allowed_len, uint64_t o_nspec); 1172 /* export fn turing_om_fisher_yates ord edit uint 32 nspec ulong seed ulong to void */ 1173 uint32_t omega2_turing_om_fisher_yates(uint64_t *result, uint32_t *o_ord, uint64_t o_ord_len, uint64_t o_nspec, uint64_t o_seed); 1174 #define OMEGA2_IDENT_omx_core "omega-ident 1 unit=omx_core abi=2 profile=OM-2 src=`b7a3cb52a24859dcbb0a3fb56ba18a8aa2331fec5b960d0dc2133ec0601cbe4d` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1175 const char *omega2_ident_omx_core(void); 1176 /* export fn omx_om_rng_next st edit ulong 1 to ulong */ 1177 uint32_t omega2_omx_om_rng_next(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 1178 /* export fn omx_om_rng_01 st edit ulong 1 to ulong */ 1179 uint32_t omega2_omx_om_rng_01(uint64_t *result, uint64_t *o_st, uint64_t o_st_len); 1180 /* export fn omx_om_hex d view uchar * n ulong dst edit uchar * to void */ 1181 uint32_t omega2_omx_om_hex(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len, uint64_t o_n, uint8_t *o_dst, uint64_t o_dst_len); 1182 /* export fn omx_om_elf64_le_ok b view uchar * slen ulong to ulong */ 1183 uint32_t omega2_omx_om_elf64_le_ok(uint64_t *result, const uint8_t *o_b, uint64_t o_b_len, uint64_t o_slen); 1184 /* export fn omx_om_sort_d v edit ulong * n ulong to void */ 1185 uint32_t omega2_omx_om_sort_d(uint64_t *result, uint64_t *o_v, uint64_t o_v_len, uint64_t o_n); 1186 /* export fn omx_om_median_sorted v view ulong * n ulong to ulong */ 1187 uint32_t omega2_omx_om_median_sorted(uint64_t *result, const uint64_t *o_v, uint64_t o_v_len, uint64_t o_n); 1188 /* export fn omx_om_abs_dev v view ulong * n ulong med_b ulong dst edit ulong * to void */ 1189 uint32_t omega2_omx_om_abs_dev(uint64_t *result, const uint64_t *o_v, uint64_t o_v_len, uint64_t o_n, uint64_t o_med_b, uint64_t *o_dst, uint64_t o_dst_len); 1190 #define OMEGA2_IDENT_osh_core "omega-ident 1 unit=osh_core abi=2 profile=OM-2 src=`372db83af04a9bc9aca1554942762b41d7f8fe7be3f9ba1c416f593699dd71db` omc=`708fdc0f81866594ed6df2f492b7a8a6bc7456f2d733a838b7f840549ebba6c3`" 1191 const char *omega2_ident_osh_core(void); 1192 /* export fn osh_om_name_valid s view uchar * n ulong to ulong */ 1193 uint32_t omega2_osh_om_name_valid(uint64_t *result, const uint8_t *o_s, uint64_t o_s_len, uint64_t o_n); 1194 /* export fn osh_om_check_req_hdr rec view ulong * nrec ulong nout ulong has_out ulong to ulong */ 1195 uint32_t omega2_osh_om_check_req_hdr(uint64_t *result, const uint64_t *o_rec, uint64_t o_rec_len, uint64_t o_nrec, uint64_t o_nout, uint64_t o_has_out); 1196 /* export fn osh_om_check_cmd_reserved b view ulong * na ulong ns ulong nr ulong to ulong */ 1197 uint32_t omega2_osh_om_check_cmd_reserved(uint64_t *result, const uint64_t *o_b, uint64_t o_b_len, uint64_t o_na, uint64_t o_ns, uint64_t o_nr); 1198 /* export fn osh_om_op_right op ulong to ulong */ 1199 uint32_t omega2_osh_om_op_right(uint64_t *result, uint64_t o_op); 1200 /* export fn osh_om_map_cap_rc rc long to long */ 1201 uint32_t omega2_osh_om_map_cap_rc(uint64_t *result, uint64_t o_rc); 1202 /* export fn osh_om_path_under pref view uchar * np ulong path view uchar * npath ulong to ulong */ 1203 uint32_t omega2_osh_om_path_under(uint64_t *result, const uint8_t *o_pref, uint64_t o_pref_len, uint64_t o_np, const uint8_t *o_path, uint64_t o_path_len, uint64_t o_npath); 1204 /* export fn osh_om_check_binding domain ulong pid view uchar 32 to long */ 1205 uint32_t omega2_osh_om_check_binding(uint64_t *result, uint64_t o_domain, const uint8_t *o_pid, uint64_t o_pid_len); 1206 #ifdef __cplusplus 1207 } 1208 #endif 1209 #endif