Get the number of outputs to the given IR instruction.
(&self, ir_inst: Inst)
| 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 { |
no test coverage detected