Home
last modified time | relevance | path

Searched refs:SecondType (Results 1 – 10 of 10) 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
1449 if (const auto *VT = SecondType->getAs<VectorType>()) { in areCompatibleSveTypes()
1459 return Context.getTypeSize(SecondType) == in areCompatibleSveTypes()
1469 return IsValidCast(FirstType, SecondType) || in areCompatibleSveTypes()
1470 IsValidCast(SecondType, FirstType); in areCompatibleSveTypes()
1474 QualType SecondType) { in areLaxCompatibleSveTypes() argument
1491 auto IsLaxCompatible = [&](QualType FirstType, QualType SecondType) { in areLaxCompatibleSveTypes() argument
1496 const auto *VecTy = SecondType->getAs<VectorType>(); in areLaxCompatibleSveTypes()
1515 Context.getTypeSize(SecondType) != in areLaxCompatibleSveTypes()
[all …]
H A DSemaRISCV.cpp1474 auto ValidScalableConversion = [](QualType FirstType, QualType SecondType) { in isValidRVVBitcast() argument
1478 const auto *VecTy = SecondType->getAs<VectorType>(); in isValidRVVBitcast()
H A DSemaExpr.cpp7603 auto ValidScalableConversion = [](QualType FirstType, QualType SecondType) { in isValidSveBitcast() argument
7607 const auto *VecTy = SecondType->getAs<VectorType>(); in isValidSveBitcast()
10346 auto IsSveRVVConversion = [](QualType FirstType, QualType SecondType, in CheckVectorOperands()
10348 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands()
10377 auto IsSveRVVGnuConversion = [](QualType FirstType, QualType SecondType, in CheckVectorOperands()
10380 const VectorType *SecondVecType = SecondType->getAs<VectorType>(); in CheckVectorOperands()
17186 QualType FirstType, SecondType; in DiagnoseAssignmentResult() local
17192 SecondType = SrcType; in DiagnoseAssignmentResult()
17203 SecondType = DstType; in DiagnoseAssignmentResult()
17212 FDiag << FirstType << SecondType << ActionForDiag in DiagnoseAssignmentResult()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp179 QualType SecondType = SecondField->getType(); in diagnoseSubMismatchField() local
180 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchField()
182 DiagNote(FieldTypeName) << SecondII << SecondType; in diagnoseSubMismatchField()
277 QualType SecondType = SecondTD->getUnderlyingType(); in diagnoseSubMismatchTypedef() local
278 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchTypedef()
280 DiagNote(TypedefType) << IsTypeAlias << SecondName << SecondType; in diagnoseSubMismatchTypedef()
320 QualType SecondType = SecondVD->getType(); in diagnoseSubMismatchVar() local
321 if (computeODRHash(FirstType) != computeODRHash(SecondType)) { in diagnoseSubMismatchVar()
323 DiagNote(VarType) << SecondName << SecondType; in diagnoseSubMismatchVar()
1502 QualType SecondType = SecondNTTPD->getType(); in diagnoseMismatch() local
[all …]
H A DASTContext.cpp10546 QualType SecondType) { 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
10554 if (const auto *VT = SecondType->getAs<VectorType>()) { in areCompatibleRVVTypes()
10559 getTypeSize(SecondType) == ((getRVVTypeSize(*this, BT))); in areCompatibleRVVTypes()
10565 getTypeSize(SecondType) == ((getRVVTypeSize(*this, BT) * 8)); in areCompatibleRVVTypes()
10571 getTypeSize(SecondType) == ((getRVVTypeSize(*this, BT)) * 4); in areCompatibleRVVTypes()
10577 getTypeSize(SecondType) == ((getRVVTypeSize(*this, BT)) * 2); in areCompatibleRVVTypes()
10582 getTypeSize(SecondType) == getRVVTypeSize(*this, BT) && in areCompatibleRVVTypes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp385 const QualType SecondType = SecondArg->getType(); in handleOverloadedOperator() local
388 SecondType->isIntegralOrEnumerationType()) { in handleOverloadedOperator()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h1060 const Node *SecondType; variable
1065 FirstType(FirstType_), SecondType(SecondType_) {} in CtorVtableSpecialName()
1067 template<typename Fn> void match(Fn F) const { F(FirstType, SecondType); } in match()
1073 SecondType->print(OB); in printLeft()
5569 Node *SecondType = getDerived().parseType(); in parseSpecialName() local
5570 if (SecondType == 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/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h3217 typedef typename RawPairType::second_type SecondType;
3224 testing::SafeMatcherCast<const SecondType&>(second_matcher)) {}
3291 const Matcher<const SecondType&> second_matcher_;