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

/freebsd-9.3-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;
393 /// ToType - The type that FromType is compared to. Only in tree printing
395 QualType ToType; member in class:__anon2980::TemplateDiff
439 /// FromType, ToType - The type arguments.
440 QualType FromType, ToType; member in struct:__anon2980::TemplateDiff::DiffTree::DiffNode
473 FromType(), ToType(), FromExp
506 SetNode(QualType FromType, QualType ToType) argument
597 GetNode(QualType &FromType, QualType &ToType) argument
852 QualType FromType, ToType; local
1229 QualType FromType, ToType; local
1338 PrintTypeNames(QualType FromType, QualType ToType, bool FromDefault, bool ToDefault, bool Same) argument
1623 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument
1688 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument
[all...]
H A DASTImporter.cpp2097 QualType ToType = Importer.Import(From.getAsType()); local
2098 if (ToType.isNull())
2100 return TemplateArgument(ToType);
2104 QualType ToType = Importer.Import(From.getIntegralType()); local
2105 if (ToType.isNull())
2107 return TemplateArgument(From, ToType);
2118 QualType ToType = Importer.Import(From.getNullPtrType()); local
2119 if (ToType.isNull())
2121 return TemplateArgument(ToType, /*isNullPtr*/true);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp70 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
77 QualType &ToType,
82 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
263 QualType ToType = getToType(1); local
272 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
320 QualType ToType = getToType(1); local
329 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
331 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) {
337 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType));
363 if (FromType->isRealFloatingType() && ToType
1106 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion, bool AllowObjCConversionOnExplicit) argument
1210 TryImplicitConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion, bool AllowObjCConversionOnExplicit) argument
1265 TryImplicitConversion(Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1284 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit) argument
1291 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit, ImplicitConversionSequence& ICS) argument
1314 IsNoReturnConversion(QualType FromType, QualType ToType, QualType &ResultTy) argument
1365 IsVectorConversion(ASTContext &Context, QualType FromType, QualType ToType, ImplicitConversionKind &ICK) argument
1419 IsStandardConversion(Sema &S, Expr* From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle, bool AllowObjCWritebackConversion) argument
1698 IsTransparentUnionStandardConversion(Sema &S, Expr* From, QualType &ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
1726 IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) argument
1873 IsFloatingPointPromotion(QualType FromType, QualType ToType) argument
1906 IsComplexPromotion(QualType FromType, QualType ToType) argument
1928 BuildSimilarlyQualifiedPointerType(const Type *FromPtr, QualType ToPointee, QualType ToType, ASTContext &Context, bool StripObjCLifetime = false) argument
2000 IsPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType& ConvertedType, bool &IncompatibleObjC) argument
2153 isObjCPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType, bool &IncompatibleObjC) argument
2349 isObjCWritebackConversion(QualType FromType, QualType ToType, QualType &ConvertedType) argument
2407 IsBlockPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType) argument
2509 HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, QualType FromType, QualType ToType) argument
2620 CheckPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath& BasePath, bool IgnoreBaseAccess) argument
2691 IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType &ConvertedType) argument
2734 CheckMemberPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath &BasePath, bool IgnoreBaseAccess) argument
2813 IsQualificationConversion(QualType FromType, QualType ToType, bool CStyle, bool &ObjCLifetimeConversion) argument
2894 tryAtomicConversion(Sema &S, Expr *From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
2931 IsInitializerListConstructorConversion(Sema &S, Expr *From, QualType ToType, CXXRecordDecl *To, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument
3017 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit, bool AllowObjCConversionOnExplicit) argument
3237 DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType) argument
4433 TryListConversion(Sema &S, InitListExpr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion) argument
4636 TryCopyInitialization(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion, bool AllowExplicit) argument
5179 QualType ToType = Conversion->getConversionType().getNonReferenceType(); local
5210 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument
5314 QualType ToType; local
5871 isAllowableExplicitConversion(Sema &S, QualType ConvType, QualType ToType, bool AllowObjCPointerConversion) argument
5905 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet, bool AllowObjCConversionOnExplicit) argument
6063 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet, bool AllowObjCConversionOnExplicit) argument
[all...]
H A DSemaExprCXX.cpp2481 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { argument
2491 if (const PointerType *ToPtrType = ToType->getAs<PointerType>())
2575 /// expression From to the type ToType using the pre-computed implicit
2580 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument
2586 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard,
2632 ToType.getNonReferenceType(),
2643 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After,
2665 /// expression From to the type ToType by following the standard
2670 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument
2683 // FIXME: When can ToType b
2880 CheckObjCARCConversion(SourceRange(), ToType, From, CCK); local
4207 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
[all...]
H A DSemaExceptionSpec.cpp736 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) argument
740 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType);
H A DSemaCast.cpp1096 QualType ToType = R->getPointeeType(); local
1099 ToType = ToType.getUnqualifiedType();
1103 ToType, FromType,
H A DSemaTemplateDeduction.cpp3751 QualType ToType,
3764 QualType A = Context.getCanonicalType(ToType);
3827 if (ToType->isReferenceType())
3750 DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, QualType ToType, CXXConversionDecl *&Specialization, TemplateDeductionInfo &Info) argument
H A DSemaExpr.cpp13006 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { argument
13007 return RebuildUnknownAnyExpr(*this, ToType).Visit(E);
/freebsd-9.3-release/contrib/llvm/include/llvm-c/
H A DCore.h1623 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1624 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1625 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1626 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1627 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1628 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1629 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1630 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1631 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1632 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all...]
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DCore.cpp976 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
978 unwrap(ToType)));
981 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
983 unwrap(ToType)));
986 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
988 unwrap(ToType)));
991 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
993 unwrap(ToType)));
996 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
998 unwrap(ToType)));
1001 LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1006 LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1011 LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1016 LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1021 LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1026 LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1031 LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1036 LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1042 LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1048 LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1054 LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1060 LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1066 LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned) argument
1072 LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h202 /// ToType - The types that this conversion is converting to in
513 Expr *FromExpr, QualType ToType) {
515 Bad.init(Failure, FromExpr, ToType);
520 QualType FromType, QualType ToType) {
522 Bad.init(Failure, FromType, ToType);
512 setBad(BadConversionSequence::FailureKind Failure, Expr *FromExpr, QualType ToType) argument
519 setBad(BadConversionSequence::FailureKind Failure, QualType FromType, QualType ToType) argument
H A DSema.h1935 TryImplicitConversion(Expr *From, QualType ToType,
1942 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
1943 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
1944 bool IsComplexPromotion(QualType FromType, QualType ToType);
1945 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
1948 bool isObjCPointerConversion(QualType FromType, QualType ToType,
1950 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
1952 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
1958 QualType FromType, QualType ToType);
1961 bool CheckPointerConversion(Expr *From, QualType ToType,
[all...]
/freebsd-9.3-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-9.3-release/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp845 TDT.ToType = getRawArg(ArgNo2);
904 TDT.ToType));
/freebsd-9.3-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1559 unsigned ToType; local
1561 ToType = NVPTX::PTXLdStInstCode::Float;
1563 ToType = NVPTX::PTXLdStInstCode::Unsigned;
1591 StOps.push_back(getI32Imm(ToType));
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp337 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const {
338 if (!FromType->isIntegerTy() || !ToType->isIntegerTy())
341 unsigned ToBits = ToType->getPrimitiveSizeInBits();
581 Type *ToType) const {
582 return isTruncateFree(FromType, ToType);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnostic.h1341 intptr_t ToType;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp2827 QualType ToType = getContext().getLValueReferenceType(E->getType()); local
2829 ConvertType(ToType));

Completed in 358 milliseconds