Searched refs:add_with_overflow (Results 1 – 11 of 11) sorted by relevance
| /third_party/rust/rust/src/tools/miri/tests/fail/ |
| D | transmute-pair-uninit.rs | 7 let z = std::intrinsics::add_with_overflow(0usize, 0usize); in main()
|
| /third_party/rust/rust/tests/mir-opt/ |
| D | lower_intrinsics.with_overflow.LowerIntrinsics.panic-abort.diff | 33 - _3 = add_with_overflow::<i32>(move _4, move _5) -> [return: bb1, unwind unreachable];
|
| D | lower_intrinsics.with_overflow.LowerIntrinsics.panic-unwind.diff | 33 - _3 = add_with_overflow::<i32>(move _4, move _5) -> [return: bb1, unwind unreachable];
|
| D | lower_intrinsics.rs | 123 let _x = core::intrinsics::add_with_overflow(a, b); in with_overflow()
|
| /third_party/rust/rust/compiler/rustc_mir_transform/src/ |
| D | lower_intrinsics.rs | 125 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/ |
| D | intrinsic.rs | 88 | 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/ |
| D | symbol.rs | 337 add_with_overflow,
|
| /third_party/rust/rust/library/core/src/ |
| D | intrinsics.rs | 2061 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/ |
| D | uint_macros.rs | 1505 let (a, b) = intrinsics::add_with_overflow(self as $ActualT, rhs as $ActualT);
|
| D | int_macros.rs | 1533 let (a, b) = intrinsics::add_with_overflow(self as $ActualT, rhs as $ActualT);
|
| /third_party/rust/rust/src/tools/rust-analyzer/bench_data/ |
| D | numerous_macro_rules | 2 … , 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 $…
|