Home
last modified time | relevance | path

Searched refs:Promotion (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/base/
Dsafe_math.h203 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 …]
Dsafe_math_impl.h487 ArithmeticPromotionCategory Promotion =
/external/libchrome/base/numerics/
Dsafe_math.h232 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 …]
Dsafe_math_impl.h498 ArithmeticPromotionCategory Promotion =
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h87 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 …]
Dsafe_conversions_impl.h309 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/
DAArch64PromoteConstant.cpp527 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/
Dfunctional.shaders.implicit_conversions.txt26 + Promotion to vector types (for example int -> vec3)
/external/llvm/test/ThinLTO/X86/
Dalias_import.ll90 ; Promotion + internalization should internalize all of these, except for aliases of
/external/llvm/docs/
DPasses.rst728 #. Scalar Promotion of Memory. If there is a store instruction inside of the