Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTDiagnostic.cpp353 QualType FromType = in FormatASTNodeDiagnosticArgument() local
1097 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff()
1100 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff()
1117 QualType FromType = GetType(FromIter); in DiffTypes() local
1132 Qualifiers FromQual = FromType.getQualifiers(), in DiffTypes()
1454 QualType FromType, ToType; in TreeToString() local
1455 Tree.GetTypeDiff(FromType, ToType); in TreeToString()
1612 assert((!FromType.isNull() || !ToType.isNull()) && in PrintTypeNames()
1616 OS << FromType.getAsString(Policy); in PrintTypeNames()
1620 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp250 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
1684 FromType = S.Context.getPointerType(FromType); in IsStandardConversion()
1691 FromType, in IsStandardConversion()
1716 FromType = FromType.getUnqualifiedType(); in IsStandardConversion()
1724 FromType = S.Context.getArrayDecayedType(FromType); in IsStandardConversion()
1752 FromType = S.Context.getPointerType(FromType); in IsStandardConversion()
1841 FromType = FromType.getUnqualifiedType(); in IsStandardConversion()
1883 if (S.IsFunctionConversion(FromType, ToType, FromType)) { in IsStandardConversion()
2804 FromType = FromType->getPointeeType(); in HandleFunctionTypeMismatch()
2809 FromType = FromType.getNonReferenceType(); in HandleFunctionTypeMismatch()
[all …]
H A DSemaExprCXX.cpp3905 QualType FromType = From->getType(); in PerformImplicitConversion() local
3932 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
3943 FromType = From->getType(); in PerformImplicitConversion()
3954 QualType InitialFromType = FromType; in PerformImplicitConversion()
3959 FromType = FromAtomic->getValueType().getUnqualifiedType(); in PerformImplicitConversion()
3970 FromType = From->getType(); in PerformImplicitConversion()
3975 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
3981 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
4022 assert(FromType->castAs<EnumType>()->getDecl()->isFixed() && in PerformImplicitConversion()
4145 FromType = Context.FloatTy; in PerformImplicitConversion()
[all …]
H A DSemaExprObjC.cpp4423 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
4431 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
4443 << FromType in BuildObjCBridgedCast()
4451 << FromType << br in BuildObjCBridgedCast()
4465 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
4477 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
4485 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
4486 << FromType in BuildObjCBridgedCast()
4505 << FromType << T << Kind in BuildObjCBridgedCast()
H A DSemaCast.cpp1275 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
1278 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1283 SrcExpr->getBeginLoc(), ToType, FromType, DerivedToBase, ObjCConversion, in TryLValueToRValueCast()
H A DSemaExpr.cpp2558 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
2563 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2565 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2569 FromRecordType = FromType; in PerformObjectMemberConversion()
2578 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2579 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2582 FromRecordType = FromType; in PerformObjectMemberConversion()
2640 FromType = QType; in PerformObjectMemberConversion()
2676 FromType = UType; in PerformObjectMemberConversion()
10101 SCS.setToType(0, FromType); in checkThreeWayNarrowingConversion()
[all …]
H A DSemaTemplateDeduction.cpp4145 QualType FromType = ConversionGeneric->getConversionType(); in DeduceTemplateArguments() local
4148 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
4165 if (!FromType->getAs<ReferenceType>()) { in DeduceTemplateArguments()
H A DSemaInit.cpp8461 QualType FromType = OnlyArg->getType(); in Diagnose() local
8466 << FromType in Diagnose()
8468 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
/freebsd-12.1/contrib/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h114 const TypeDescriptor &FromType; member
120 const TypeDescriptor &FromType; member
148 const TypeDescriptor &FromType; member
H A Dubsan_handlers.cc443 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local
450 FromType = &Data->FromType; in handleFloatCastOverflow()
458 FromType = &Data->FromType; in handleFloatCastOverflow()
466 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow()
518 const TypeDescriptor &SrcTy = Data->FromType; in handleImplicitConversion()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTX.h107 enum FromType { enum
H A DNVPTXISelDAGToDAG.cpp1034 unsigned int FromType; in tryLoadVector() local
1039 FromType = NVPTX::PTXLdStInstCode::Signed; in tryLoadVector()
1041 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector()
1044 FromType = NVPTX::PTXLdStInstCode::Unsigned; in tryLoadVector()
1067 FromType = NVPTX::PTXLdStInstCode::Untyped; in tryLoadVector()
1093 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1120 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1169 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1218 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc594 class FromType { class
596 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in __anon060f74470111::FromType
602 GTEST_DISALLOW_ASSIGN_(FromType);
608 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
613 FromType x(&converted); in TEST()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h622 QualType FromType, QualType ToType) { in setBad() argument
624 Bad.init(Failure, FromType, ToType); in setBad()
H A DSema.h2572 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2573 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2574 bool IsComplexPromotion(QualType FromType, QualType ToType);
2575 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2578 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2580 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2582 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2588 QualType FromType, QualType ToType);
2597 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType,
2604 bool IsQualificationConversion(QualType FromType, QualType ToType,
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp160 Type *FromType) { in getConvRTLibDesc() argument
162 auto FromMVT = MVT::getVT(FromType); in getConvRTLibDesc()
183 Type *FromType) { in conversionLibcall() argument
184 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
186 {{MI.getOperand(1).getReg(), FromType}}); in conversionLibcall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp1002 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
1047 TDT.FromType)); in FormatDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnostic.h1571 intptr_t FromType; member
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1335 EVT FromType = V.getOperand(0).getValueType(); in getValueBits() local
1338 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits()
1340 const unsigned NumAllBits = FromType.getSizeInBits(); in getValueBits()
1369 EVT FromType = cast<VTSDNode>(V.getOperand(1))->getVT(); in getValueBits() local
1370 const unsigned NumValidBits = FromType.getSizeInBits(); in getValueBits()
/freebsd-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h735 using FromType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local
745 std::is_same<FromType, ToType>::value || in MatchAndExplain()
746 !std::is_base_of<FromType, ToType>::value, in MatchAndExplain()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp730 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
731 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
733 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
1009 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
1011 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()