| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 351 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, 404 QualType FromType = in FormatASTNodeDiagnosticArgument() local 405 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); in FormatASTNodeDiagnosticArgument() 409 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument() 424 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument() 685 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, in SetTypeDiff() argument 689 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType; in SetTypeDiff() 850 void GetTypeDiff(QualType &FromType, QualType &ToType) { in GetTypeDiff() argument 852 FromType = FlatTree[ReadNode].FromArgInfo.ArgType; in GetTypeDiff() 1175 static bool OnlyPerformTypeDiff(ASTContext &Context, QualType FromType, in OnlyPerformTypeDiff() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 297 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() local 304 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer() 306 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) in isPointerConversionToVoidPointer() 366 QualType FromType = getToType(0); in getNarrowingKind() local 378 if (FromType->isRealFloatingType()) in getNarrowingKind() 380 if (FromType->isIntegralOrUnscopedEnumerationType()) in getNarrowingKind() 393 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind() 395 } else if (FromType->isIntegralOrUnscopedEnumerationType() && in getNarrowingKind() 435 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind() 436 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) { in getNarrowingKind() [all …]
|
| H A D | SemaExprCXX.cpp | 4676 QualType FromType = From->getType(); in PerformImplicitConversion() local 4703 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion() 4724 FromType = From->getType(); in PerformImplicitConversion() 4735 QualType InitialFromType = FromType; in PerformImplicitConversion() 4739 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { in PerformImplicitConversion() 4740 FromType = FromAtomic->getValueType().getUnqualifiedType(); in PerformImplicitConversion() 4741 From = ImplicitCastExpr::Create(Context, FromType, CK_AtomicToNonAtomic, in PerformImplicitConversion() 4754 FromType = From->getType(); in PerformImplicitConversion() 4759 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion() 4760 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, VK_PRValue, in PerformImplicitConversion() [all …]
|
| H A D | SemaCast.cpp | 225 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, in CheckNoDeref() argument 227 if (const auto *PtrType = dyn_cast<PointerType>(FromType)) { in CheckNoDeref() 1619 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local 1622 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast() 1628 SrcExpr->getBeginLoc(), ToType, FromType, &RefConv); in TryLValueToRValueCast() 1642 if (Self.CheckDerivedToBaseConversion(FromType, ToType, in TryLValueToRValueCast()
|
| H A D | SemaExprObjC.cpp | 4656 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local 4664 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast() 4676 << FromType in BuildObjCBridgedCast() 4684 << FromType << br in BuildObjCBridgedCast() 4698 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast() 4710 SubExpr = ImplicitCastExpr::Create(Context, FromType, CK_ARCProduceObject, in BuildObjCBridgedCast() 4718 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast() 4719 << FromType in BuildObjCBridgedCast() 4738 << FromType << T << Kind in BuildObjCBridgedCast()
|
| H A D | SemaObjC.cpp | 1314 bool SemaObjC::isObjCWritebackConversion(QualType FromType, QualType ToType, in isObjCWritebackConversion() argument 1318 Context.hasSameUnqualifiedType(FromType, ToType)) in isObjCWritebackConversion() 1336 if (const PointerType *FromPointer = FromType->getAs<PointerType>()) in isObjCWritebackConversion()
|
| H A D | SemaExpr.cpp | 3001 QualType FromType = From->getType(); in PerformObjectMemberConversion() local 3005 auto FromPtrType = FromType->getAs<PointerType>(); in PerformObjectMemberConversion() 3008 ? FromType->getPointeeType().getAddressSpace() in PerformObjectMemberConversion() 3009 : FromType.getAddressSpace()); in PerformObjectMemberConversion() 3017 FromRecordType = FromType; in PerformObjectMemberConversion() 3026 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion() 3027 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion() 3030 FromRecordType = FromType; in PerformObjectMemberConversion() 3052 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion() 3102 FromType = QType; in PerformObjectMemberConversion() [all …]
|
| H A D | SemaInit.cpp | 7594 static void CheckC23ConstexprInitConversion(Sema &S, QualType FromType, 9116 QualType FromType = OnlyArg->getType(); in Diagnose() local 9121 << FromType in Diagnose() 9123 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose() 9825 static void CheckC23ConstexprInitConversion(Sema &S, QualType FromType, in CheckC23ConstexprInitConversion() argument 9853 << ToType << FromType; in CheckC23ConstexprInitConversion()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers.h | 116 const TypeDescriptor &FromType; member 122 const TypeDescriptor &FromType; member 150 const TypeDescriptor &FromType; member
|
| H A D | ubsan_handlers.cpp | 507 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local 514 FromType = &Data->FromType; in handleFloatCastOverflow() 522 FromType = &Data->FromType; in handleFloatCastOverflow() 530 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow() 580 const TypeDescriptor &SrcTy = Data->FromType; in handleImplicitConversion()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTX.h | 194 enum FromType { Unsigned = 0, Signed, Float, Untyped }; enum
|
| H A D | NVPTXISelDAGToDAG.cpp | 1039 const unsigned FromType = in tryLoad() local 1053 getI32Imm(FromType, DL), in tryLoad() 1120 const unsigned FromType = (ExtensionType == ISD::SEXTLOAD) in tryLoadVector() local 1135 getI32Imm(FromType, DL), in tryLoadVector() 1190 const unsigned FromType = (ExtensionType == ISD::SEXTLOAD) in tryLDG() local 1203 SDValue Ops[] = {getI32Imm(FromType, DL), getI32Imm(FromTypeWidth, DL), Base, in tryLDG()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpBuiltinBitCast.cpp | 374 QualType FromType = FromPtr.getFieldDesc()->getDataType(S.getASTContext()); in DoBitCastPtr() local 379 if (!CheckBitcastType(S, OpPC, FromType, /*IsToType=*/false)) in DoBitCastPtr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Overload.h | 771 QualType FromType, QualType ToType) { in setBad() argument 773 Bad.init(Failure, FromType, ToType); in setBad()
|
| H A D | Sema.h | 7654 bool IsInvalidSMECallConversion(QualType FromType, QualType ToType); 10055 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType); 10060 bool IsFloatingPointPromotion(QualType FromType, QualType ToType); 10067 bool IsComplexPromotion(QualType FromType, QualType ToType); 10085 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType, 10092 bool isObjCPointerConversion(QualType FromType, QualType ToType, 10094 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 10122 void HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, QualType FromType, 10140 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, 10159 QualType FromType, const MemberPointerType *ToPtrType, CastKind &Kind, [all …]
|
| H A D | SemaObjC.h | 146 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
|
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock-actions_test.cc | 835 class FromType { class 837 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in testing::__anon10e2b6f40111::FromType 847 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType() 852 FromType x(&converted); in TEST()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 1169 QualType FromType = E->getType(); in ProduceIntToIntCast() local 1171 if (FromType->isIntegerType()) in ProduceIntToIntCast() 1172 if (llvm::Constant *C = Visit(E, FromType)) in ProduceIntToIntCast() 1174 unsigned SrcWidth = CGM.getContext().getIntWidth(FromType); in ProduceIntToIntCast() 1178 llvm::APInt A = FromType->isSignedIntegerType() in ProduceIntToIntCast()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 1360 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic() 1403 std::make_pair(DiagnosticsEngine::ak_qualtype, TDT.FromType)); in FormatDiagnostic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2614 llvm::Type *FromType = FromValue->getType(); in salvageDebugInfoImpl() local 2615 if (FromType->isPointerTy()) in salvageDebugInfoImpl() 2616 FromType = DL.getIntPtrType(FromType); in salvageDebugInfoImpl() 2618 unsigned FromTypeBitSize = FromType->getScalarSizeInBits(); in salvageDebugInfoImpl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1798 intptr_t FromType; member
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 920 Type *FromType) { in getConvRTLibDesc() argument 922 auto FromMVT = MVT::getVT(FromType); in getConvRTLibDesc() 943 Type *FromType, LostDebugLocObserver &LocObserver, in conversionLibcall() argument 945 CallLowering::ArgInfo Arg = {MI.getOperand(1).getReg(), FromType, 0}; in conversionLibcall() 946 if (FromType->isIntegerTy()) { in conversionLibcall() 947 if (TLI.shouldSignExtendTypeInLibCall(FromType, IsSigned)) in conversionLibcall() 953 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1772 EVT FromType = V.getOperand(0).getValueType(); in getValueBits() local 1775 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits() 1777 const unsigned NumAllBits = FromType.getSizeInBits(); in getValueBits() 1806 EVT FromType = cast<VTSDNode>(V.getOperand(1))->getVT(); in getValueBits() local 1807 const unsigned NumValidBits = FromType.getSizeInBits(); in getValueBits()
|
| /freebsd/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 428 using FromType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local 438 std::is_same<FromType, ToType>::value || in MatchAndExplain() 439 !std::is_base_of<FromType, ToType>::value, in MatchAndExplain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2376 Type *FromType = From->getType(); in castValueToType() local 2377 uint64_t FromSize = M.getDataLayout().getTypeStoreSize(FromType); in castValueToType() 2381 if (FromType == ToType) in castValueToType() 2385 if (ToType->isIntegerTy() && FromType->isIntegerTy()) in castValueToType()
|