Searched refs:try_to_scalar_int (Results 1 – 4 of 4) sorted by relevance
108 pub fn try_to_scalar_int(self) -> Option<ScalarInt> { in try_to_scalar_int() method114 self.try_to_scalar_int()?.to_bits(size).ok() in try_to_bits()119 self.try_to_scalar_int()?.try_into().ok() in try_to_bool()
76 pub fn try_to_scalar_int(&self) -> Option<ScalarInt> { in try_to_scalar_int() method81 self.try_to_scalar_int()?.to_bits(size).ok() in try_to_bits()85 self.try_to_scalar_int()?.try_into().ok() in try_to_bool()89 self.try_to_scalar_int()?.try_to_machine_usize(tcx).ok() in try_to_machine_usize()
2562 pub fn try_to_scalar_int(self) -> Option<ScalarInt> { in try_to_scalar_int() method2568 self.try_to_scalar_int()?.to_bits(size).ok() in try_to_bits()2573 self.try_to_scalar_int()?.try_into().ok() in try_to_bool()
491 != const_val.try_to_scalar_int()?.size() in mir_operand_get_const_val()