Searched refs:Promotion (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/base/ |
D | safe_math.h | 203 typedef typename ArithmeticPromotion<T>::type Promotion; \ 207 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 208 return CheckedNumeric<Promotion>( \ 212 T result = Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 213 static_cast<Promotion>(rhs.ValueUnsafe()), \ 215 return CheckedNumeric<Promotion>( \ 230 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 231 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 232 return CheckedNumeric<Promotion>( \ 235 return CheckedNumeric<Promotion>::cast(lhs) \ [all …]
|
D | safe_math_impl.h | 487 ArithmeticPromotionCategory Promotion =
|
/external/libchrome/base/numerics/ |
D | safe_math.h | 232 typedef typename ArithmeticPromotion<T>::type Promotion; \ 236 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 237 return CheckedNumeric<Promotion>( \ 242 Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 243 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 244 return CheckedNumeric<Promotion>( \ 260 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 261 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 262 return CheckedNumeric<Promotion>( \ 265 return CheckedNumeric<Promotion>::cast(lhs) \ [all …]
|
D | safe_math_impl.h | 498 ArithmeticPromotionCategory Promotion =
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math_impl.h | 87 using Promotion = typename BigEnoughPromotion<T, U>::type; 88 Promotion presult; 91 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 92 IsValueInRangeForNumericType<Promotion>(y); 94 if (IsIntegerArithmeticSafe<Promotion, T, U>::value) { 95 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 97 is_valid &= CheckedAddImpl(static_cast<Promotion>(x), 98 static_cast<Promotion>(y), &presult); 138 using Promotion = typename BigEnoughPromotion<T, U>::type; 139 Promotion presult; [all …]
|
D | safe_conversions_impl.h | 309 using Promotion = decltype(Src() + Dst()); 311 static_cast<Promotion>(value) >= 312 static_cast<Promotion>(DstLimits::lowest()), 313 static_cast<Promotion>(value) <= 314 static_cast<Promotion>(DstLimits::max())); 330 using Promotion = decltype(Src() + Dst()); 334 static_cast<Promotion>(SrcLimits::max()) <= 335 static_cast<Promotion>(DstLimits::max()) || 336 static_cast<Promotion>(value) <= 337 static_cast<Promotion>(DstLimits::max())); [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 527 auto &Promotion = PromotionCache[C]; in promoteConstants() local 528 ensurePromotedGV(F, *C, Promotion); in promoteConstants() 529 insertDefinitions(F, *Promotion.GV, InsertPts); in promoteConstants()
|
/external/deqp/doc/testspecs/GLES31/ |
D | functional.shaders.implicit_conversions.txt | 26 + Promotion to vector types (for example int -> vec3)
|
/external/llvm/test/ThinLTO/X86/ |
D | alias_import.ll | 90 ; Promotion + internalization should internalize all of these, except for aliases of
|
/external/llvm/docs/ |
D | Passes.rst | 728 #. Scalar Promotion of Memory. If there is a store instruction inside of the
|