Get the type for an instruction's input.
(&self, ir_inst: Inst, idx: usize)
| 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 { |
no test coverage detected