Home
last modified time | relevance | path

Searched defs:has_overflow (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/rust/compiler/rustc_codegen_cranelift/src/
Dcast.rs141 let has_overflow = fx.bcx.ins().icmp_imm(IntCC::SignedGreaterThan, val, max); in clif_int_or_float_cast() localVariable
145 let has_overflow = fx.bcx.ins().icmp_imm(IntCC::UnsignedGreaterThan, val, max); in clif_int_or_float_cast() localVariable
Dnum.rs192 let has_overflow = if !signed { in codegen_checked_int_binop() localVariable
206 let has_overflow = if !signed { in codegen_checked_int_binop() localVariable
222 let has_overflow = fx.bcx.ins().icmp_imm( in codegen_checked_int_binop() localVariable
236 let has_overflow = fx.bcx.ins().icmp_imm( in codegen_checked_int_binop() localVariable
246 let has_overflow = if !signed { in codegen_checked_int_binop() localVariable
/third_party/rust/rust/compiler/rustc_trait_selection/src/solve/search_graph/
Doverflow.rs41 pub(super) fn has_overflow(&self, depth: usize) -> bool { in has_overflow() method