Home
last modified time | relevance | path

Searched refs:ConvType (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTextEncoding.cpp84 const ConversionType ConvType; member in __anonf264d0e80111::TextEncodingConverterTable
87 TextEncodingConverterTable(ConversionType ConvType) : ConvType(ConvType) {} in TextEncodingConverterTable() argument
98 switch (ConvType) { in convertString()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp11263 QualType ConvType = in CheckConversionDeclarator() local
11317 if (Proto->getReturnType() != ConvType) { in CheckConversionDeclarator()
11388 ConvType = Proto->getReturnType(); in CheckConversionDeclarator()
11394 if (ConvType->isArrayType()) { in CheckConversionDeclarator()
11396 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
11398 } else if (ConvType->isFunctionType()) { in CheckConversionDeclarator()
11400 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
11408 R = Context.getFunctionType(ConvType, {}, Proto->getExtProtoInfo()); in CheckConversionDeclarator()
11425 QualType ConvType = Context.getCanonicalType(Conversion->getConversionType()); in ActOnConversionDeclarator() local
11434 if (const ReferenceType *ConvTypeRef = ConvType->getAs<ReferenceType>()) in ActOnConversionDeclarator()
[all …]
H A DSemaOverload.cpp8241 QualType ConvType, QualType ToType, in isAllowableExplicitConversion() argument
8246 if (S.Context.hasSameUnqualifiedType(ConvType, ToNonRefType)) in isAllowableExplicitConversion()
8251 if (S.IsQualificationConversion(ConvType, ToNonRefType, /*CStyle*/false, in isAllowableExplicitConversion()
8263 return S.isObjCPointerConversion(ConvType, ToNonRefType, ConvertedType, in isAllowableExplicitConversion()
8274 QualType ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate() local
8280 if (getLangOpts().CPlusPlus14 && ConvType->isUndeducedType()) { in AddConversionCandidate()
8283 ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate()
8299 !isAllowableExplicitConversion(*this, ConvType, ToType, in AddConversionCandidate()
8312 Candidate.FinalConversion.setFromType(ConvType); in AddConversionCandidate()
13123 QualType ConvType in CompleteNonViableCandidate() local
[all …]
H A DSemaInit.cpp4616 QualType ConvType = CD->getConversionType(); in TryConstructorInitialization() local
4617 assert(S.Context.hasSameUnqualifiedType(ConvType, DestType) && in TryConstructorInitialization()
4619 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization()
4621 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization()
6227 QualType ConvType = Function->getCallResultType(); in TryUserDefinedConversion() local
6228 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType, in TryUserDefinedConversion()
6231 if (ConvType->getAs<RecordType>()) { in TryUserDefinedConversion()
6243 !S.Context.hasSameUnqualifiedType(ConvType, DestType)) in TryUserDefinedConversion()
6245 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion()
H A DSemaExprCXX.cpp3964 bool match(QualType ConvType) override { in ActOnCXXDelete() argument
3967 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in ActOnCXXDelete()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1358 MVT ConvType = LT.second; in getIntrinsicInstrCost() local
1367 ConvType = MVT::nxv16f16; in getIntrinsicInstrCost()
1380 ConvType = MVT::nxv16f16; in getIntrinsicInstrCost()
1392 getRISCVInstructionCost(ConvOp, ConvType, CostKind)); in getIntrinsicInstrCost()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1903 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() local
1904 bool Hidden = ParentHiddenTypes.count(ConvType); in CollectVisibleConversions()
1906 HiddenTypesBuffer.insert(ConvType); in CollectVisibleConversions()