Searched defs:has_overflow (Results 1 – 3 of 3) sorted by relevance
141 let has_overflow = fx.bcx.ins().icmp_imm(IntCC::SignedGreaterThan, val, max); in clif_int_or_float_cast() localVariable145 let has_overflow = fx.bcx.ins().icmp_imm(IntCC::UnsignedGreaterThan, val, max); in clif_int_or_float_cast() localVariable
192 let has_overflow = if !signed { in codegen_checked_int_binop() localVariable206 let has_overflow = if !signed { in codegen_checked_int_binop() localVariable222 let has_overflow = fx.bcx.ins().icmp_imm( in codegen_checked_int_binop() localVariable236 let has_overflow = fx.bcx.ins().icmp_imm( in codegen_checked_int_binop() localVariable246 let has_overflow = if !signed { in codegen_checked_int_binop() localVariable
41 pub(super) fn has_overflow(&self, depth: usize) -> bool { in has_overflow() method