MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / inst_args

Method inst_args

cranelift/codegen/src/ir/dfg.rs:916–918  ·  view source on GitHub ↗

Get all value arguments on `inst` as a slice.

(&self, inst: Inst)

Source from the content-addressed store, hash-verified

914
915 /// Get all value arguments on `inst` as a slice.
916 pub fn inst_args(&self, inst: Inst) -> &[Value] {
917 self.insts[inst].arguments(&self.value_lists)
918 }
919
920 /// Get all value arguments on `inst` as a mutable slice.
921 pub fn inst_args_mut(&mut self, inst: Inst) -> &mut [Value] {

Callers 15

argsMethod · 0.80
insert_int_divz_sequenceFunction · 0.80
insert_fcvt_sequenceFunction · 0.80
mutateMethod · 0.80
harvest_candidate_lhsFunction · 0.80
post_order_dfsFunction · 0.80
do_inliningFunction · 0.80
replace_call_with_jumpFunction · 0.80
num_inputsMethod · 0.80
input_as_valueMethod · 0.80
put_input_in_regsMethod · 0.80
inst_valuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected