Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuperTails/wasmcraft2
/ functions
Functions
555 in github.com/SuperTails/wasmcraft2
⨍
Functions
555
◇
Types & classes
118
↓ 1 callers
Method
get_mut
(&mut self, block_id: BlockId)
src/validator.rs:335
↓ 1 callers
Method
get_mut
(&mut self, k: BlockId)
src/block_id_map.rs:54
↓ 1 callers
Function
get_postorder
(func: &SsaFunction)
src/ssa/liveness.rs:768
↓ 1 callers
Method
get_postorder
Gets a postorder traversal of the tree, so it will start at the leaf nodes.
src/ssa/liveness.rs:846
↓ 1 callers
Function
get_postorder_impl
(func: &SsaFunction, node: BlockId, visited: &mut HashSet<BlockId>, result: &mut Vec<BlockId>)
src/ssa/liveness.rs:776
↓ 1 callers
Function
get_returns
(interp: &mut Interpreter, return_tys: &[ValType])
tests/test_common.rs:269
↓ 1 callers
Function
get_returns
(server: &mut Server, return_tys: &[ValType])
tests/server_test.rs:72
↓ 1 callers
Function
get_single_bit_run
(value: i32)
src/pack_emitter/mod.rs:1476
↓ 1 callers
Function
get_single_tick_funcs
(program: &SsaProgram)
src/ssa/call_graph.rs:158
↓ 1 callers
Method
get_temp_double
(&mut self)
src/ssa/reg_alloc.rs:73
↓ 1 callers
Method
globals
(&self)
src/wasm_file.rs:287
↓ 1 callers
Method
insert_edge
(&mut self, a: SsaVar, b: SsaVar, cost: u32)
src/ssa/opt/coalesce.rs:22
↓ 1 callers
Method
interferes
(&self, lhs: &MergedRegister, rhs: &MergedRegister)
src/ssa/reg_alloc.rs:102
↓ 1 callers
Method
interferes
(&self, t1: SsaVar, t2: SsaVar)
src/ssa/opt/coalesce.rs:113
↓ 1 callers
Method
into_i64
(self)
src/ssa/interp.rs:94
↓ 1 callers
Method
into_iter
(self)
src/block_id_map.rs:144
↓ 1 callers
Method
is_admissible
(&self, node: TypedSsaVar, color: Color)
src/ssa/opt/coalesce.rs:261
↓ 1 callers
Method
is_empty
(&self)
src/ssa/interp.rs:57
↓ 1 callers
Function
iter_direct_calls
Returns an iterator over the function IDs that this function can call using call instructions
src/ssa/call_graph.rs:100
↓ 1 callers
Function
iter_indirect_calls
Returns an iterator over the function IDs that this function can call through call_indirect instructions
src/ssa/call_graph.rs:126
↓ 1 callers
Function
iter_indirect_tables
Returns an iterator over the table IDs, params, and returns that this function uses in call_indirect instructions
src/ssa/call_graph.rs:113
↓ 1 callers
Method
iter_live_out
(&self)
src/ssa/liveness.rs:457
↓ 1 callers
Function
list_integ_tests
()
compare_tests.py:4
↓ 1 callers
Method
load
(&self, addr: usize, len: usize)
src/ssa/mod.rs:1433
↓ 1 callers
Function
load_intrinsics
()
src/pack_emitter/mod.rs:2494
↓ 1 callers
Function
load_state_async
(wasm_data: &[u8])
tests/server_test.rs:104
↓ 1 callers
Function
local_get
(dst: Register, src: u32, half: Half, code: &mut Vec<String>)
src/pack_emitter/mod.rs:322
↓ 1 callers
Function
local_set
(dst: u32, half: Half, src: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:317
↓ 1 callers
Function
lower
(ctx: &CompileContext, ssa_func: &SsaFunction, ssa_program: &SsaProgram, call_graph: &CallGraph, constant_pool
src/ssa/lir_emitter.rs:1310
↓ 1 callers
Function
lower_block
( parent: &SsaProgram, parent_func: &SsaFunction, mut block_id: BlockId, ssa_block: &SsaBasicBlock, ra: &
src/ssa/lir_emitter.rs:106
↓ 1 callers
Function
main
()
compare_tests.py:80
↓ 1 callers
Function
make_export_func
make_export_func returns a datapack function
src/pack_emitter/mod.rs:2543
↓ 1 callers
Function
make_func
(v: Vec<Vec<usize>>)
src/ssa/liveness.rs:998
↓ 1 callers
Function
mem_load_32
(dst: Register, addr: RegisterWithInfo, code: &mut Vec<String>, const_pool: &mut HashSet<i32>)
src/pack_emitter/mod.rs:728
↓ 1 callers
Function
mem_load_unaligned_32
(dst: Register, addr: i32, offset: i32, code: &mut Vec<String>, const_pool: &mut HashSet<i32>)
src/pack_emitter/mod.rs:648
↓ 1 callers
Function
mem_store_16
(src: Register, addr: RegisterWithInfo, code: &mut Vec<String>, const_pool: &mut HashSet<i32>)
src/pack_emitter/mod.rs:430
↓ 1 callers
Function
mem_store_32
(src: Register, addr: RegisterWithInfo, code: &mut Vec<String>, const_pool: &mut HashSet<i32>)
src/pack_emitter/mod.rs:368
↓ 1 callers
Function
mem_store_8
(src: Register, addr: RegisterWithInfo, code: &mut Vec<String>)
src/pack_emitter/mod.rs:491
↓ 1 callers
Method
merge
(&mut self, var1: TypedSsaVar, var2: TypedSsaVar)
src/ssa/reg_alloc.rs:162
↓ 1 callers
Function
merge_ranges
(a: RangeInclusive<usize>, b: RangeInclusive<usize>)
src/ssa/liveness.rs:18
↓ 1 callers
Method
next_id
(&mut self)
src/ssa/mod.rs:177
↓ 1 callers
Method
parse_parenthesized
(&mut self)
tests/sexpr.rs:143
↓ 1 callers
Method
partial_cmp
(&self, other: &Self)
src/ssa/mod.rs:299
↓ 1 callers
Function
phi_arm_is_redundant
(node: PhiArm)
src/ssa/mod.rs:1589
↓ 1 callers
Function
pop_data
(regs: &[Register], code: &mut Vec<String>)
src/pack_emitter/mod.rs:268
↓ 1 callers
Function
pop_local_frame
(_ty: &[ValType], code: &mut Vec<String>)
src/pack_emitter/mod.rs:313
↓ 1 callers
Method
pop_push_values
(&mut self, input: &[T], output: &[U])
src/validator.rs:404
↓ 1 callers
Function
pop_return_addr
(code: &mut Vec<String>)
src/pack_emitter/mod.rs:253
↓ 1 callers
Method
print
(&self)
src/ssa/liveness.rs:975
↓ 1 callers
Method
print_impl
(&self, key: BlockId, indent: u32)
src/ssa/liveness.rs:980
↓ 1 callers
Function
push_data
(regs: &[Register], code: &mut Vec<String>)
src/pack_emitter/mod.rs:257
↓ 1 callers
Function
push_local_frame
(ty: &[ValType], code: &mut Vec<String>)
src/pack_emitter/mod.rs:305
↓ 1 callers
Function
push_return_addr
(addr: BlockId, code: &mut Vec<String>)
src/pack_emitter/mod.rs:242
↓ 1 callers
Function
recolor
( if_graph: &IFGraph, node: TypedSsaVar, color: Color, fixed_nodes: &mut Set<SsaVar>, colo
src/ssa/opt/coalesce.rs:343
↓ 1 callers
Function
recolor_chunk
Attempts to recolor all temps in the given chunk to be the same color. Which color is chosen depends on some heuristics. If not all temps can be recol
src/ssa/opt/coalesce.rs:462
↓ 1 callers
Function
remove_redundant_phi_nodes
(func: &mut SsaFunction)
src/ssa/mod.rs:1528
↓ 1 callers
Method
remove_source
(&mut self, block: usize)
src/ssa/mod.rs:96
↓ 1 callers
Method
remove_typed_from
Equivalent to calling `remove_typed` on all elements in the iterator.
src/ssa/mod.rs:359
↓ 1 callers
Method
rename_source
(&mut self, old: usize, new: usize)
src/ssa/mod.rs:120
↓ 1 callers
Method
renumber_target
(&mut self, old: usize, new: usize)
src/ssa/mod.rs:1234
↓ 1 callers
Method
run_check_async
(&mut self, arg: &str)
tests/server_test.rs:225
↓ 1 callers
Function
run_datapack_output
(_ctx: &CompileContext, datapack: Vec<Function>)
src/lib.rs:284
↓ 1 callers
Function
run_normal_test
(name: str)
compare_tests.py:29
↓ 1 callers
Function
run_server_test
(name: str)
compare_tests.py:54
↓ 1 callers
Method
run_until_halted
(&mut self)
src/lir/interp.rs:256
↓ 1 callers
Method
save
Creates a datapack with the given root directory, erasing the previous contents of the folder.
src/pack_emitter/mod.rs:2615
↓ 1 callers
Function
scoreboard_get
(server: &mut Server, holder: &str, obj: &str)
tests/server_test.rs:40
↓ 1 callers
Function
scoreboard_set
(server: &mut Server, holder: &str, obj: &str, val: i32)
tests/server_test.rs:27
↓ 1 callers
Function
set_params
(interp: &mut Interpreter, func_params: &[TypedValue])
tests/test_common.rs:248
↓ 1 callers
Function
set_params
(server: &mut Server, func_params: &[TypedValue])
tests/server_test.rs:51
↓ 1 callers
Function
signed_greater_than_64
(dst: Register, lhs: DoubleRegister, rhs: DoubleRegister, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1332
↓ 1 callers
Function
signed_greater_than_eq_64
(dst: Register, lhs: DoubleRegister, rhs: DoubleRegister, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1336
↓ 1 callers
Function
signed_rem
(dst: Register, lhs: Register, rhs: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1146
↓ 1 callers
Method
sources_mut
(&'a mut self)
src/ssa/mod.rs:54
↓ 1 callers
Function
split_critical_edges
(func: &mut SsaFunction)
src/ssa/mod.rs:1471
↓ 1 callers
Method
starting_locals
(&self)
src/validator.rs:259
↓ 1 callers
Function
state_matches
(state: StaticValue, value: TypedValue)
src/ssa/const_prop.rs:194
↓ 1 callers
Method
step
(&mut self)
src/ssa/interp.rs:218
↓ 1 callers
Method
targets
(&self)
src/ssa/mod.rs:1218
↓ 1 callers
Function
test_constant_and
(lhs_vals: I, rhs: i32)
src/pack_emitter/mod.rs:2819
↓ 1 callers
Function
test_constant_shru
(lhs_vals: I, rhs: i32)
src/pack_emitter/mod.rs:2825
↓ 1 callers
Function
test_constant_xor
(lhs_vals: I, rhs: i32)
src/pack_emitter/mod.rs:2831
↓ 1 callers
Function
turtle_copy_region
(x_span: Register, y_span: Register, z_span: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1417
↓ 1 callers
Function
turtle_fill_block
(block: Register, x_span: Register, y_span: Register, z_span: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1374
↓ 1 callers
Function
turtle_get_block
(reg: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1443
↓ 1 callers
Function
turtle_paste_region_masked
(x_span: Register, y_span: Register, z_span: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1406
↓ 1 callers
Function
turtle_set_block
(reg: Register, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1358
↓ 1 callers
Function
unsigned_greater_than_64
(dst: Register, lhs: DoubleRegister, rhs: DoubleRegister, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1280
↓ 1 callers
Function
unsigned_greater_than_eq_64
(dst: Register, lhs: DoubleRegister, rhs: DoubleRegister, code: &mut Vec<String>)
src/pack_emitter/mod.rs:1284
↓ 1 callers
Function
unsigned_rem
(dst: Register, lhs: Register, rhs: Register, code: &mut Vec<String>, const_pool: &mut HashSet<i32>)
src/pack_emitter/mod.rs:1133
↓ 1 callers
Function
validate
Converts a single function (the one with ID `func`) from WebAssembly into an SSA function.
src/validator.rs:1295
↓ 1 callers
Method
values
(&self)
src/block_id_map.rs:106
↓ 1 callers
Method
var_count
(&self)
src/ssa/mod.rs:133
↓ 1 callers
Method
vars_from
(&self, block: usize)
src/ssa/mod.rs:129
↓ 1 callers
Method
visit_operator
(&mut self, op: &Operator)
src/validator.rs:471
↓ 1 callers
Function
wasm_to_ssa
Converts an entire WebAssembly file into an SSA-form program.
src/validator.rs:1388
Method
analyze
(func: &SsaFunction)
src/ssa/reg_alloc.rs:42
Method
analyze
(func: &SsaFunction)
src/ssa/liveness.rs:188
Method
body_contains
(&self, idx: usize)
src/ssa/liveness.rs:72
Method
call
(&mut self, func: usize, params: Vec<TypedValue>)
src/ssa/interp.rs:193
← previous
next →
301–400 of 555, ranked by callers