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

Method output_ty

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

Get the type for an instruction's output.

(&self, ir_inst: Inst, idx: usize)

Source from the content-addressed store, hash-verified

1462
1463 /// Get the type for an instruction's output.
1464 pub fn output_ty(&self, ir_inst: Inst, idx: usize) -> Type {
1465 self.f.dfg.value_type(self.f.dfg.inst_results(ir_inst)[idx])
1466 }
1467
1468 /// Get the value of a constant instruction (`iconst`, etc.) as a 64-bit
1469 /// value, if possible.

Callers 7

lower_clif_blockMethod · 0.80
u64_from_valueMethod · 0.80
u64_from_signed_valueMethod · 0.80
is_mergeable_loadFunction · 0.80
lower_to_amodeFunction · 0.80
get_as_extended_valueFunction · 0.80

Calls 2

value_typeMethod · 0.45
inst_resultsMethod · 0.45

Tested by

no test coverage detected