Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/circify/circ
/ functions
Functions
2,442 in github.com/circify/circ
⨍
Functions
2,442
◇
Types & classes
328
↓ 2 callers
Method
fdef_gen_ty_struct_or_type
( &mut self, arg_ty: Ty, def_ty: &ast::StructType<'ast>, )
src/front/zsharp/zvisit/zgenericinf.rs:280
↓ 2 callers
Function
field_lit
(i: I)
src/front/zsharpcurly/term.rs:831
↓ 2 callers
Function
field_select
(struct_tuple_: &T, field: &str)
src/front/zsharpcurly/term.rs:865
↓ 2 callers
Function
field_select
(struct_: &T, field: &str)
src/front/zsharp/term.rs:877
↓ 2 callers
Method
field_store
(&self, struct_: &CTerm, field: &str, val: &CTerm)
src/front/c/mod.rs:391
↓ 2 callers
Function
find_tuple_term
(t: Term)
src/ir/opt/tuple.rs:237
↓ 2 callers
Function
fixedpt_div
examples/C/mpc/benchmarks/gauss/fixpoint.h:18
↓ 2 callers
Function
flatten_nary_ops
Traverse `term`, flattening n-ary operators.
src/ir/opt/flat.rs:61
↓ 2 callers
Function
flatten_nary_ops_cached
Traverse `term`, flattening n-ary operators.
src/ir/opt/flat.rs:66
↓ 2 callers
Function
fmt_term_with_bindings
Format a term, introducing bindings.
src/ir/term/fmt.rs:604
↓ 2 callers
Method
force_gc
(&self)
circ_hc/src/rc/example_u8.rs:177
↓ 2 callers
Method
force_gc
(&self)
circ_hc/src/rc/template.rs:177
↓ 2 callers
Method
full_mut
(&mut self)
circ_fields/src/lib.rs:307
↓ 2 callers
Method
gen_index
(&mut self, expr: &Expression)
src/front/c/mod.rs:678
↓ 2 callers
Method
gen_stmt
(&mut self, stmt: &Statement)
src/front/c/mod.rs:1093
↓ 2 callers
Method
generic_defined
(&self, id: &str)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:739
↓ 2 callers
Method
generic_defined
(&self, id: &str)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:651
↓ 2 callers
Method
get_bin_op
(&self, op: &BinaryOperator)
src/front/c/mod.rs:644
↓ 2 callers
Method
get_binding
Takes bindings in order bound, and unbinds
src/ir/term/text/mod.rs:214
↓ 2 callers
Method
get_decl_info
(&mut self, decl: &Declaration)
src/front/c/mod.rs:298
↓ 2 callers
Method
get_input_visibility
Returns None if the value is public. Otherwise, the unique party that knows it.
src/ir/term/mod.rs:1776
↓ 2 callers
Method
get_name
(&self, name: &str)
src/circify/mod.rs:161
↓ 2 callers
Method
get_postfix_ty
( &self, pf: &mut ast::PostfixExpression<'ast>, rty: Option<&ast::Type<'ast>>, )
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:148
↓ 2 callers
Method
get_postfix_ty
( &self, pf: &mut ast::PostfixExpression<'ast>, rty: Option<&ast::Type<'ast>>, )
src/front/zsharp/zvisit/zstmtwalker/mod.rs:146
↓ 2 callers
Method
get_struct_or_type
( &self, struct_id: &str, )
src/front/zsharpcurly/mod.rs:2309
↓ 2 callers
Method
get_struct_or_type
( &self, struct_id: &str, )
src/front/zsharp/mod.rs:2183
↓ 2 callers
Method
group_add_nary
The (n-ary) group operation for these terms.
src/ir/term/mod.rs:1076
↓ 2 callers
Function
gte
Operator >=
src/front/datalog/term.rs:255
↓ 2 callers
Function
haboeck_range_check
Haboeck range check
src/ir/opt/mem/ram/checker.rs:249
↓ 2 callers
Method
has_name
(&self, name: &str)
src/circify/mod.rs:183
↓ 2 callers
Method
hash
(&self, state: &mut H)
circ_hc/src/rc/example_u8.rs:305
↓ 2 callers
Method
hash
(&self, state: &mut H)
circ_hc/src/rc/template.rs:305
↓ 2 callers
Function
horner
Returns a term equal to p(x) in f.
src/ir/opt/mem/ram/checker.rs:413
↓ 2 callers
Method
ident
(&mut self, i: &'ast ast::Ident)
src/front/datalog/mod.rs:155
↓ 2 callers
Function
idx_name
(struct_name: &str, idx: usize)
src/front/zsharp/term.rs:1158
↓ 2 callers
Method
index_offset
(&mut self, index: &IndexTerm)
src/front/c/mod.rs:702
↓ 2 callers
Function
inline
Performs "inline" optimizations. That is, finds equalities between variables and terms, and substitutes the term for the variable. Maintains a few i
src/ir/opt/inline.rs:167
↓ 2 callers
Method
inputs
immutable access to the outputs
src/ir/term/precomp.rs:40
↓ 2 callers
Method
insert
(&mut self, k: &Node, v: T)
circ_hc/src/raw/example_u8.rs:398
↓ 2 callers
Method
insert_var
(&mut self, nm: &str, ty: ast::Type<'ast>)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:792
↓ 2 callers
Function
int_lit
Make an integer constant term.
src/ir/term/mod.rs:1549
↓ 2 callers
Method
interpret_array_md
( &self, md: &Option<ast::ArrayParamMetadata<'ast>>, )
src/front/zsharp/mod.rs:1079
↓ 2 callers
Function
ir_array
(value_sort: Sort, elems: I)
src/front/zsharpcurly/term.rs:976
↓ 2 callers
Function
ir_array
(value_sort: Sort, elems: I)
src/front/zsharp/term.rs:966
↓ 2 callers
Method
is_arith_type
(&self)
src/front/c/types.rs:139
↓ 2 callers
Function
is_cfg_set
Has the configuration been set yet?
src/cfg.rs:74
↓ 2 callers
Method
is_generic_var
(&self, var: &str)
src/front/zsharpcurly/zvisit/zgenericinf.rs:53
↓ 2 callers
Method
is_generic_var
(&self, var: &str)
src/front/zsharp/zvisit/zgenericinf.rs:53
↓ 2 callers
Function
is_struct
(id: &str, zgen: &ZGen<'_>)
src/front/zsharpcurly/zvisit/eqtype.rs:120
↓ 2 callers
Function
is_struct
(id: &str, zgen: &ZGen<'_>)
src/front/zsharp/zvisit/eqtype.rs:81
↓ 2 callers
Function
ite
(c: Term, a: T, b: T)
src/front/zsharpcurly/term.rs:805
↓ 2 callers
Function
ite
(c: Term, a: T, b: T)
src/front/zsharp/term.rs:817
↓ 2 callers
Method
lhs_ty_put
(&self, lhs_ty: Option<Ty>)
src/front/zsharpcurly/mod.rs:1772
↓ 2 callers
Method
lhs_ty_put
(&self, lhs_ty: Option<Ty>)
src/front/zsharp/mod.rs:1653
↓ 2 callers
Method
live
Is this upgradeable?
circ_hc/src/lib.rs:86
↓ 2 callers
Method
load
Recursively load a Z# file. ## Returns Returns a map from file paths to parsed files.
src/front/zsharpcurly/parser.rs:109
↓ 2 callers
Method
load
Load from an AllocId
src/circify/mod.rs:834
↓ 2 callers
Method
lookup_mut
( &mut self, name: &Q, )
src/ir/term/mod.rs:1765
↓ 2 callers
Method
lookup_type_varonly
(&mut self, nm: &str)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:788
↓ 2 callers
Method
lookup_var
(&self, nm: &str)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:749
↓ 2 callers
Method
lookup_var
(&self, nm: &str)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:661
↓ 2 callers
Method
lshr
logical right shift
src/ir/term/bv.rs:162
↓ 2 callers
Function
make_sfx
(mut base: String, sfx: &str)
src/front/zsharpcurly/zvisit/zgenericinf.rs:461
↓ 2 callers
Function
make_sfx
(mut base: String, sfx: &str)
src/front/zsharp/zvisit/zgenericinf.rs:457
↓ 2 callers
Function
make_varname_str
(id: &str, sfx: &str)
src/front/zsharpcurly/zvisit/zgenericinf.rs:467
↓ 2 callers
Function
make_varname_str
(id: &str, sfx: &str)
src/front/zsharp/zvisit/zgenericinf.rs:463
↓ 2 callers
Function
max_pooling_outputs
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:61
↓ 2 callers
Function
maybe_garbage_collect
Scan term and type databases only if they've grown in size since last scan
src/ir/term/mod.rs:1209
↓ 2 callers
Method
maybe_usize
(&self, tt: &TokTree)
src/ir/term/text/mod.rs:419
↓ 2 callers
Function
min
()
circ_hc/src/test/mod.rs:28
↓ 2 callers
Function
mmulT_unrolled
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:95
↓ 2 callers
Function
mul
(a: T, b: T)
src/front/zsharpcurly/term.rs:433
↓ 2 callers
Function
mul
(a: T, b: T)
src/front/zsharp/term.rs:445
↓ 2 callers
Method
new_read
(f: &AccessCfg, idx: Term, val: Term, time: Term)
src/ir/opt/mem/ram.rs:200
↓ 2 callers
Method
new_var_metadata
Create a new variable with the given metadata. If `precompute` is set, that precomputation is added to give a value for this variable. Otherwise, the
src/ir/term/mod.rs:2036
↓ 2 callers
Method
nth_elem
(&self, n: usize)
src/ir/term/mod.rs:960
↓ 2 callers
Method
ordered_inputs
Give all inputs, in a fixed order.
src/ir/term/mod.rs:1885
↓ 2 callers
Function
parse
(file_string: &str)
src/front/datalog/parser.rs:537
↓ 2 callers
Method
parse_int
Parse this text as an integer, but check the ARC cache before creating a new one.
src/ir/term/text/mod.rs:399
↓ 2 callers
Method
pf_lit
(&self, i: usize)
src/ir/opt/mem/ram.rs:143
↓ 2 callers
Function
pf_lit_ir
(i: I)
src/front/zsharpcurly/term.rs:817
↓ 2 callers
Function
pf_lit_ir
(i: I)
src/front/zsharp/term.rs:829
↓ 2 callers
Function
pow
(a: T, b: T)
src/front/zsharp/term.rs:677
↓ 2 callers
Method
precompute
Parse a pre-computation.
src/ir/term/text/mod.rs:836
↓ 2 callers
Method
pretty
(&self, f: &mut W)
src/front/zsharp/term.rs:272
↓ 2 callers
Function
random_rug_int_exp
Samples a random integer with up to `max_bits` bits. A number with `i` is chosen with probability proportional to `2^-i`.
circ_fields/src/test.rs:57
↓ 2 callers
Method
random_v
(&self, rng: impl rand::RngCore)
circ_fields/src/lib.rs:133
↓ 2 callers
Function
rec_check_raw_helper
Helper function for rec_check_raw Type-check given term which is expressed as An operation and the sorts of its children
src/ir/term/ty.rs:269
↓ 2 callers
Method
recursive_load
Recursively load all referenced paths. ## Returns Returns a map from loaded paths to ASTs.
src/circify/includer.rs:21
↓ 2 callers
Method
remove_var
Remove an input
src/ir/term/mod.rs:1914
↓ 2 callers
Method
replace
Replace term at AllocId
src/circify/mod.rs:850
↓ 2 callers
Method
repr_as_i64
(&self)
circ_fields/src/lib.rs:271
↓ 2 callers
Method
rule_cases
(&mut self, rule: &'ast ast::Rule_)
src/front/datalog/mod.rs:134
↓ 2 callers
Function
run_tests
tests will be a list of all tests to run. each element in the list will be 1. description of test case: str 2. test name: str 4. tes
scripts/aby_tests/util.py:69
↓ 2 callers
Function
sample_field_v
Sample a [FieldV]. If `ty` is inlinable, the value will be inline with probability 0.5.
circ_fields/src/test.rs:82
↓ 2 callers
Method
sample_tuple_sort
( &self, min_size: usize, max_size: usize, rng: &mut R, )
src/ir/term/dist.rs:227
↓ 2 callers
Function
scalar_to_field
(scalar: &Term, c: &AccessCfg)
src/ir/opt/mem/ram.rs:148
↓ 2 callers
Method
serialize
(&self, serializer: S)
src/ir/term/mod.rs:646
↓ 2 callers
Function
serialize_computation
Serialize a computation.
src/ir/term/text/mod.rs:938
↓ 2 callers
Function
serialize_precompute
Serialize a pre-computation.
src/ir/term/text/mod.rs:983
← previous
next →
501–600 of 2,442, ranked by callers