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

Method num_outputs

cranelift/codegen/src/machinst/lower.rs:1449–1451  ·  view source on GitHub ↗

Get the number of outputs to the given IR instruction.

(&self, ir_inst: Inst)

Source from the content-addressed store, hash-verified

1447
1448 /// Get the number of outputs to the given IR instruction.
1449 pub fn num_outputs(&self, ir_inst: Inst) -> usize {
1450 self.f.dfg.inst_results(ir_inst).len()
1451 }
1452
1453 /// Get the type for an instruction's input.
1454 pub fn input_ty(&self, ir_inst: Inst, idx: usize) -> Type {

Callers 2

lower_clif_blockMethod · 0.80

Calls 2

lenMethod · 0.45
inst_resultsMethod · 0.45

Tested by

no test coverage detected