acir 0.46.0

ACIR is the IR that the VM processes, it is analogous to LLVM IR
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::native_types::{Expression, Witness};
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
/// Directives do not apply any constraints.
/// You can think of them as opcodes that allow one to use non-determinism
/// In the future, this can be replaced with asm non-determinism blocks
pub enum Directive {
    //decomposition of a: a=\sum b[i]*radix^i where b is an array of witnesses < radix in little endian form
    ToLeRadix { a: Expression, b: Vec<Witness>, radix: u32 },
}