/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 83 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType, 90 QualType &ToType, 95 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, 251 QualType ToType = getToType(1); in isPointerConversionToVoidPointer() local 260 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer() 319 QualType ToType = getToType(1); in getNarrowingKind() local 324 if (auto *ET = ToType->getAs<EnumType>()) in getNarrowingKind() 325 ToType = ET->getDecl()->getIntegerType(); in getNarrowingKind() 345 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind() 348 ToType->isRealFloatingType()) { in getNarrowingKind() [all …]
|
H A D | SemaExprCXX.cpp | 3917 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument 3927 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() 4020 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument 4030 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion() 4074 *this, From->getBeginLoc(), ToType.getNonReferenceType(), CastKind, in PerformImplicitConversion() 4089 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, in PerformImplicitConversion() 4104 CheckAssignmentConstraints(From->getExprLoc(), ToType, From->getType()); in PerformImplicitConversion() 4107 ToType, From->getType(), From, Action); in PerformImplicitConversion() 4122 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument 4136 assert(!ToType->isReferenceType()); in PerformImplicitConversion() [all …]
|
H A D | SemaCast.cpp | 166 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, in CheckNoDeref() argument 170 if (const auto *DestType = dyn_cast<PointerType>(ToType)) { in CheckNoDeref() 1478 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local 1481 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast() 1486 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()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 319 QualType ToType, bool PrintTree, 373 QualType ToType = in FormatASTNodeDiagnosticArgument() local 374 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); in FormatASTNodeDiagnosticArgument() 376 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument() 391 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument() 623 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, in SetTypeDiff() argument 628 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType; in SetTypeDiff() 788 void GetTypeDiff(QualType &FromType, QualType &ToType) { in GetTypeDiff() argument 791 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; in GetTypeDiff() 1111 QualType ToType, in OnlyPerformTypeDiff() argument [all …]
|
H A D | ASTImporter.cpp | 3659 auto ToType = importChecked(Err, D->getType()); in VisitFieldDecl() local 3674 ToType, ToTInfo, ToBitWidth, D->isMutable(), in VisitFieldDecl() 3923 auto ToType = importChecked(Err, D->getType()); in VisitObjCIvarDecl() local 3934 ToType, ToTypeSourceInfo, in VisitObjCIvarDecl() 4043 auto ToType = importChecked(Err, D->getType()); in VisitVarDecl() local 4055 ToType, ToTypeSourceInfo, in VisitVarDecl() 4102 auto ToType = importChecked(Err, D->getType()); in VisitImplicitParamDecl() local 4110 ToType, D->getParameterKind())) in VisitImplicitParamDecl() 4146 auto ToType = importChecked(Err, D->getType()); in VisitParmVarDecl() local 4154 ToDeclName.getAsIdentifierInfo(), ToType, in VisitParmVarDecl() [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
H A D | ubsan_handlers.h | 104 const TypeDescriptor &ToType; member 110 const TypeDescriptor &ToType; member 138 const TypeDescriptor &ToType; member
|
H A D | ubsan_handlers.cc | 387 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local 395 ToType = &Data->ToType; in handleFloatCastOverflow() 403 ToType = &Data->ToType; in handleFloatCastOverflow() 410 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow() 463 const TypeDescriptor &DstTy = Data->ToType; in handleImplicitConversion()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
H A D | ubsan_handlers.h | 102 const TypeDescriptor &ToType; member 108 const TypeDescriptor &ToType; member 134 const TypeDescriptor &ToType; member
|
H A D | ubsan_handlers.cc | 383 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local 391 ToType = &Data->ToType; in handleFloatCastOverflow() 399 ToType = &Data->ToType; in handleFloatCastOverflow() 406 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow() 459 const TypeDescriptor &DstTy = Data->ToType; in handleImplicitConversion()
|
/netbsd-src/external/apache2/llvm/dist/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); 2167 LLVMValueRef LLVMConstFPTrunc(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); 2172 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 2173 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Core.cpp | 1710 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument 1712 unwrap(ToType))); in LLVMConstTrunc() 1715 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument 1717 unwrap(ToType))); in LLVMConstSExt() 1720 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument 1722 unwrap(ToType))); in LLVMConstZExt() 1725 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument 1727 unwrap(ToType))); in LLVMConstFPTrunc() 1730 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument 1732 unwrap(ToType))); in LLVMConstFPExt() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | warning-control.cc | 189 template <class ToType, class FromType> 190 void copy_warning (ToType to, FromType from) in copy_warning()
|
/netbsd-src/external/apache2/llvm/dist/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 | 3397 TryImplicitConversion(Expr *From, QualType ToType, 3404 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType); 3405 bool IsFloatingPointPromotion(QualType FromType, QualType ToType); 3406 bool IsComplexPromotion(QualType FromType, QualType ToType); 3407 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType, 3410 bool isObjCPointerConversion(QualType FromType, QualType ToType, 3412 bool isObjCWritebackConversion(QualType FromType, QualType ToType, 3414 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 3420 QualType FromType, QualType ToType); 3424 bool CheckPointerConversion(Expr *From, QualType ToType, [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
H A D | csv.d | 1071 foreach (ti, ToType; Fields!(Contents)) in prime() 1075 static if (!isSomeString!ToType) skipWS(colData); in prime() 1076 recordContent.tupleof[ti] = to!ToType(colData); in prime() 1082 foreach (ti, ToType; Fields!(Contents)) in prime() 1086 static if (!isSomeString!ToType) skipWS(colData); in prime() 1087 recordContent.tupleof[ti] = to!ToType(colData); in prime()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | csv.d | 1207 foreach (ti, ToType; Fields!(Contents)) in prime() 1211 static if (!isSomeString!ToType) skipWS(colData); in prime() 1212 recordContent.tupleof[ti] = to!ToType(colData); in prime() 1218 foreach (ti, ToType; Fields!(Contents)) in prime() 1222 static if (!isSomeString!ToType) skipWS(colData); in prime() 1223 recordContent.tupleof[ti] = to!ToType(colData); in prime()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 517 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast() local 519 llvm::APSInt ToTypeMax = ToType.getMaxValue(); in evalIntegralCast()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 1018 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic() 1076 TDT.ToType)); in FormatDiagnostic()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 1791 intptr_t ToType; member
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 209 using ToType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local 217 std::is_same<FromType, ToType>::value || in MatchAndExplain() 218 !std::is_base_of<FromType, ToType>::value, in MatchAndExplain()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 640 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, in getConvRTLibDesc() argument 642 auto ToMVT = MVT::getVT(ToType); in getConvRTLibDesc() 663 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, in conversionLibcall() argument 665 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall() 666 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType}, in conversionLibcall()
|