MCPcopy Create free account

hub / github.com/circify/circ / functions

Functions2,442 in github.com/circify/circ

↓ 1 callersMethodmetadata
Returns a [ComputationMetadata] and a list of sort bindings to un-bind.
src/ir/term/text/mod.rs:720
↓ 1 callersFunctionmin_with_aux
Computes minimum in a tree based fashion and associated with aux element
examples/C/mpc/benchmarks/kmeans/2pc_kmeans_og.c:29
↓ 1 callersMethodmk_uniq
Make a unique name prefixed by `prefix`, store it, and return it.
src/util/ns.rs:43
↓ 1 callersFunctionmmulT_unrolled_inner
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:73
↓ 1 callersFunctionmsh
Permute the accesses into sorted order using a multi-set hash argument.
src/ir/opt/mem/ram/checker/permutation.rs:59
↓ 1 callersFunctionmul
Operator
src/front/datalog/term.rs:157
↓ 1 callersFunctionmut_array_store
(array: T, idx: T, val: T, cond: Term)
src/front/zsharp/term.rs:938
↓ 1 callersFunctionname_from_func
(fn_def: &FunctionDefinition)
src/front/c/ast_utils.rs:88
↓ 1 callersFunctionneg
Operator unary-
src/front/datalog/term.rs:102
↓ 1 callersMethodnew_final_read
(&mut self, idx: Term, val: Term)
src/ir/opt/mem/ram.rs:599
↓ 1 callersMethodnew_init
(f: &AccessCfg, idx: Term, val: Term)
src/ir/opt/mem/ram.rs:222
↓ 1 callersMethodnext_ver
(&mut self)
src/circify/mod.rs:122
↓ 1 callersFunctionnot
Operator unary!
src/front/datalog/term.rs:111
↓ 1 callersFunctionnot_bool
(a: Term)
src/front/zsharpcurly/term.rs:734
↓ 1 callersFunctionnot_bool
(a: Term)
src/front/zsharp/term.rs:746
↓ 1 callersMethodordered_call_term
Create a call term, given the input arguments in sorted order by argument names. ## Arguments `name`: function name `args`: map of argument name (St
src/ir/term/mod.rs:1930
↓ 1 callersMethodordered_public_inputs
Give all public inputs, in a fixed order.
src/ir/term/mod.rs:1803
↓ 1 callersFunctionparents_map
Build a map from every term in the computation to its parents. Guarantees that every computation term is a key in the map. If there are no parents, t
src/ir/term/extras.rs:133
↓ 1 callersMethodparse
Parse, from bytes.
src/ir/term/ext.rs:94
↓ 1 callersMethodparse
(&self, p: &P)
src/front/zsharp/parser.rs:123
↓ 1 callersFunctionparse_cond_store
Parse `ite` or `store` as a conditional store (arr, idx, val, guard)
src/ir/opt/cstore.rs:8
↓ 1 callersMethodparse_file
(&self, path: &Path)
src/front/c/parser.rs:18
↓ 1 callersFunctionparse_test_config
(path: str)
scripts/file_test.py:62
↓ 1 callersMethodpartial_cmp
(&self, other: &Self)
circ_fields/src/lib.rs:366
↓ 1 callersFunctionpersistent_to_ram
Extract any persistent arrays from a computation, returning RAMs
src/ir/opt/mem/ram/persistent.rs:17
↓ 1 callersFunctionpf_ir_lit
Initialize a prime field literal
src/front/datalog/term.rs:62
↓ 1 callersFunctionpf_lit
Initialize a prime field literal
src/front/datalog/term.rs:55
↓ 1 callersMethodpf_neg
(&self, t: Term)
src/ir/opt/mem/ram.rs:140
↓ 1 callersFunctionpf_sub
(a: Term, b: Term)
src/ir/opt/mem/ram/checker.rs:387
↓ 1 callersFunctionpf_val
(i: I)
src/front/zsharpcurly/term.rs:824
↓ 1 callersFunctionpf_val
(i: I)
src/front/zsharp/term.rs:836
↓ 1 callersFunctionpivot_swap
* Performs the propagating swap for LU decomposition */
examples/C/mpc/benchmarks/gauss/2pc_gauss.c:88
↓ 1 callersMethodpop_scope
(&mut self)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:802
↓ 1 callersMethodpop_scope
(&mut self)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:714
↓ 1 callersMethodpromote
(&mut self)
circ_fields/src/lib.rs:340
↓ 1 callersMethodpublic_input_names_set
Give the set of public input names.
src/ir/term/mod.rs:1892
↓ 1 callersMethodpush_scope
(&mut self)
src/front/zsharpcurly/zvisit/zstmtwalker/mod.rs:798
↓ 1 callersMethodpush_scope
(&mut self)
src/front/zsharp/zvisit/zstmtwalker/mod.rs:710
↓ 1 callersMethodrebuild_lval
Computes base[val / loc]
src/front/c/mod.rs:470
↓ 1 callersFunctionrec_check_raw
Type-check this term, recursively as needed. All results are stored in the global type table.
src/ir/term/ty.rs:498
↓ 1 callersMethodrecip_ref
(&self)
circ_fields/src/lib.rs:510
↓ 1 callersMethodrecompute_inputs
Recompute the inputs.
src/ir/term/precomp.rs:120
↓ 1 callersMethodref_cnt
(&self)
circ_hc/src/rc/example_u8.rs:233
↓ 1 callersMethodref_cnt
(&self)
circ_hc/src/rc/template.rs:233
↓ 1 callersMethodregister_attr_table
(&self, table: Rc<dyn attr::AttributeGc>)
circ_hc/src/raw/example_u8.rs:193
↓ 1 callersMethodregister_attr_table
(&self, table: Rc<dyn attr::AttributeGc>)
circ_hc/src/raw/template.rs:193
↓ 1 callersMethodregister_rules
(&mut self, pgm: &'ast ast::Program<'ast>)
src/front/datalog/mod.rs:83
↓ 1 callersMethodrehash
(&self)
circ_hc/src/rc/example_u8.rs:318
↓ 1 callersMethodrehash
(&self)
circ_hc/src/rc/template.rs:318
↓ 1 callersFunctionrelu
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:15
↓ 1 callersFunctionrelu_map
examples/C/mpc/benchmarks/mnist/2pc_mnist.c:22
↓ 1 callersFunctionrem
Operator %
src/front/datalog/term.rs:183
↓ 1 callersMethodremove_from_table
(&self, ptr: NodeValuePtr)
circ_hc/src/raw/example_u8.rs:144
↓ 1 callersMethodremove_from_table
(&self, ptr: NodeValuePtr)
circ_hc/src/raw/template.rs:144
↓ 1 callersFunctionremove_non_scalar_vars_from_main_computation
Remove all variables that are non-scalar (and not committed).
src/ir/opt/scalarize_vars.rs:156
↓ 1 callersFunctionrename_test
Append path with language type
scripts/aby_tests/util.py:7
↓ 1 callersMethodreorder
Put the outputs back into a topo order
src/ir/term/precomp.rs:198
↓ 1 callersMethodret_ty_from_func
(&mut self, fn_def: &FunctionDefinition)
src/front/c/mod.rs:375
↓ 1 callersMethodret_ty_put
(&mut self, ret_ty: Option<Ty>)
src/front/c/mod.rs:1320
↓ 1 callersMethodret_ty_stack_last
(&self)
src/front/zsharpcurly/mod.rs:1884
↓ 1 callersMethodret_ty_stack_last
(&self)
src/front/zsharp/mod.rs:1765
↓ 1 callersMethodret_ty_stack_pop
(&self)
src/front/zsharpcurly/mod.rs:1880
↓ 1 callersMethodret_ty_stack_pop
(&self)
src/front/zsharp/mod.rs:1761
↓ 1 callersMethodret_ty_take
(&self)
src/front/c/mod.rs:1324
↓ 1 callersFunctionright_sort
Does this array have a sort compatible with our RAM machinery?
src/ir/opt/mem/ram/volatile.rs:50
↓ 1 callersFunctionrun_test
(features: set[str], path: str)
scripts/file_test.py:86
↓ 1 callersFunctionrun_test
(expected: str, server_cmd: List[str], client_cmd: List[str])
scripts/aby_tests/util.py:34
↓ 1 callersFunctionsample_challenge
(a: T, number: usize)
src/front/zsharpcurly/term.rs:1151
↓ 1 callersFunctionsample_challenge
(a: T, number: usize)
src/front/zsharp/term.rs:1134
↓ 1 callersMethodsample_child_sorts
(&self, sort: &Sort, op: &Op, rng: &mut R)
src/ir/term/dist.rs:175
↓ 1 callersFunctionsample_field_t
Sample a [FieldT] that is: Bls w/ p = 0.25 Bn w/ p = 0.25 An integer field otherwise with a number of bits sampled uniformly between 1..max_bits
circ_fields/src/test.rs:69
↓ 1 callersMethodsample_op
(&self, sort: &Sort, rng: &mut R)
src/ir/term/dist.rs:96
↓ 1 callersMethodsample_sort
(&self, rng: &mut R, max_size: usize)
src/ir/term/dist.rs:245
↓ 1 callersFunctionsample_steps
(num_steps: usize, d: &D, rng: &mut R, geo_p: f64)
circ_hc/src/test/bench.rs:20
↓ 1 callersFunctionsample_u8_steps
(num_steps: usize)
circ_hc/src/test/bench.rs:58
↓ 1 callersFunctionsave_features
Save features to file
driver.py:42
↓ 1 callersFunctionsave_mode
Save mode to file
driver.py:27
↓ 1 callersFunctionscalarize_inputs
Run the tuple elimination pass.
src/ir/opt/scalarize_vars.rs:131
↓ 1 callersFunctionserialize_computations
Serialize a computations set.
src/ir/term/text/mod.rs:972
↓ 1 callersFunctionserialize_value_map
Serialize an IR "value map": a map from strings to values. See [parse_value_map].
src/ir/term/text/mod.rs:920
↓ 1 callersFunctionset_default
Set the CirC configuration to its defaults. See [set] to customize
src/cfg.rs:44
↓ 1 callersFunctionset_default_features
(features)
driver.py:268
↓ 1 callersMethodset_lhs_ty_ret
(&self, r: &ast::ReturnStatement<'ast>)
src/front/zsharpcurly/mod.rs:1724
↓ 1 callersMethodset_lhs_ty_ret
(&self, r: &ast::ReturnStatement<'ast>)
src/front/zsharp/mod.rs:1612
↓ 1 callersFunctionset_mode
(mode)
driver.py:298
↓ 1 callersFunctionshl
Operator <<
src/front/datalog/term.rs:203
↓ 1 callersFunctionshould_collect
()
src/ir/term/mod.rs:1194
↓ 1 callersFunctionshr
Operator >>
src/front/datalog/term.rs:214
↓ 1 callersFunctionslice
(arr: T, start: Option<usize>, end: Option<usize>)
src/front/zsharpcurly/term.rs:849
↓ 1 callersFunctionslice
(arr: T, start: Option<usize>, end: Option<usize>)
src/front/zsharp/term.rs:861
↓ 1 callersFunctionsolve_backtracking
* Recomputes the result once LU decomposition is completed */
examples/C/mpc/benchmarks/gauss/2pc_gauss.c:52
↓ 1 callersMethodsort
(&self)
src/front/zsharpcurly/term.rs:79
↓ 1 callersMethodsort
(&self)
src/front/zsharp/term.rs:68
↓ 1 callersMethodsorts
Parse sorts, in-order
src/ir/term/text/mod.rs:390
↓ 1 callersMethodstart_persistent_array
Intialize a new persistent array.
src/ir/term/mod.rs:2084
↓ 1 callersMethodstore
Conditional store to an AllocId based on current path condition
src/circify/mod.rs:844
↓ 1 callersMethodstring_list
(&self, tt: &TokTree<'src>)
src/ir/term/text/mod.rs:606
↓ 1 callersFunctionsub
Operator -
src/front/datalog/term.rs:142
↓ 1 callersFunctionsub
examples/C/mpc/unit_tests/function_tests/function_arg_order.c:1
↓ 1 callersMethodsub
(self, rhs: InlineFieldV)
circ_fields/src/lib.rs:785
← previousnext →1,001–1,100 of 2,442, ranked by callers