Get the number of inputs to the given IR instruction. This is a count only of the Value arguments to the instruction: block arguments will not be included in this count.
(&self, ir_inst: Inst)
| 1442 | /// Get the number of inputs to the given IR instruction. This is a count only of the Value |
| 1443 | /// arguments to the instruction: block arguments will not be included in this count. |
| 1444 | pub fn num_inputs(&self, ir_inst: Inst) -> usize { |
| 1445 | self.f.dfg.inst_args(ir_inst).len() |
| 1446 | } |
| 1447 | |
| 1448 | /// Get the number of outputs to the given IR instruction. |
| 1449 | pub fn num_outputs(&self, ir_inst: Inst) -> usize { |
no test coverage detected