Home
last modified time | relevance | path

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

12

/external/libchrome/base/numerics/
Dchecked_math_impl.h58 using Promotion =
65 if (BASE_NUMERICS_UNLIKELY(!IsValueInRangeForNumericType<Promotion>(x) ||
66 !IsValueInRangeForNumericType<Promotion>(y))) {
70 Promotion presult = {};
72 if (IsIntegerArithmeticSafe<Promotion, T, U>::value) {
73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y);
75 is_valid = CheckedAddImpl(static_cast<Promotion>(x),
76 static_cast<Promotion>(y), &presult);
118 using Promotion =
125 if (BASE_NUMERICS_UNLIKELY(!IsValueInRangeForNumericType<Promotion>(x) ||
[all …]
Dsafe_math_arm_impl.h35 using Promotion = typename FastIntegerArithmeticPromotion<T, U>::type; in Do() local
36 Promotion presult; in Do()
38 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); in Do()
113 using Promotion = typename FastIntegerArithmeticPromotion<T, U>::type; in Do() local
114 return saturated_cast<V>(static_cast<Promotion>(x) * in Do()
115 static_cast<Promotion>(y)); in Do()
Dsafe_conversions_impl.h358 using Promotion = decltype(Src() + Dst());
360 static_cast<Promotion>(value) >=
361 static_cast<Promotion>(DstLimits::lowest()),
362 static_cast<Promotion>(value) <=
363 static_cast<Promotion>(DstLimits::max()));
379 using Promotion = decltype(Src() + Dst());
383 static_cast<Promotion>(SrcLimits::max()) <=
384 static_cast<Promotion>(DstLimits::max()) ||
385 static_cast<Promotion>(value) <=
386 static_cast<Promotion>(DstLimits::max()));
[all …]
/external/angle/src/common/third_party/base/anglebase/numerics/
Dsafe_math.h261 typedef typename ArithmeticPromotion<T>::type Promotion; \
265 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \
266 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \
270 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \
271 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \
272 return CheckedNumeric<Promotion>( \
289 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \
290 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \
291 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \
293 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \
[all …]
Dsafe_math_impl.h533 ArithmeticPromotionCategory Promotion =
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h91 using Promotion = typename BigEnoughPromotion<T, U>::type;
92 Promotion presult;
95 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) &&
96 IsValueInRangeForNumericType<Promotion>(y);
98 if (IsIntegerArithmeticSafe<Promotion, T, U>::value) {
99 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y);
101 is_valid &= CheckedAddImpl(static_cast<Promotion>(x),
102 static_cast<Promotion>(y), &presult);
142 using Promotion = typename BigEnoughPromotion<T, U>::type;
143 Promotion presult;
[all …]
Dsafe_conversions_impl.h359 using Promotion = decltype(Src() + Dst());
361 static_cast<Promotion>(value) >=
362 static_cast<Promotion>(DstLimits::lowest()),
363 static_cast<Promotion>(value) <=
364 static_cast<Promotion>(DstLimits::max()));
380 using Promotion = decltype(Src() + Dst());
384 static_cast<Promotion>(SrcLimits::max()) <=
385 static_cast<Promotion>(DstLimits::max()) ||
386 static_cast<Promotion>(value) <=
387 static_cast<Promotion>(DstLimits::max()));
[all …]
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DCMakeLists.txt12 Promotion.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp535 auto &Promotion = PromotionCache[C]; in promoteConstants() local
536 ensurePromotedGV(F, *C, Promotion); in promoteConstants()
537 insertDefinitions(F, *Promotion.GV, InsertPts); in promoteConstants()
/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/llvm-project/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp549 auto &Promotion = PromotionCache[C]; in promoteConstants() local
550 ensurePromotedGV(F, *C, Promotion); in promoteConstants()
551 insertDefinitions(F, *Promotion.GV, InsertPts); in promoteConstants()
/external/grpc-grpc-java/buildscripts/
Dsonatype-upload.sh23 * Build Promotion > Staging Profiles
/external/deqp/doc/testspecs/GLES31/
Dfunctional.shaders.implicit_conversions.txt26 + Promotion to vector types (for example int -> vec3)
/external/llvm-project/lldb/unittests/Utility/
DScalarTest.cpp292 TEST(ScalarTest, Promotion) { in TEST() argument
/external/llvm-project/llvm/test/CodeGen/ARM/
DO3-pipeline.ll49 ; CHECK-NEXT: Type Promotion
Dconstantpool-promote.ll189 ; Promotion only works with globals with alignment 4 or less; a vector has
/external/llvm/test/ThinLTO/X86/
Dalias_import.ll90 ; Promotion + internalization should internalize all of these, except for aliases of
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/g3doc/
Dconv_emitter.md213 ### The Emitter - Shared Memory Promotion
/external/freetype/src/gxvalid/
DREADME514 Information-technology Promotion Agency(IPA), Japan.
/external/llvm-project/mlir/docs/Dialects/
DLinalg.md28 1. Promotion to Temporary Buffer in Fast Memory.
/external/llvm-project/llvm/test/CodeGen/X86/
Duadd_sat_vec.ll479 ; Promotion
Dusub_sat_vec.ll479 ; Promotion
Dsadd_sat_vec.ll499 ; Promotion
/external/llvm/docs/
DPasses.rst728 #. Scalar Promotion of Memory. If there is a store instruction inside of the
/external/llvm-project/llvm/docs/
DPasses.rst735 #. Scalar Promotion of Memory. If there is a store instruction inside of the

12