Get the total number of instructions created in this function, whether they are currently inserted in the layout or not. This is intended for use with `SecondaryMap::with_capacity`.
(&self)
| 218 | /// |
| 219 | /// This is intended for use with `SecondaryMap::with_capacity`. |
| 220 | pub fn num_insts(&self) -> usize { |
| 221 | self.insts.0.len() |
| 222 | } |
| 223 | |
| 224 | /// Returns `true` if the given instruction reference is valid. |
| 225 | pub fn inst_is_valid(&self, inst: Inst) -> bool { |