Home
last modified time | relevance | path

Searched refs:FromType (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTDiagnostic.cpp404 QualType FromType = in FormatASTNodeDiagnosticArgument() local
1150 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff()
1153 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff()
1170 QualType FromType = GetType(FromIter); in DiffTypes() local
1185 Qualifiers FromQual = FromType.getQualifiers(), in DiffTypes()
1507 QualType FromType, ToType; in TreeToString() local
1508 Tree.GetTypeDiff(FromType, ToType); in TreeToString()
1665 assert((!FromType.isNull() || !ToType.isNull()) && in PrintTypeNames()
1669 OS << FromType.getAsString(Policy); in PrintTypeNames()
1673 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames()
[all …]
H A DASTImporter.cpp2090 QualType FromType = From->getType(); in ImportFieldDeclDefinition() local
2092 if (FromType->isArrayType()) { in ImportFieldDeclDefinition()
2094 FromRecordDecl = FromType->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportFieldDeclDefinition()
2099 const RecordType *RecordFrom = FromType->getAs<RecordType>(); in ImportFieldDeclDefinition()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp274 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
1984 FromType = S.Context.getPointerType(FromType); in IsStandardConversion()
1995 !FromType->isFunctionType() && !FromType->isArrayType() && in IsStandardConversion()
2009 FromType = FromType.getUnqualifiedType(); in IsStandardConversion()
2017 FromType = S.Context.getArrayDecayedType(FromType); in IsStandardConversion()
2045 FromType = S.Context.getPointerType(FromType); in IsStandardConversion()
2142 FromType = FromType.getUnqualifiedType(); in IsStandardConversion()
2192 if (S.IsFunctionConversion(FromType, ToType, FromType)) { in IsStandardConversion()
3114 FromType = FromType->getPointeeType(); in HandleFunctionTypeMismatch()
3119 FromType = FromType.getNonReferenceType(); in HandleFunctionTypeMismatch()
[all …]
H A DSemaExprCXX.cpp4322 QualType FromType = From->getType(); in PerformImplicitConversion() local
4349 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
4370 FromType = From->getType(); in PerformImplicitConversion()
4381 QualType InitialFromType = FromType; in PerformImplicitConversion()
4386 FromType = FromAtomic->getValueType().getUnqualifiedType(); in PerformImplicitConversion()
4400 FromType = From->getType(); in PerformImplicitConversion()
4405 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
4412 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
4510 if (FromType->isFloatingType()) in PerformImplicitConversion()
4518 else if (FromType->isIntegralType(Context)) in PerformImplicitConversion()
[all …]
H A DSemaExprObjC.cpp4648 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
4656 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
4668 << FromType in BuildObjCBridgedCast()
4676 << FromType << br in BuildObjCBridgedCast()
4690 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
4702 SubExpr = ImplicitCastExpr::Create(Context, FromType, CK_ARCProduceObject, in BuildObjCBridgedCast()
4710 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
4711 << FromType in BuildObjCBridgedCast()
4730 << FromType << T << Kind in BuildObjCBridgedCast()
H A DSemaCast.cpp180 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, in CheckNoDeref() argument
182 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref()
1536 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
1539 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1545 SrcExpr->getBeginLoc(), ToType, FromType, &RefConv); in TryLValueToRValueCast()
H A DSemaExpr.cpp3214 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
3218 auto FromPtrType = FromType->getAs<PointerType>(); in PerformObjectMemberConversion()
3222 : FromType.getAddressSpace()); in PerformObjectMemberConversion()
3230 FromRecordType = FromType; in PerformObjectMemberConversion()
3239 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
3240 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
3243 FromRecordType = FromType; in PerformObjectMemberConversion()
3315 FromType = QType; in PerformObjectMemberConversion()
12881 QualType FromType, in checkThreeWayNarrowingConversion() argument
12886 SCS.setToType(0, FromType); in checkThreeWayNarrowingConversion()
[all …]
H A DSemaTemplateDeduction.cpp4607 QualType FromType = ConversionGeneric->getConversionType(); in DeduceTemplateArguments() local
4610 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
4627 if (!FromType->getAs<ReferenceType>()) { in DeduceTemplateArguments()
H A DSemaInit.cpp9802 QualType FromType = OnlyArg->getType(); in Diagnose() local
9807 << FromType in Diagnose()
9809 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h113 const TypeDescriptor &FromType; member
119 const TypeDescriptor &FromType; member
147 const TypeDescriptor &FromType; member
H A Dubsan_handlers.cpp485 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local
492 FromType = &Data->FromType; in handleFloatCastOverflow()
500 FromType = &Data->FromType; in handleFloatCastOverflow()
508 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow()
560 const TypeDescriptor &SrcTy = Data->FromType; in handleImplicitConversion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h123 enum FromType { enum
H A DNVPTXISelDAGToDAG.cpp1062 unsigned int FromType; in tryLoadVector() local
1067 FromType = NVPTX::PTXLdStInstCode::Signed; in tryLoadVector()
1069 FromType = getLdStRegType(ScalarVT); in tryLoadVector()
1092 FromType = NVPTX::PTXLdStInstCode::Untyped; in tryLoadVector()
1116 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1141 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1186 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1231 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h674 QualType FromType, QualType ToType) { in setBad() argument
676 Bad.init(Failure, FromType, ToType); in setBad()
H A DSema.h3846 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
3847 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
3848 bool IsComplexPromotion(QualType FromType, QualType ToType);
3849 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
3852 bool isObjCPointerConversion(QualType FromType, QualType ToType,
3854 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
3856 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
3875 QualType FromType, QualType ToType);
3891 bool IsQualificationConversion(QualType FromType, QualType ToType,
3893 bool IsFunctionConversion(QualType FromType, QualType ToType,
[all …]
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc835 class FromType { class
837 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in testing::__anonf560f22a0111::FromType
847 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
852 FromType x(&converted); in TEST()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1144 QualType FromType = subExpr->getType(); in VisitCastExpr() local
1146 if (FromType->isIntegerType()) in VisitCastExpr()
1147 if (llvm::Constant *C = Visit(subExpr, FromType)) in VisitCastExpr()
1149 unsigned SrcWidth = CGM.getContext().getIntWidth(FromType); in VisitCastExpr()
1153 llvm::APInt A = FromType->isSignedIntegerType() in VisitCastExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp1070 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
1115 TDT.FromType)); in FormatDiagnostic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2545 llvm::Type *FromType = FromValue->getType(); in salvageDebugInfoImpl() local
2546 if (FromType->isPointerTy()) in salvageDebugInfoImpl()
2547 FromType = DL.getIntPtrType(FromType); in salvageDebugInfoImpl()
2549 unsigned FromTypeBitSize = FromType->getScalarSizeInBits(); in salvageDebugInfoImpl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h1828 intptr_t FromType; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1785 EVT FromType = V.getOperand(0).getValueType(); in getValueBits() local
1788 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits()
1790 const unsigned NumAllBits = FromType.getSizeInBits(); in getValueBits()
1819 EVT FromType = cast<VTSDNode>(V.getOperand(1))->getVT(); in getValueBits() local
1820 const unsigned NumValidBits = FromType.getSizeInBits(); in getValueBits()
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h418 using FromType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local
428 std::is_same<FromType, ToType>::value || in MatchAndExplain()
429 !std::is_base_of<FromType, ToType>::value, in MatchAndExplain()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp836 Type *FromType) { in getConvRTLibDesc() argument
838 auto FromMVT = MVT::getVT(FromType); in getConvRTLibDesc()
859 Type *FromType, LostDebugLocObserver &LocObserver) { in conversionLibcall() argument
860 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
863 {{MI.getOperand(1).getReg(), FromType, 0}}, LocObserver, &MI); in conversionLibcall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1111 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
1112 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
1114 unsigned FromBits = FromType->getPrimitiveSizeInBits().getFixedValue(); in isTruncateFree()
1441 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
1443 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()