| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 1613 ResultTy = ToType; in IsFunctionConversion() 1931 FromType = ToType; in IsStandardConversion() 1941 FromType = ToType; in IsStandardConversion() 1946 FromType = ToType; in IsStandardConversion() 1950 FromType = ToType; in IsStandardConversion() 2289 if (ToType->isObjCIdType() || ToType->isObjCQualifiedIdType()) in BuildSimilarlyQualifiedPointerType() 2884 ToType = ToType->getPointeeType(); in HandleFunctionTypeMismatch() 2888 ToType = ToType.getNonReferenceType(); in HandleFunctionTypeMismatch() 3265 ToType = Context.getCanonicalType(ToType); in IsQualificationConversion() 5114 if (ToType->isRecordType() && !ToType->isAggregateType()) { in TryListConversion() [all …]
|
| H A D | SemaExprCXX.cpp | 4163 assert(!ToType->isReferenceType()); in PerformImplicitConversion() 4204 ToAtomicType = ToType; in PerformImplicitConversion() 4205 ToType = ToAtomic->getValueType(); in PerformImplicitConversion() 4280 if (ToType->isBooleanType()) { in PerformImplicitConversion() 4323 if (ToType->isRealFloatingType()) in PerformImplicitConversion() 4370 QualType NewToType = ToType; in PerformImplicitConversion() 4591 if (ToType->isReferenceType() && in PerformImplicitConversion() 4596 if (ToType->isPointerType() && in PerformImplicitConversion() 5878 ToType = To->getType(); in TryClassUnification() 5901 ToType = T; in TryClassUnification() [all …]
|
| H A D | SemaCast.cpp | 175 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, in CheckNoDeref() argument 179 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { in CheckNoDeref() 1488 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local 1491 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast() 1496 SrcExpr->getBeginLoc(), ToType, FromType, &RefConv); in TryLValueToRValueCast()
|
| H A D | SemaExceptionSpec.cpp | 915 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument 918 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
|
| H A D | SemaTemplateDeduction.cpp | 4417 QualType ToType, in DeduceTemplateArguments() argument 4430 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments() 4502 if (ToType->isReferenceType()) in DeduceTemplateArguments()
|
| H A D | SemaExpr.cpp | 8882 QualType ToType) { in IsInvalidCmseNSCallConversion() argument 8884 dyn_cast<FunctionType>(S.Context.getCanonicalType(ToType))) { in IsInvalidCmseNSCallConversion() 11582 static bool checkThreeWayNarrowingConversion(Sema &S, QualType ToType, Expr *E, in checkThreeWayNarrowingConversion() argument 11589 SCS.setToType(1, ToType); in checkThreeWayNarrowingConversion() 11609 << PreNarrowingValue.getAsString(S.Context, PreNarrowingType) << ToType; in checkThreeWayNarrowingConversion() 11617 << /*Constant*/ 0 << FromType << ToType; in checkThreeWayNarrowingConversion() 19584 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument 19585 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 374 QualType ToType = in FormatASTNodeDiagnosticArgument() local 792 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff() 1112 QualType ToType, in OnlyPerformTypeDiff() argument 1115 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff() 1118 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff() 1136 QualType ToType = GetType(ToIter); in DiffTypes() local 1151 ToQual = ToType.getQualifiers(); in DiffTypes() 1472 QualType FromType, ToType; in TreeToString() local 1473 Tree.GetTypeDiff(FromType, ToType); in TreeToString() 1638 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames() [all …]
|
| H A D | ASTImporter.cpp | 2317 ToD->setBinding(ToType, ToBinding); in VisitBindingDecl() 3710 auto ToType = importChecked(Err, D->getType()); in VisitFieldDecl() local 3974 auto ToType = importChecked(Err, D->getType()); in VisitObjCIvarDecl() local 3985 ToType, ToTypeSourceInfo, in VisitObjCIvarDecl() 5248 ToLParenLoc, ToType, in VisitObjCPropertyDecl() 6988 ToAmpAmpLoc, ToLabelLoc, ToLabel, ToType); in VisitAddrLabelExpr() 7149 ToDimensionExpression, ToEndLoc, ToType); in VisitArrayTypeTraitExpr() 7163 ToEndLoc, ToType); in VisitExpressionTraitExpr() 7438 ToType, ToTypeSourceInfo, ToRParenLoc); in VisitCXXScalarValueInitExpr() 8014 To->setType(ToType); in VisitInitListExpr() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 2164 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2165 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2166 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2168 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2169 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2170 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2171 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2178 LLVMTypeRef ToType); 2180 LLVMTypeRef ToType); 2182 LLVMTypeRef ToType); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 1712 unwrap(ToType))); in LLVMConstTrunc() 1717 unwrap(ToType))); in LLVMConstSExt() 1722 unwrap(ToType))); in LLVMConstZExt() 1727 unwrap(ToType))); in LLVMConstFPTrunc() 1737 unwrap(ToType))); in LLVMConstUIToFP() 1742 unwrap(ToType))); in LLVMConstSIToFP() 1747 unwrap(ToType))); in LLVMConstFPToUI() 1752 unwrap(ToType))); in LLVMConstFPToSI() 1767 unwrap(ToType))); in LLVMConstBitCast() 1795 LLVMTypeRef ToType) { in LLVMConstPointerCast() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Overload.h | 644 Expr *FromExpr, QualType ToType) { in setBad() argument 646 Bad.init(Failure, FromExpr, ToType); in setBad() 651 QualType FromType, QualType ToType) { in setBad() argument 653 Bad.init(Failure, FromType, ToType); in setBad()
|
| H A D | Sema.h | 3434 TryImplicitConversion(Expr *From, QualType ToType, 3443 bool IsComplexPromotion(QualType FromType, QualType ToType); 3447 bool isObjCPointerConversion(QualType FromType, QualType ToType, 3451 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 3461 bool CheckPointerConversion(Expr *From, QualType ToType, 3469 bool CheckMemberPointerConversion(Expr *From, QualType ToType, 3475 bool IsFunctionConversion(QualType FromType, QualType ToType, 3690 CXXRecordDecl *ActingContext, Expr *From, QualType ToType, 3695 CXXRecordDecl *ActingContext, Expr *From, QualType ToType, 8503 QualType ToType, [all …]
|
| /freebsd-13.1/contrib/googletest/googlemock/scripts/generator/cpp/ |
| H A D | ast.py | 477 def ToType(self, tokens): member in TypeConverter 511 AddType(self.ToType(new_tokens)) 570 templated_types = self.ToType(templated_tokens) 1388 new_type = self.converter.ToType(tokens)[0] 1481 bases_ast = self.converter.ToType(base)
|
| /freebsd-13.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-actions_test.cc | 605 class ToType { class 608 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType() function in __anon4708b7a80111::ToType 614 Action<ToType()> action(Return(x)); in TEST()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 531 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast() local 533 llvm::APSInt ToTypeMax = ToType.getMaxValue(); in evalIntegralCast()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 1018 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic() 1076 TDT.ToType)); in FormatDiagnostic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelDAGToDAG.cpp | 1903 unsigned ToType; in tryStoreVector() local 1905 ToType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryStoreVector() 1908 ToType = NVPTX::PTXLdStInstCode::Unsigned; in tryStoreVector() 1939 ToType = NVPTX::PTXLdStInstCode::Untyped; in tryStoreVector() 1946 StOps.push_back(getI32Imm(ToType, DL)); in tryStoreVector()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1791 intptr_t ToType; member
|
| /freebsd-13.1/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 737 using ToType = 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 681 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, in getConvRTLibDesc() argument 683 auto ToMVT = MVT::getVT(ToType); in getConvRTLibDesc() 704 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, in conversionLibcall() argument 706 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall() 708 {MI.getOperand(0).getReg(), ToType, 0}, in conversionLibcall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 988 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() 989 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree() 992 unsigned ToBits = ToType->getPrimitiveSizeInBits().getFixedSize(); in isTruncateFree() 1289 Type *ToType) const { in allowTruncateForTailCall() 1290 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1596 EVT ToType = V.getValueType(); in getValueBits() local 1598 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits() 1604 const unsigned NumValidBits = ToType.getSizeInBits(); in getValueBits()
|