Home
last modified time | relevance | path

Searched refs:add_with_overflow (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/rust/src/tools/miri/tests/fail/
Dtransmute-pair-uninit.rs7 let z = std::intrinsics::add_with_overflow(0usize, 0usize); in main()
/third_party/rust/rust/tests/mir-opt/
Dlower_intrinsics.with_overflow.LowerIntrinsics.panic-abort.diff33 - _3 = add_with_overflow::<i32>(move _4, move _5) -> [return: bb1, unwind unreachable];
Dlower_intrinsics.with_overflow.LowerIntrinsics.panic-unwind.diff33 - _3 = add_with_overflow::<i32>(move _4, move _5) -> [return: bb1, unwind unreachable];
Dlower_intrinsics.rs123 let _x = core::intrinsics::add_with_overflow(a, b); in with_overflow()
/third_party/rust/rust/compiler/rustc_mir_transform/src/
Dlower_intrinsics.rs125 sym::add_with_overflow | sym::sub_with_overflow | sym::mul_with_overflow => { in run_pass()
135 sym::add_with_overflow => BinOp::Add, in run_pass()
/third_party/rust/rust/compiler/rustc_hir_analysis/src/check/
Dintrinsic.rs88 | sym::add_with_overflow in intrinsic_operation_unsafety()
345 sym::add_with_overflow | sym::sub_with_overflow | sym::mul_with_overflow => { in check_intrinsic_type()
/third_party/rust/rust/compiler/rustc_span/src/
Dsymbol.rs337 add_with_overflow,
/third_party/rust/rust/library/core/src/
Dintrinsics.rs2061 pub fn add_with_overflow<T: Copy>(x: T, y: T) -> (T, bool); in add_with_overflow() function
/third_party/rust/rust/library/core/src/num/
Duint_macros.rs1505 let (a, b) = intrinsics::add_with_overflow(self as $ActualT, rhs as $ActualT);
Dint_macros.rs1533 let (a, b) = intrinsics::add_with_overflow(self as $ActualT, rhs as $ActualT);
/third_party/rust/rust/src/tools/rust-analyzer/bench_data/
Dnumerous_macro_rules2 … , carry1 )= intrinsics :: add_with_overflow ( self , other ); let ( v , carry2 )= intrinsi…
429 … rhs : Self )-> ( Self , bool ){ let ( a , b )= intrinsics :: add_with_overflow ( self as $…
433 … rhs : Self )-> ( Self , bool ){ let ( a , b )= intrinsics :: add_with_overflow ( self as $…