openvm_native_compiler/ir/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pub use builder::*;
pub use collections::*;
pub use instructions::*;
use openvm_stark_backend::p3_field::{ExtensionField, PrimeField, TwoAdicField};
pub use poseidon::{DIGEST_SIZE, PERMUTATION_WIDTH};
pub use ptr::*;
pub use ref_ptr::*;
pub use select::*;
pub use symbolic::*;
pub use types::*;
pub use utils::{LIMB_BITS, NUM_LIMBS};
pub use var::*;

mod bits;
mod builder;
mod collections;
mod fri;
mod instructions;
mod poseidon;
mod ptr;
mod ref_ptr;
mod select;
mod symbolic;
mod types;
mod utils;
mod var;

pub trait Config: Clone + Default {
    type N: PrimeField;
    type F: PrimeField + TwoAdicField;
    type EF: ExtensionField<Self::F> + TwoAdicField;
}