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

Method input_ty

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

Get the type for an instruction's input.

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

Source from the content-addressed store, hash-verified

1452
1453 /// Get the type for an instruction's input.
1454 pub fn input_ty(&self, ir_inst: Inst, idx: usize) -> Type {
1455 self.value_ty(self.input_as_value(ir_inst, idx))
1456 }
1457
1458 /// Get the type for a value.
1459 pub fn value_ty(&self, val: Value) -> Type {

Callers 2

put_input_in_regsFunction · 0.80
get_as_extended_valueFunction · 0.80

Calls 2

value_tyMethod · 0.80
input_as_valueMethod · 0.80

Tested by

no test coverage detected