Home
last modified time | relevance | path

Searched refs:FirstType (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaARM.h89 bool areCompatibleSveTypes(QualType FirstType, QualType SecondType);
93 bool areLaxCompatibleSveTypes(QualType FirstType, QualType SecondType);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaARM.cpp1429 bool SemaARM::areCompatibleSveTypes(QualType FirstType, QualType SecondType) { in areCompatibleSveTypes() argument
1447 auto IsValidCast = [&](QualType FirstType, QualType SecondType) { in areCompatibleSveTypes() argument
1448 if (const auto *BT = FirstType->getAs<BuiltinType>()) { in areCompatibleSveTypes()
1457 FirstType->getSveEltType(Context); in areCompatibleSveTypes()
1469 return IsValidCast(FirstType, SecondType) || in areCompatibleSveTypes()
1470 IsValidCast(SecondType, FirstType); in areCompatibleSveTypes()
1473 bool SemaARM::areLaxCompatibleSveTypes(QualType FirstType, in areLaxCompatibleSveTypes() argument
1491 auto IsLaxCompatible = [&](QualType FirstType, QualType SecondType) { in areLaxCompatibleSveTypes() argument
1492 const auto *BT = FirstType->getAs<BuiltinType>(); in areLaxCompatibleSveTypes()
1528 FirstType->getSveEltType(Context)->isIntegerType(); in areLaxCompatibleSveTypes()
[all …]
H A DSemaObjC.cpp46 QualType FirstType; in ActOnObjCForCollectionStmt() local
56 FirstType = D->getType(); in ActOnObjCForCollectionStmt()
65 if (FirstType->getContainedAutoType()) { in ActOnObjCForCollectionStmt()
70 FirstType = QualType(); in ActOnObjCForCollectionStmt()
72 D->getTypeSourceInfo()->getTypeLoc(), DeducedInit, FirstType, Info); in ActOnObjCForCollectionStmt()
76 if (FirstType.isNull()) { in ActOnObjCForCollectionStmt()
81 D->setType(FirstType); in ActOnObjCForCollectionStmt()
97 FirstType = static_cast<Expr *>(First)->getType(); in ActOnObjCForCollectionStmt()
98 if (FirstType.isConstQualified()) in ActOnObjCForCollectionStmt()
100 << FirstType << First->getSourceRange(); in ActOnObjCForCollectionStmt()
[all …]
H A DSemaRISCV.cpp1474 auto ValidScalableConversion = [](QualType FirstType, QualType SecondType) { in isValidRVVBitcast() argument
1475 if (!FirstType->isRVVSizelessBuiltinType()) in isValidRVVBitcast()
H A DSemaDeclAttr.cpp4395 QualType FirstType = FirstField->getType(); in handleTransparentUnionAttr() local
4396 if (FirstType->hasFloatingRepresentation() || FirstType->isVectorType()) { in handleTransparentUnionAttr()
4399 << FirstType->isVectorType() << FirstType; in handleTransparentUnionAttr()
4403 if (FirstType->isIncompleteType()) in handleTransparentUnionAttr()
4405 uint64_t FirstSize = S.Context.getTypeSize(FirstType); in handleTransparentUnionAttr()
4406 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType); in handleTransparentUnionAttr()
H A DSemaExpr.cpp7603 auto ValidScalableConversion = [](QualType FirstType, QualType SecondType) { in isValidSveBitcast() argument
7604 if (!FirstType->isSVESizelessBuiltinType()) in isValidSveBitcast()
10346 auto IsSveRVVConversion = [](QualType FirstType, QualType SecondType, in CheckVectorOperands()
10350 if (FirstType->isSizelessBuiltinType() && VecType) { in CheckVectorOperands()
10377 auto IsSveRVVGnuConversion = [](QualType FirstType, QualType SecondType, in CheckVectorOperands()
10379 const VectorType *FirstVecType = FirstType->getAs<VectorType>(); in CheckVectorOperands()
10406 if (FirstType->isSVESizelessBuiltinType()) in CheckVectorOperands()
10408 if (FirstType->isRVVSizelessBuiltinType()) { in CheckVectorOperands()
17186 QualType FirstType, SecondType; in DiagnoseAssignmentResult() local
17191 FirstType = DstType; in DiagnoseAssignmentResult()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp178 QualType FirstType = FirstField->getType(); in diagnoseSubMismatchField() local
180 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchField()
181 DiagError(FieldTypeName) << FirstII << FirstType; in diagnoseSubMismatchField()
276 QualType FirstType = FirstTD->getUnderlyingType(); in diagnoseSubMismatchTypedef() local
278 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchTypedef()
279 DiagError(TypedefType) << IsTypeAlias << FirstName << FirstType; in diagnoseSubMismatchTypedef()
319 QualType FirstType = FirstVD->getType(); in diagnoseSubMismatchVar() local
321 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchVar()
322 DiagError(VarType) << FirstName << FirstType; in diagnoseSubMismatchVar()
1501 QualType FirstType = FirstNTTPD->getType(); in diagnoseMismatch() local
[all …]
H A DASTContext.cpp10545 bool ASTContext::areCompatibleRVVTypes(QualType FirstType, in areCompatibleRVVTypes() argument
10548 ((FirstType->isRVVSizelessBuiltinType() && SecondType->isVectorType()) || in areCompatibleRVVTypes()
10549 (FirstType->isVectorType() && SecondType->isRVVSizelessBuiltinType())) && in areCompatibleRVVTypes()
10552 auto IsValidCast = [this](QualType FirstType, QualType SecondType) { in areCompatibleRVVTypes() argument
10553 if (const auto *BT = FirstType->getAs<BuiltinType>()) { in areCompatibleRVVTypes()
10557 return FirstType->isRVVVLSBuiltinType() && in areCompatibleRVVTypes()
10563 return FirstType->isRVVVLSBuiltinType() && in areCompatibleRVVTypes()
10569 return FirstType->isRVVVLSBuiltinType() && in areCompatibleRVVTypes()
10575 return FirstType->isRVVVLSBuiltinType() && in areCompatibleRVVTypes()
10581 return FirstType->isRVVVLSBuiltinType() && in areCompatibleRVVTypes()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DTypeMap.h44 lldb::TypeSP FirstType() const;
H A DType.h385 lldb::TypeSP GetFirstType() const { return m_type_map.FirstType(); } in GetFirstType()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DTypeMap.cpp94 lldb::TypeSP TypeMap::FirstType() const { in FirstType() function in TypeMap
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp548 CVTypeArray::Iterator FirstType = CVTypes.begin(); in traverseTypeSection() local
551 if (FirstType->kind() == LF_TYPESERVER2) { in traverseTypeSection()
553 TypeDeserializer::deserializeAs<TypeServer2Record>(FirstType->data())); in traverseTypeSection()
559 if (FirstType->kind() == LF_PRECOMP) { in traverseTypeSection()
561 TypeDeserializer::deserializeAs<PrecompRecord>(FirstType->data())); in traverseTypeSection()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp384 const QualType FirstType = FirstArg->getType(); in handleOverloadedOperator() local
387 if (FirstType->isIntegralOrEnumerationType() || in handleOverloadedOperator()
391 const bool IsIterFirst = FirstType->isStructureOrClassType(); in handleOverloadedOperator()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h1059 const Node *FirstType; variable
1065 FirstType(FirstType_), SecondType(SecondType_) {} in CtorVtableSpecialName()
1067 template<typename Fn> void match(Fn F) const { F(FirstType, SecondType); } in match()
1071 FirstType->print(OB); in printLeft()
5564 Node *FirstType = getDerived().parseType(); in parseSpecialName() local
5565 if (FirstType == nullptr) in parseSpecialName()
5572 return make<CtorVtableSpecialName>(SecondType, FirstType); in parseSpecialName()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2531 bool areCompatibleRVVTypes(QualType FirstType, QualType SecondType);
2537 bool areLaxCompatibleRVVTypes(QualType FirstType, QualType SecondType);
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp270 TypeSP pcm_type_sp = results.GetTypeMap().FirstType(); in ParseTypeFromClangModule()
284 pcm_type_sp = results.GetTypeMap().FirstType(); in ParseTypeFromClangModule()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h3216 typedef typename RawPairType::first_type FirstType;
3222 testing::SafeMatcherCast<const FirstType&>(first_matcher)),
3290 const Matcher<const FirstType&> first_matcher_;