MCPcopy Create free account

hub / github.com/HigherOrderCO-archive/hvm-64 / functions

Functions335 in github.com/HigherOrderCO-archive/hvm-64

↓ 45 callersMethodclone
(&self)
ast/src/ast.rs:181
↓ 27 callersMethodlen
(&self)
runtime/src/linker.rs:320
↓ 24 callersFunctionswap
examples/sort/radix/radix_sort_lam.js:105
↓ 20 callersMethodtag
(&self)
runtime/src/port.rs:144
↓ 19 callersMethodlink_port_port
(&mut self, a_port: Port, b_port: Port)
runtime/src/linker.rs:25
↓ 19 callersMethodlink_wire_port
(&mut self, a_wire: Wire, b_port: Port)
runtime/src/linker.rs:54
↓ 17 callersMethodaddr
(&self)
runtime/src/wire.rs:29
↓ 16 callersMethodcreate_node
(&mut self, tag: Tag, lab: Lab)
runtime/src/node.rs:36
↓ 16 callersMethodlab
(&self)
runtime/src/port.rs:167
↓ 15 callersMethoditer
(&self)
runtime/src/linker.rs:332
↓ 13 callersMethodset_trg
(&mut self, i: TrgId, trg: Trg)
runtime/src/def.rs:243
↓ 12 callersMethodnew_trg_id
(&mut self)
runtime/src/def.rs:209
↓ 12 callersMethodtag
(self)
num/src/num.rs:103
↓ 11 callersMethodfree_wire
(&mut self, wire: Wire)
runtime/src/allocator.rs:113
↓ 10 callersMethodis
(&self, tag: Tag)
runtime/src/port.rs:149
↓ 10 callersFunctionmaybe_grow
(f: impl FnOnce() -> R)
util/src/maybe_grow.rs:3
↓ 9 callersMethodas_wire
(self)
runtime/src/linker.rs:261
↓ 9 callersMethodconsume_node
(self)
runtime/src/node.rs:13
↓ 9 callersMethodis_principal
(&self)
runtime/src/port.rs:197
↓ 8 callersMethodfree_trg
(&mut self, trg: Trg)
runtime/src/allocator.rs:119
↓ 8 callersMethodload_target
(&self)
runtime/src/wire.rs:44
↓ 8 callersMethodnum
(&self)
runtime/src/port.rs:185
↓ 8 callersMethodread_wire
Reads a tree out from a given `wire`.
host/src/readback.rs:45
↓ 7 callersMethodapply_tree
Transforms the net `x & ...` into `y & x ~ (arg y) & ...` The result is equivalent a λ-calculus application. Thus, if the net is a λ-calculus term, t
ast/src/ast.rs:112
↓ 7 callersMethodchildren
(&self)
ast/src/ast.rs:136
↓ 7 callersMethodcomm02
(&mut self, a: Port, b: Port)
runtime/src/interact.rs:162
↓ 7 callersMethodget_mut
Returns a mutable [`Def`] named `name`.
host/src/host.rs:82
↓ 7 callersMethodget_trg
(&self, i: TrgId)
runtime/src/def.rs:238
↓ 7 callersMethodget_u24
(self)
num/src/num.rs:113
↓ 7 callersMethodis_num
(&self)
runtime/src/port.rs:155
↓ 7 callersMethodis_wire
(&self)
runtime/src/linker.rs:255
↓ 7 callersMethodother_half
(&self)
runtime/src/addr.rs:48
↓ 7 callersMethodwire
(wire: Wire)
runtime/src/linker.rs:250
↓ 6 callersMethodas_port
(self)
runtime/src/linker.rs:267
↓ 6 callersMethodis_empty
(&self)
runtime/src/linker.rs:324
↓ 6 callersMethodlink_trg_port
(&mut self, a: Trg, b: Port)
runtime/src/linker.rs:287
↓ 6 callersMethodredux
(&mut self, a: Port, b: Port)
runtime/src/linker.rs:70
↓ 6 callersMethodval
(&self)
runtime/src/addr.rs:26
↓ 5 callersFunctionNode
examples/sort/radix/radix_sort_lam.js:7
↓ 5 callersMethodalloc
(&mut self)
runtime/src/allocator.rs:93
↓ 5 callersMethodchildren_mut
(&mut self)
ast/src/ast.rs:147
↓ 5 callersMethodget_f24
(self)
num/src/num.rs:123
↓ 5 callersMethodpre_reduce
Reduces the definitions in the book individually, except for the skipped ones. Defs that are not in the book are treated as inert defs. `max_memory`
transform/src/pre_reduce.rs:38
↓ 5 callersMethodset_target
(&self, port: Port)
runtime/src/wire.rs:50
↓ 5 callersFunctionspin_loop
()
runtime/src/runtime.rs:40
↓ 5 callersMethodvisit_tree
(&mut self, tree: &'a Tree, trg: E::Trg)
host/src/encode.rs:68
↓ 4 callersMethodcall
(slf: *const Def, net: &mut Net, port: Port)
runtime/src/def.rs:148
↓ 4 callersMethodcas_target
(&self, expected: Port, value: Port)
runtime/src/wire.rs:55
↓ 4 callersMethodcomm22
(&mut self, a: Port, b: Port)
runtime/src/interact.rs:118
↓ 4 callersMethodeta_reduce
Carries out simple eta-reduction
transform/src/eta_reduce.rs:69
↓ 4 callersMethodfinish
(self)
host/src/encode.rs:45
↓ 4 callersFunctionget_arithmetic_program_path
()
tests/cli.rs:15
↓ 4 callersMethodget_i24
(self)
num/src/num.rs:118
↓ 4 callersMethodhalf_free
(&mut self, addr: Addr)
runtime/src/allocator.rs:73
↓ 4 callersMethodis_skippable
(&self)
runtime/src/port.rs:205
↓ 4 callersMethodreadback
Creates an ast net from a runtime net. Note that vicious circles and disconnected subnets will not be in the resulting ast net, as it is impossible t
host/src/readback.rs:23
↓ 4 callersMethodtarget
(&self)
runtime/src/wire.rs:39
↓ 4 callersMethodtarget
(&self)
runtime/src/linker.rs:278
↓ 4 callersMethodtraverse_node
(self)
runtime/src/node.rs:18
↓ 3 callersFunctionConcat
examples/sort/radix/radix_sort_lam.js:3
↓ 3 callersFunctionSingle
examples/sort/radix/radix_sort_lam.js:2
↓ 3 callersMethodaddr
(&self)
runtime/src/port.rs:173
↓ 3 callersMethodboot
Boots a net from a Def.
runtime/src/net.rs:30
↓ 3 callersMethodcreate_wire_to
(&mut self, port: Port)
runtime/src/node.rs:52
↓ 3 callersMethodhalf_link_port_port
(&mut self, a_port: Port, b_port: Port)
runtime/src/linker.rs:90
↓ 3 callersMethodhalf_link_wire_port
(&mut self, a_port: Port, a_wire: Wire, b_port: Port)
runtime/src/linker.rs:100
↓ 3 callersMethodinsert_def
Inserts a singular def into the mapping.
host/src/host.rs:76
↓ 3 callersMethodinstructions
(&self)
runtime/src/def.rs:203
↓ 3 callersMethoditer_mut
(&mut self)
runtime/src/linker.rs:336
↓ 3 callersMethodlink_const
(&mut self, trg: Self::Trg, port: Port)
host/src/encode.rs:121
↓ 3 callersMethodlink_wire_wire
(&mut self, a_wire: Wire, b_wire: Wire)
runtime/src/linker.rs:37
↓ 3 callersFunctionload_book
(files: &[PathBuf], transform_args: TransformArgs)
src/main.rs:100
↓ 3 callersFunctionload_file
(file: &str)
tests/loaders.rs:9
↓ 3 callersMethodlock_target
(&self)
runtime/src/wire.rs:67
↓ 3 callersFunctionmerge
examples/sort/radix/radix_sort_lam.js:54
↓ 3 callersMethodnormal
Reduces a net to normal form.
runtime/src/net.rs:55
↓ 3 callersFunctionnormal_with
(book: Book, mem: Option<usize>, entry_point: &str)
tests/loaders.rs:28
↓ 3 callersFunctionparse_core
Parses code and generate Book from hvm-64 syntax
tests/loaders.rs:15
↓ 3 callersFunctionparse_eof
Parses the input with the callback, ensuring that the whole input is consumed.
ast/src/parser.rs:169
↓ 3 callersMethodparse_name
Name = /[a-zA-Z0-9_.$]+/
ast/src/parser.rs:108
↓ 3 callersMethodparse_tree
(&mut self)
ast/src/parser.rs:42
↓ 3 callersMethodprune
(&mut self, entrypoints: &[String])
transform/src/prune.rs:11
↓ 3 callersMethodread_port
Reads a tree out from a given `port`. If this is a var port, the `wire` this port was reached from must be supplied to key into the `vars` map.
host/src/readback.rs:53
↓ 3 callersMethodread_word
(&mut self)
runtime/src/trace.rs:284
↓ 3 callersFunctionrev
examples/sort/radix/radix_sort_lam.js:20
↓ 3 callersFunctionsum
tests/programs/stress_tests/sum_tree.js:21
↓ 3 callersFunctionsum
examples/sort/radix/radix_sort_lam.js:27
↓ 3 callersMethodswap_target
(&self, value: Port)
runtime/src/wire.rs:60
↓ 3 callersFunctionto_arr
examples/sort/radix/radix_sort_lam.js:36
↓ 3 callersFunctionto_map
examples/sort/radix/radix_sort_lam.js:47
↓ 3 callersMethodunion
Adds all of the labels in `other` to this set.
runtime/src/def.rs:40
↓ 3 callersMethodvisit_tree
(&mut self, tree: &'b Tree, depth: Option<usize>, mut out: Option<&mut LabSet>)
host/src/calc_labels.rs:176
↓ 3 callersMethodvisit_tree
(&mut self, tree: &Tree)
transform/src/pre_reduce.rs:121
↓ 3 callersMethodwrite_word
(&mut self, word: u64)
runtime/src/trace.rs:178
↓ 2 callersFunction_read_traces
(limit: usize)
runtime/src/trace.rs:296
↓ 2 callersMethodacquire
(&self, cb: impl FnOnce(&mut TraceData))
runtime/src/trace.rs:212
↓ 2 callersMethodadd
(&mut self, lab: Lab)
runtime/src/def.rs:19
↓ 2 callersMethodadd_to
(&self, target: &AtomicRewrites)
runtime/src/runtime.rs:84
↓ 2 callersMethodas_var
(&self)
runtime/src/wire.rs:78
↓ 2 callersMethodcalc_def
(&mut self, key: &'b str, depth: Option<usize>, out: Option<&mut LabSet>)
host/src/calc_labels.rs:149
next →1–100 of 335, ranked by callers