Searched refs:ToType (Results 1 - 17 of 17) sorted by relevance

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTDiagnostic.cpp232 QualType ToType, bool PrintTree,
260 QualType ToType = local
261 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType));
263 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
278 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
394 /// ToType - The type that FromType is compared to. Only in tree printing
396 QualType ToType; member in class:__anon2952::TemplateDiff
440 /// FromType, ToType - The type arguments.
441 QualType FromType, ToType; member in struct:__anon2952::TemplateDiff::DiffTree::DiffNode
470 FromType(), ToType(), FromExp
502 SetNode(QualType FromType, QualType ToType) argument
590 GetNode(QualType &FromType, QualType &ToType) argument
840 QualType FromType, ToType; local
1198 QualType FromType, ToType; local
1306 PrintTypeNames(QualType FromType, QualType ToType, bool FromDefault, bool ToDefault, bool Same) argument
1584 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument
1649 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument
[all...]
H A DASTImporter.cpp2070 QualType ToType = Importer.Import(From.getAsType()); local
2071 if (ToType.isNull())
2073 return TemplateArgument(ToType);
2077 QualType ToType = Importer.Import(From.getIntegralType()); local
2078 if (ToType.isNull())
2080 return TemplateArgument(From, ToType);
2091 QualType ToType = Importer.Import(From.getNullPtrType()); local
2092 if (ToType.isNull())
2094 return TemplateArgument(ToType, /*isNullPtr*/true);
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp62 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
69 QualType &ToType,
74 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
254 QualType ToType = getToType(1); local
263 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
311 QualType ToType = getToType(1); local
320 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
322 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) {
328 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType));
354 if (FromType->isRealFloatingType() && ToType
1113 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1216 TryImplicitConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1269 TryImplicitConversion(Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1287 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit) argument
1294 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit, ImplicitConversionSequence& ICS) argument
1316 IsNoReturnConversion(QualType FromType, QualType ToType, QualType &ResultTy) argument
1367 IsVectorConversion(ASTContext &Context, QualType FromType, QualType ToType, ImplicitConversionKind &ICK) argument
1421 IsStandardConversion(Sema &S, Expr* From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle, bool AllowObjCWritebackConversion) argument
1700 IsTransparentUnionStandardConversion(Sema &S, Expr* From, QualType &ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
1728 IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) argument
1875 IsFloatingPointPromotion(QualType FromType, QualType ToType) argument
1908 IsComplexPromotion(QualType FromType, QualType ToType) argument
1930 BuildSimilarlyQualifiedPointerType(const Type *FromPtr, QualType ToPointee, QualType ToType, ASTContext &Context, bool StripObjCLifetime = false) argument
2002 IsPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType& ConvertedType, bool &IncompatibleObjC) argument
2155 isObjCPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType, bool &IncompatibleObjC) argument
2351 isObjCWritebackConversion(QualType FromType, QualType ToType, QualType &ConvertedType) argument
2409 IsBlockPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType) argument
2511 HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, QualType FromType, QualType ToType) argument
2621 QualType ToType = (*O); local
2654 CheckPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath& BasePath, bool IgnoreBaseAccess) argument
2725 IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType &ConvertedType) argument
2768 CheckMemberPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath &BasePath, bool IgnoreBaseAccess) argument
2835 IsQualificationConversion(QualType FromType, QualType ToType, bool CStyle, bool &ObjCLifetimeConversion) argument
2915 tryAtomicConversion(Sema &S, Expr *From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
2952 IsInitializerListConstructorConversion(Sema &S, Expr *From, QualType ToType, CXXRecordDecl *To, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument
3034 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument
3249 DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType) argument
4438 TryListConversion(Sema &S, InitListExpr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion) argument
4645 TryCopyInitialization(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion, bool AllowExplicit) argument
5718 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet) argument
5867 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet) argument
[all...]
H A DSemaExprCXX.cpp2332 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { argument
2342 if (const PointerType *ToPtrType = ToType->getAs<PointerType>())
2422 /// expression From to the type ToType using the pre-computed implicit
2427 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument
2433 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard,
2479 ToType.getNonReferenceType(),
2490 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After,
2512 /// expression From to the type ToType by following the standard
2517 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument
2530 // FIXME: When can ToType b
4037 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
[all...]
H A DSemaExceptionSpec.cpp765 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) argument
769 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType);
H A DSemaCast.cpp1072 QualType ToType = R->getPointeeType(); local
1075 ToType = ToType.getUnqualifiedType();
1079 ToType, FromType,
H A DSemaTemplateDeduction.cpp3452 QualType ToType,
3464 QualType A = Context.getCanonicalType(ToType);
3527 if (ToType->isReferenceType())
3451 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, QualType ToType, CXXConversionDecl *&Specialization, TemplateDeductionInfo &Info) argument
H A DSemaExpr.cpp12370 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { argument
12371 return RebuildUnknownAnyExpr(*this, ToType).Visit(E);
/freebsd-10.0-release/contrib/llvm/include/llvm-c/
H A DCore.h1559 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1560 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1561 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1562 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1563 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1564 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1565 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1566 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1567 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1568 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all...]
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DCore.cpp938 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
940 unwrap(ToType)));
943 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
945 unwrap(ToType)));
948 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
950 unwrap(ToType)));
953 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
955 unwrap(ToType)));
958 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
960 unwrap(ToType)));
963 LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
968 LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
973 LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
978 LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
983 LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
988 LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
993 LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
998 LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1004 LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1010 LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1016 LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1022 LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned) argument
1028 LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h201 /// ToType - The types that this conversion is converting to in
517 Expr *FromExpr, QualType ToType) {
519 Bad.init(Failure, FromExpr, ToType);
524 QualType FromType, QualType ToType) {
526 Bad.init(Failure, FromType, ToType);
516 setBad(BadConversionSequence::FailureKind Failure, Expr *FromExpr, QualType ToType) argument
523 setBad(BadConversionSequence::FailureKind Failure, QualType FromType, QualType ToType) argument
H A DSema.h1856 TryImplicitConversion(Expr *From, QualType ToType,
1863 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
1864 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
1865 bool IsComplexPromotion(QualType FromType, QualType ToType);
1866 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
1869 bool isObjCPointerConversion(QualType FromType, QualType ToType,
1871 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
1873 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
1879 QualType FromType, QualType ToType);
1882 bool CheckPointerConversion(Expr *From, QualType ToType,
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp319 Value *ConvertScalar_ExtractValue(Value *NV, Type *ToType,
751 /// ConvertScalar_ExtractValue - Extract a value of type ToType from an integer
753 /// Offset. This returns the value, which is of type ToType.
762 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, argument
767 if (FromType == ToType && Offset == 0)
774 unsigned ToTypeSize = TD.getTypeAllocSize(ToType);
776 return Builder.CreateBitCast(FromVal, ToType);
797 if (V->getType() != ToType)
798 V = Builder.CreateBitCast(V, ToType);
802 // If ToType i
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1246 unsigned ToType; local
1248 ToType = NVPTX::PTXLdStInstCode::Float;
1250 ToType = NVPTX::PTXLdStInstCode::Unsigned;
1278 StOps.push_back(getI32Imm(ToType));
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp845 TDT.ToType = getRawArg(ArgNo2);
904 TDT.ToType));
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnostic.h1331 intptr_t ToType;
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp2878 QualType ToType = getContext().getLValueReferenceType(E->getType()); local
2880 ConvertType(ToType));

Completed in 400 milliseconds