| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 1558 ResultTy = ToType; in IsFunctionConversion() 1858 FromType = ToType; in IsStandardConversion() 1868 FromType = ToType; in IsStandardConversion() 1873 FromType = ToType; in IsStandardConversion() 1891 FromType = ToType; in IsStandardConversion() 2211 if (ToType->isObjCIdType() || ToType->isObjCQualifiedIdType()) in BuildSimilarlyQualifiedPointerType() 2806 ToType = ToType->getPointeeType(); in HandleFunctionTypeMismatch() 2810 ToType = ToType.getNonReferenceType(); in HandleFunctionTypeMismatch() 3115 ToType = Context.getCanonicalType(ToType); in IsQualificationConversion() 4907 if (ToType->isRecordType() && !ToType->isAggregateType()) { in TryListConversion() [all …]
|
| H A D | SemaExprCXX.cpp | 3909 assert(!ToType->isReferenceType()); in PerformImplicitConversion() 3950 ToAtomicType = ToType; in PerformImplicitConversion() 3951 ToType = ToAtomic->getValueType(); in PerformImplicitConversion() 4021 if (ToType->isBooleanType()) { in PerformImplicitConversion() 4060 if (ToType->isRealFloatingType()) in PerformImplicitConversion() 4223 assert(ToType->isIntegerType()); in PerformImplicitConversion() 4291 if (ToType->isReferenceType() && in PerformImplicitConversion() 4296 if (ToType->isPointerType() && in PerformImplicitConversion() 5554 ToType = To->getType(); in TryClassUnification() 5577 ToType = T; in TryClassUnification() [all …]
|
| H A D | SemaCast.cpp | 1276 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local 1279 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast() 1283 SrcExpr->getBeginLoc(), ToType, FromType, DerivedToBase, ObjCConversion, in TryLValueToRValueCast()
|
| H A D | SemaExceptionSpec.cpp | 878 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument 881 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
|
| H A D | SemaTemplateDeduction.cpp | 4136 QualType ToType, in DeduceTemplateArguments() argument 4149 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments() 4221 if (ToType->isReferenceType()) in DeduceTemplateArguments()
|
| H A D | SemaExpr.cpp | 10095 static bool checkThreeWayNarrowingConversion(Sema &S, QualType ToType, Expr *E, in checkThreeWayNarrowingConversion() argument 10102 SCS.setToType(1, ToType); in checkThreeWayNarrowingConversion() 10122 << PreNarrowingValue.getAsString(S.Context, PreNarrowingType) << ToType; in checkThreeWayNarrowingConversion() 10130 << /*Constant*/ 0 << FromType << ToType; in checkThreeWayNarrowingConversion() 16636 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument 16637 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 355 QualType ToType = in FormatASTNodeDiagnosticArgument() local 774 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff() 1094 QualType ToType, in OnlyPerformTypeDiff() argument 1097 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff() 1100 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff() 1118 QualType ToType = GetType(ToIter); in DiffTypes() local 1133 ToQual = ToType.getQualifiers(); in DiffTypes() 1454 QualType FromType, ToType; in TreeToString() local 1455 Tree.GetTypeDiff(FromType, ToType); in TreeToString() 1620 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames() [all …]
|
| H A D | ASTImporter.cpp | 3304 QualType ToType; in VisitFieldDecl() local 3509 QualType ToType; in VisitObjCIvarDecl() local 3633 QualType ToType; in VisitVarDecl() local 3690 QualType ToType; in VisitImplicitParamDecl() local 3712 QualType ToType; in VisitParmVarDecl() local 4700 QualType ToType; in VisitObjCPropertyDecl() local 4855 QualType ToType; in VisitNonTypeTemplateParmDecl() local 6073 QualType ToType; in VisitVAArgExpr() local 6102 QualType ToType; in VisitPredefinedExpr() local 6120 QualType ToType; in VisitDeclRefExpr() local [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers.h | 115 const TypeDescriptor &ToType; member 121 const TypeDescriptor &ToType; member 149 const TypeDescriptor &ToType; member
|
| H A D | ubsan_handlers.cc | 443 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local 451 ToType = &Data->ToType; in handleFloatCastOverflow() 459 ToType = &Data->ToType; in handleFloatCastOverflow() 466 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow() 519 const TypeDescriptor &DstTy = Data->ToType; in handleImplicitConversion()
|
| /freebsd-12.1/contrib/llvm/include/llvm-c/ |
| H A D | Core.h | 2096 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2097 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2098 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2100 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2101 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2102 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2103 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2110 LLVMTypeRef ToType); 2112 LLVMTypeRef ToType); 2114 LLVMTypeRef ToType); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Core.cpp | 1639 unwrap(ToType))); in LLVMConstTrunc() 1644 unwrap(ToType))); in LLVMConstSExt() 1649 unwrap(ToType))); in LLVMConstZExt() 1654 unwrap(ToType))); in LLVMConstFPTrunc() 1664 unwrap(ToType))); in LLVMConstUIToFP() 1669 unwrap(ToType))); in LLVMConstSIToFP() 1674 unwrap(ToType))); in LLVMConstFPToUI() 1679 unwrap(ToType))); in LLVMConstFPToSI() 1694 unwrap(ToType))); in LLVMConstBitCast() 1722 LLVMTypeRef ToType) { in LLVMConstPointerCast() argument [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Overload.h | 615 Expr *FromExpr, QualType ToType) { in setBad() argument 617 Bad.init(Failure, FromExpr, ToType); in setBad() 622 QualType FromType, QualType ToType) { in setBad() argument 624 Bad.init(Failure, FromType, ToType); in setBad()
|
| H A D | Sema.h | 2565 TryImplicitConversion(Expr *From, QualType ToType, 2574 bool IsComplexPromotion(QualType FromType, QualType ToType); 2578 bool isObjCPointerConversion(QualType FromType, QualType ToType, 2582 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 2592 bool CheckPointerConversion(Expr *From, QualType ToType, 2600 bool CheckMemberPointerConversion(Expr *From, QualType ToType, 2606 bool IsFunctionConversion(QualType FromType, QualType ToType, 2819 Expr *From, QualType ToType, 2826 Expr *From, QualType ToType, 7052 QualType ToType, [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 159 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, in getConvRTLibDesc() argument 161 auto ToMVT = MVT::getVT(ToType); in getConvRTLibDesc() 182 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, in conversionLibcall() argument 184 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall() 185 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType}, in conversionLibcall()
|
| /freebsd-12.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-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 501 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast() local 503 llvm::APSInt ToTypeMax = ToType.getMaxValue(); in evalIntegralCast()
|
| /freebsd-12.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 __anon060f74470111::ToType 614 Action<ToType()> action(Return(x)); in TEST()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 1003 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic() 1061 TDT.ToType)); in FormatDiagnostic()
|
| /freebsd-12.1/contrib/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-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1572 intptr_t ToType; member
|
| /freebsd-12.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-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 730 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() 731 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree() 734 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree() 1010 Type *ToType) const { in allowTruncateForTailCall() 1011 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1336 EVT ToType = V.getValueType(); in getValueBits() local 1338 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits() 1344 const unsigned NumValidBits = ToType.getSizeInBits(); in getValueBits()
|