/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 72 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType, 79 QualType &ToType, 84 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, 237 QualType ToType = getToType(1); local 246 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) 295 QualType ToType = getToType(1); local 315 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { 317 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { 323 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType)); 349 if (FromType->isRealFloatingType() && ToType 1158 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion, bool AllowObjCConversionOnExplicit) argument 1260 TryImplicitConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion, bool AllowObjCConversionOnExplicit) argument 1315 TryImplicitConversion(Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument 1334 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit) argument 1341 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit, ImplicitConversionSequence& ICS) argument 1366 IsNoReturnConversion(QualType FromType, QualType ToType, QualType &ResultTy) argument 1417 IsVectorConversion(Sema &S, QualType FromType, QualType ToType, ImplicitConversionKind &ICK) argument 1470 IsStandardConversion(Sema &S, Expr* From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle, bool AllowObjCWritebackConversion) argument 1768 IsTransparentUnionStandardConversion(Sema &S, Expr* From, QualType &ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument 1794 IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) argument 1943 IsFloatingPointPromotion(QualType FromType, QualType ToType) argument 1976 IsComplexPromotion(QualType FromType, QualType ToType) argument 1998 BuildSimilarlyQualifiedPointerType(const Type *FromPtr, QualType ToPointee, QualType ToType, ASTContext &Context, bool StripObjCLifetime = false) argument 2070 IsPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType& ConvertedType, bool &IncompatibleObjC) argument 2222 isObjCPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType, bool &IncompatibleObjC) argument 2402 isObjCWritebackConversion(QualType FromType, QualType ToType, QualType &ConvertedType) argument 2460 IsBlockPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType) argument 2574 HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, QualType FromType, QualType ToType) argument 2687 CheckPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath& BasePath, bool IgnoreBaseAccess, bool Diagnose) argument 2773 IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType &ConvertedType) argument 2815 CheckMemberPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath &BasePath, bool IgnoreBaseAccess) argument 2895 IsQualificationConversion(QualType FromType, QualType ToType, bool CStyle, bool &ObjCLifetimeConversion) argument 2976 tryAtomicConversion(Sema &S, Expr *From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument 3013 IsInitializerListConstructorConversion(Sema &S, Expr *From, QualType ToType, CXXRecordDecl *To, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument 3100 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit, bool AllowObjCConversionOnExplicit) argument 3312 DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType) argument 4543 TryListConversion(Sema &S, InitListExpr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion) argument 4798 TryCopyInitialization(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion, bool AllowExplicit) argument 5377 QualType ToType = Conversion->getConversionType().getNonReferenceType(); local 5408 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument 5512 QualType ToType; local 6345 isAllowableExplicitConversion(Sema &S, QualType ConvType, QualType ToType, bool AllowObjCPointerConversion) argument 6379 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet, bool AllowObjCConversionOnExplicit) argument 6546 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet, bool AllowObjCConversionOnExplicit) argument [all...] |
H A D | SemaExprCXX.cpp | 2875 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { argument 2885 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) 2971 /// expression From to the type ToType using the pre-computed implicit 2976 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument 2982 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, 3028 ToType.getNonReferenceType(), 3039 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, 3061 /// expression From to the type ToType by following the standard 3066 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument 3079 // FIXME: When can ToType b 3297 CheckObjCARCConversion(SourceRange(), ToType, From, CCK); local 4662 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument [all...] |
H A D | SemaExceptionSpec.cpp | 797 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { argument 800 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType);
|
H A D | SemaCast.cpp | 1154 QualType ToType = R->getPointeeType(); local 1157 ToType = ToType.getUnqualifiedType(); 1161 ToType, FromType,
|
H A D | SemaTemplateDeduction.cpp | 3775 QualType ToType, 3788 QualType A = Context.getCanonicalType(ToType); 3851 if (ToType->isReferenceType()) 3774 DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, QualType ToType, CXXConversionDecl *&Specialization, TemplateDeductionInfo &Info) argument
|
H A D | SemaExpr.cpp | 14471 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { argument 14472 return RebuildUnknownAnyExpr(*this, ToType).Visit(E);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 316 QualType ToType, bool PrintTree, 341 QualType ToType = local 342 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); 344 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, 359 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; 592 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, argument 597 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType; 757 void GetTypeDiff(QualType &FromType, QualType &ToType) { argument 760 ToType = FlatTree[ReadNode].ToArgInfo.ArgType; 1067 QualType ToType, 1066 OnlyPerformTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, const TemplateSpecializationType *&FromArgTST, const TemplateSpecializationType *&ToArgTST) argument 1091 QualType ToType = GetType(ToIter); local 1427 QualType FromType, ToType; local 1577 PrintTypeNames(QualType FromType, QualType ToType, bool FromDefault, bool ToDefault, bool Same) argument 1960 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument 2024 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument [all...] |
H A D | ASTImporter.cpp | 2166 QualType ToType = Importer.Import(From.getAsType()); local 2167 if (ToType.isNull()) 2169 return TemplateArgument(ToType); 2173 QualType ToType = Importer.Import(From.getIntegralType()); local 2174 if (ToType.isNull()) 2176 return TemplateArgument(From, ToType); 2181 QualType ToType = Importer.Import(From.getParamTypeForDecl()); local 2182 if (!To || ToType.isNull()) 2184 return TemplateArgument(To, ToType); 2188 QualType ToType local [all...] |
/freebsd-11.0-release/contrib/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 104 const TypeDescriptor &ToType; member in struct:__ubsan::FloatCastOverflowData 110 const TypeDescriptor &ToType; member in struct:__ubsan::FloatCastOverflowDataV2
|
H A D | ubsan_handlers.cc | 370 const TypeDescriptor *FromType, *ToType; local 378 ToType = &Data->ToType; 386 ToType = &Data->ToType; 393 << Value(*FromType, From) << *FromType << *ToType;
|
/freebsd-11.0-release/contrib/llvm/include/llvm-c/ |
H A D | Core.h | 1631 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1632 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1633 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1634 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1635 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1636 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1637 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1638 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1639 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1640 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); [all...] |
/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | Core.cpp | 1185 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument 1187 unwrap(ToType))); 1190 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument 1192 unwrap(ToType))); 1195 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument 1197 unwrap(ToType))); 1200 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument 1202 unwrap(ToType))); 1205 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument 1207 unwrap(ToType))); 1210 LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1215 LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1220 LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1225 LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1230 LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1235 LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1240 LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1245 LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1251 LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1257 LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1263 LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1269 LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument 1275 LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned) argument 1281 LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Overload.h | 191 /// ToType - The types that this conversion is converting to in 501 Expr *FromExpr, QualType ToType) { 503 Bad.init(Failure, FromExpr, ToType); 508 QualType FromType, QualType ToType) { 510 Bad.init(Failure, FromType, ToType); 500 setBad(BadConversionSequence::FailureKind Failure, Expr *FromExpr, QualType ToType) argument 507 setBad(BadConversionSequence::FailureKind Failure, QualType FromType, QualType ToType) argument
|
H A D | Sema.h | 2202 TryImplicitConversion(Expr *From, QualType ToType, 2209 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType); 2210 bool IsFloatingPointPromotion(QualType FromType, QualType ToType); 2211 bool IsComplexPromotion(QualType FromType, QualType ToType); 2212 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType, 2215 bool isObjCPointerConversion(QualType FromType, QualType ToType, 2217 bool isObjCWritebackConversion(QualType FromType, QualType ToType, 2219 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 2225 QualType FromType, QualType ToType); 2229 bool CheckPointerConversion(Expr *From, QualType ToType, [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 326 Value *ConvertScalar_ExtractValue(Value *NV, Type *ToType, 759 /// ConvertScalar_ExtractValue - Extract a value of type ToType from an integer 761 /// Offset. This returns the value, which is of type ToType. 770 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, argument 775 if (FromType == ToType && Offset == 0) 782 unsigned ToTypeSize = DL.getTypeAllocSize(ToType); 784 return Builder.CreateBitCast(FromVal, ToType); 805 if (V->getType() != ToType) 806 V = Builder.CreateBitCast(V, ToType); 810 // If ToType i [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 441 APSIntType ToType(getContext().getTypeSize(castTy), 443 llvm::APSInt ToTypeMax = ToType.getMaxValue();
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 866 TDT.ToType = getRawArg(ArgNo2); 924 TDT.ToType));
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 1392 intptr_t ToType;
|
/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelDAGToDAG.cpp | 2314 unsigned ToType; local 2316 ToType = NVPTX::PTXLdStInstCode::Float; 2318 ToType = NVPTX::PTXLdStInstCode::Unsigned; 2346 StOps.push_back(getI32Imm(ToType, DL));
|
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 527 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { 528 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) 531 unsigned ToBits = ToType->getPrimitiveSizeInBits(); 773 Type *ToType) const { 774 return isTruncateFree(FromType, ToType);
|