Home
last modified time | relevance | path

Searched refs:CommonType (Results 1 – 16 of 16) sorted by relevance

/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Dcommon_type.pass.cpp72 using CommonType = typename std::common_type<Args...>::type; typedef
94 static_assert(std::is_same<CommonType<void>, void>::value, ""); in test_bullet_two()
95 static_assert(std::is_same<CommonType<int>, int>::value, ""); in test_bullet_two()
96 static_assert(std::is_same<CommonType<int const>, int>::value, ""); in test_bullet_two()
97 static_assert(std::is_same<CommonType<int volatile[]>, int volatile*>::value, ""); in test_bullet_two()
98 static_assert(std::is_same<CommonType<void(&)()>, void(*)()>::value, ""); in test_bullet_two()
108 static_assert(std::is_same<CommonType<T, U>, Expect>::value, ""); in test_bullet_three_one_imp()
109 static_assert(std::is_same<CommonType<U, T>, Expect>::value, ""); in test_bullet_three_one_imp()
110 static_assert(std::is_same<CommonType<T, U>, CommonType<DT, DU>>::value, ""); in test_bullet_three_one_imp()
140 static_assert(std::is_same<CommonType<T1, T1>, Expect>::value, ""); in test_bullet_three_one()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp586 const MDNode *CommonType, in mayBeAccessToSubobjectOf() argument
592 BaseTag.getAccessType() == CommonType) { in mayBeAccessToSubobjectOf()
594 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
620 createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
643 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
676 const MDNode *CommonType = getLeastCommonType(TagA.getAccessType(), in matchAccessTags() local
681 if (!CommonType) { in matchAccessTags()
691 CommonType, GenericTag, MayAlias) || in matchAccessTags()
693 CommonType, GenericTag, MayAlias)) in matchAccessTags()
698 *GenericTag = createAccessTag(CommonType); in matchAccessTags()
/external/llvm-project/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp586 const MDNode *CommonType, in mayBeAccessToSubobjectOf() argument
592 BaseTag.getAccessType() == CommonType) { in mayBeAccessToSubobjectOf()
594 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
620 createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
643 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
676 const MDNode *CommonType = getLeastCommonType(TagA.getAccessType(), in matchAccessTags() local
681 if (!CommonType) { in matchAccessTags()
691 CommonType, GenericTag, MayAlias) || in matchAccessTags()
693 CommonType, GenericTag, MayAlias)) in matchAccessTags()
698 *GenericTag = createAccessTag(CommonType); in matchAccessTags()
/external/abseil-cpp/absl/strings/internal/str_format/
Darg.h344 using CommonType = typename std::conditional<std::is_signed<T>::value,
346 if (static_cast<CommonType>(val) >
347 static_cast<CommonType>((std::numeric_limits<int>::max)())) {
350 static_cast<CommonType>(val) <
351 static_cast<CommonType>((std::numeric_limits<int>::min)())) {
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/
Darg.h344 using CommonType = typename std::conditional<std::is_signed<T>::value,
346 if (static_cast<CommonType>(val) >
347 static_cast<CommonType>((std::numeric_limits<int>::max)())) {
350 static_cast<CommonType>(val) <
351 static_cast<CommonType>((std::numeric_limits<int>::min)())) {
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Darg.h424 using CommonType = typename std::conditional<std::is_signed<T>::value,
426 if (static_cast<CommonType>(val) >
427 static_cast<CommonType>((std::numeric_limits<int>::max)())) {
430 static_cast<CommonType>(val) <
431 static_cast<CommonType>((std::numeric_limits<int>::min)())) {
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Darg.h410 using CommonType = typename std::conditional<std::is_signed<T>::value,
412 if (static_cast<CommonType>(val) >
413 static_cast<CommonType>((std::numeric_limits<int>::max)())) {
416 static_cast<CommonType>(val) <
417 static_cast<CommonType>((std::numeric_limits<int>::min)())) {
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Darg.h410 using CommonType = typename std::conditional<std::is_signed<T>::value,
412 if (static_cast<CommonType>(val) >
413 static_cast<CommonType>((std::numeric_limits<int>::max)())) {
416 static_cast<CommonType>(val) <
417 static_cast<CommonType>((std::numeric_limits<int>::min)())) {
/external/ruy/ruy/
Dcheck_macros.h86 using CommonType = typename std::common_type<LhsType, RhsType>::type;
87 if (!Comparison<CommonType>()(lhs_value, rhs_value)) {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTF.h99 struct CommonType { struct
DBTFDebug.h38 struct BTF::CommonType BTFType;
/external/llvm-project/llvm/lib/Target/BPF/
DBTF.h99 struct CommonType { struct
DBTFDebug.h44 struct BTF::CommonType BTFType;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3165 void destroyNewNodes(Type *CommonType) { in destroyNewNodes() argument
3167 auto Dummy = UndefValue::get(CommonType); in destroyNewNodes()
3197 Type *CommonType; member in __anon65cb6e5c0711::AddressingModeCombiner
3207 : CommonType(nullptr), SQ(_SQ), Original(OriginalValue) {} in AddressingModeCombiner()
3316 if (CommonType && CommonType != Type) in initializeMap()
3318 CommonType = Type; in initializeMap()
3324 assert(CommonType && "At least one non-null value must be!"); in initializeMap()
3326 Map[V] = Constant::getNullValue(CommonType); in initializeMap()
3372 ST.destroyNewNodes(CommonType); in findCommon()
3379 ST.destroyNewNodes(CommonType); in findCommon()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3312 void destroyNewNodes(Type *CommonType) { in destroyNewNodes() argument
3314 auto *Dummy = UndefValue::get(CommonType); in destroyNewNodes()
3344 Type *CommonType; member in __anon6c2a4e480b11::AddressingModeCombiner
3354 : CommonType(nullptr), SQ(_SQ), Original(OriginalValue) {} in AddressingModeCombiner()
3463 if (CommonType && CommonType != Type) in initializeMap()
3465 CommonType = Type; in initializeMap()
3471 assert(CommonType && "At least one non-null value must be!"); in initializeMap()
3473 Map[V] = Constant::getNullValue(CommonType); in initializeMap()
3519 ST.destroyNewNodes(CommonType); in findCommon()
3526 ST.destroyNewNodes(CommonType); in findCommon()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp415 llvm::Type *CommonType = Elems[0]->getType(); in buildFrom() local
416 llvm::Constant *Filler = llvm::Constant::getNullValue(CommonType); in buildFrom()
425 if (Elems[I]->getType() != CommonType || in buildFrom()
435 return EmitArrayConstant(CGM, ATy, CommonType, ATy->getNumElements(), in buildFrom()