| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 1828 ResultTy = ToType; in IsFunctionConversion() 2105 (ToType->isFloat16Type() || ToType->isHalfType())) || in IsStandardConversion() 2160 FromType = ToType; in IsStandardConversion() 2170 FromType = ToType; in IsStandardConversion() 2522 if (ToType->isObjCIdType() || ToType->isObjCQualifiedIdType()) in BuildSimilarlyQualifiedPointerType() 3116 ToType = ToType->getPointeeType(); in HandleFunctionTypeMismatch() 3120 ToType = ToType.getNonReferenceType(); in HandleFunctionTypeMismatch() 3547 ToType = Context.getCanonicalType(ToType); in IsQualificationConversion() 5305 if (!ToType->isAggregateType() && !ToType->isReferenceType() && in TryListConversion() 5450 if (ToType->isRecordType() && !ToType->isAggregateType()) { in TryListConversion() [all …]
|
| H A D | SemaExprCXX.cpp | 4377 ToAtomicType = ToType; in PerformImplicitConversion() 4378 ToType = ToAtomic->getValueType(); in PerformImplicitConversion() 4453 if (ToType->isBooleanType()) { in PerformImplicitConversion() 4496 if (ToType->isRealFloatingType()) in PerformImplicitConversion() 4526 else if (ToType->isBooleanType()) in PerformImplicitConversion() 4573 QualType NewToType = ToType; in PerformImplicitConversion() 4795 if (ToType->isReferenceType() && in PerformImplicitConversion() 4800 if (ToType->isPointerType() && in PerformImplicitConversion() 6219 ToType = To->getType(); in TryClassUnification() 6240 ToType = T; in TryClassUnification() [all …]
|
| H A D | SemaCast.cpp | 180 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, in CheckNoDeref() argument 184 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { in CheckNoDeref() 1537 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local 1540 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast() 1545 SrcExpr->getBeginLoc(), ToType, FromType, &RefConv); in TryLValueToRValueCast()
|
| H A D | SemaExceptionSpec.cpp | 928 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument 931 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
|
| H A D | SemaTemplateDeduction.cpp | 4599 Expr::Classification ObjectClassification, QualType ToType, in DeduceTemplateArguments() argument 4611 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments() 4683 if (ToType->isReferenceType()) in DeduceTemplateArguments()
|
| H A D | SemaExpr.cpp | 9802 bool Sema::IsInvalidSMECallConversion(QualType FromType, QualType ToType) { in IsInvalidSMECallConversion() argument 9809 dyn_cast<FunctionProtoType>(Context.getCanonicalType(ToType))) in IsInvalidSMECallConversion() 9820 QualType ToType) { in IsInvalidCmseNSCallConversion() argument 9822 dyn_cast<FunctionType>(S.Context.getCanonicalType(ToType))) { in IsInvalidCmseNSCallConversion() 12880 static bool checkThreeWayNarrowingConversion(Sema &S, QualType ToType, Expr *E, in checkThreeWayNarrowingConversion() argument 12887 SCS.setToType(1, ToType); in checkThreeWayNarrowingConversion() 12907 << PreNarrowingValue.getAsString(S.Context, PreNarrowingType) << ToType; in checkThreeWayNarrowingConversion() 12915 << /*Constant*/ 0 << FromType << ToType; in checkThreeWayNarrowingConversion() 21638 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument 21639 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 406 QualType ToType = in FormatASTNodeDiagnosticArgument() local 824 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff() 1147 QualType ToType, in OnlyPerformTypeDiff() argument 1150 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff() 1153 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff() 1171 QualType ToType = GetType(ToIter); in DiffTypes() local 1186 ToQual = ToType.getQualifiers(); in DiffTypes() 1507 QualType FromType, ToType; in TreeToString() local 1508 Tree.GetTypeDiff(FromType, ToType); in TreeToString() 1673 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames() [all …]
|
| H A D | ASTImporter.cpp | 2091 QualType ToType = To->getType(); in ImportFieldDeclDefinition() local 2462 ToD->setBinding(ToType, ToBinding); in VisitBindingDecl() 4360 ToType, ToTypeSourceInfo, in VisitObjCIvarDecl() 5702 ToLParenLoc, ToType, in VisitObjCPropertyDecl() 7539 ToAmpAmpLoc, ToLabelLoc, ToLabel, ToType); in VisitAddrLabelExpr() 7603 UO->setType(ToType); in VisitUnaryOperator() 7718 ToDimensionExpression, ToEndLoc, ToType); in VisitArrayTypeTraitExpr() 7732 ToEndLoc, ToType); in VisitExpressionTraitExpr() 8027 ToType, ToTypeSourceInfo, ToRParenLoc); in VisitCXXScalarValueInitExpr() 8606 To->setType(ToType); in VisitInitListExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers.h | 114 const TypeDescriptor &ToType; member 120 const TypeDescriptor &ToType; member 148 const TypeDescriptor &ToType; member
|
| H A D | ubsan_handlers.cpp | 485 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local 493 ToType = &Data->ToType; in handleFloatCastOverflow() 501 ToType = &Data->ToType; in handleFloatCastOverflow() 508 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow() 561 const TypeDescriptor &DstTy = Data->ToType; in handleImplicitConversion()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Overload.h | 667 Expr *FromExpr, QualType ToType) { in setBad() argument 669 Bad.init(Failure, FromExpr, ToType); in setBad() 674 QualType FromType, QualType ToType) { in setBad() argument 676 Bad.init(Failure, FromType, ToType); in setBad()
|
| H A D | Sema.h | 3839 TryImplicitConversion(Expr *From, QualType ToType, 3848 bool IsComplexPromotion(QualType FromType, QualType ToType); 3852 bool isObjCPointerConversion(QualType FromType, QualType ToType, 3856 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 3879 bool CheckPointerConversion(Expr *From, QualType ToType, 3887 bool CheckMemberPointerConversion(Expr *From, QualType ToType, 3893 bool IsFunctionConversion(QualType FromType, QualType ToType, 4123 CXXRecordDecl *ActingContext, Expr *From, QualType ToType, 4128 CXXRecordDecl *ActingContext, Expr *From, QualType ToType, 9334 Expr::Classification ObjectClassification, QualType ToType, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 2312 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2313 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2314 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2315 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2316 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2318 LLVMTypeRef ToType); 2320 LLVMTypeRef ToType);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 1734 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument 1736 unwrap(ToType))); in LLVMConstTrunc() 1741 unwrap(ToType))); in LLVMConstPtrToInt() 1746 unwrap(ToType))); in LLVMConstIntToPtr() 1751 unwrap(ToType))); in LLVMConstBitCast() 1755 LLVMTypeRef ToType) { in LLVMConstAddrSpaceCast() argument 1757 unwrap(ToType))); in LLVMConstAddrSpaceCast() 1761 LLVMTypeRef ToType) { in LLVMConstTruncOrBitCast() argument 1763 unwrap(ToType))); in LLVMConstTruncOrBitCast() 1767 LLVMTypeRef ToType) { in LLVMConstPointerCast() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 606 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast() local 608 llvm::APSInt ToTypeMax = ToType.getMaxValue(); in evalIntegralCast()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 1071 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic() 1129 TDT.ToType)); in FormatDiagnostic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 606 ToType, ".s8 \t$dst, $src;"), []>, 612 ToType, ".u8 \t$dst, $src;"), []>, 618 ToType, ".s16 \t$dst, $src;"), []>, 624 ToType, ".u16 \t$dst, $src;"), []>, 630 ToType, ".s32 \t$dst, $src;"), []>, 636 ToType, ".u32 \t$dst, $src;"), []>, 642 ToType, ".s64 \t$dst, $src;"), []>, 648 ToType, ".u64 \t$dst, $src;"), []>, 654 ToType, ".f16 \t$dst, $src;"), []>, 661 Requires<!if(!eq(ToType, "f32"), [all …]
|
| H A D | NVPTXISelDAGToDAG.cpp | 1848 unsigned ToType = getLdStRegType(ScalarVT); in tryStoreVector() local 1879 ToType = NVPTX::PTXLdStInstCode::Untyped; in tryStoreVector() 1886 StOps.push_back(getI32Imm(ToType, DL)); in tryStoreVector()
|
| /freebsd-14.2/contrib/googletest/googlemock/test/ |
| H A D | gmock-actions_test.cc | 844 class ToType { class 847 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType() function in testing::__anonf560f22a0111::ToType 853 Action<ToType()> action(Return(x)); in TEST()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 150 VectorType *ToType) const; 2683 VectorType *ToType) const in joinVectorElements() 2685 assert(ToType->getElementType()->isIntegerTy()); in joinVectorElements() 2696 unsigned ToWidth = ToType->getScalarSizeInBits(); in joinVectorElements() 2722 assert(Inputs.front()->getType() == ToType); in joinVectorElements()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1829 intptr_t ToType; member
|
| /freebsd-14.2/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 420 using ToType = 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 D | LegalizerHelper.cpp | 835 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, in getConvRTLibDesc() argument 837 auto ToMVT = MVT::getVT(ToType); in getConvRTLibDesc() 858 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, in conversionLibcall() argument 860 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall() 862 MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType, 0}, in conversionLibcall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 1111 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() 1112 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree() 1115 unsigned ToBits = ToType->getPrimitiveSizeInBits().getFixedValue(); in isTruncateFree() 1442 Type *ToType) const { in allowTruncateForTailCall() 1443 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1786 EVT ToType = V.getValueType(); in getValueBits() local 1788 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits() 1794 const unsigned NumValidBits = ToType.getSizeInBits(); in getValueBits()
|