Searched defs:ToType (Results 1 - 16 of 16) sorted by relevance

/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h101 const TypeDescriptor &ToType; member in struct:__ubsan::FloatCastOverflowData
/external/chromium/testing/gmock/test/
H A Dgmock-actions_test.cc530 class ToType { class in namespace:__anon3293
532 ToType(const FromType& x) { *x.converted() = true; } function in class:__anon3293::ToType
538 Action<ToType()> action(Return(x));
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp736 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) argument
740 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType);
H A DSemaCast.cpp1092 QualType ToType = R->getPointeeType(); local
1095 ToType = ToType.getUnqualifiedType();
1099 ToType, FromType,
H A DSemaTemplateDeduction.cpp3609 QualType ToType,
3621 QualType A = Context.getCanonicalType(ToType);
3684 if (ToType->isReferenceType())
3608 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, QualType ToType, CXXConversionDecl *&Specialization, TemplateDeductionInfo &Info) argument
H A DSemaExprCXX.cpp2370 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { argument
2380 if (const PointerType *ToPtrType = ToType->getAs<PointerType>())
2464 /// expression From to the type ToType using the pre-computed implicit
2469 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument
2475 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard,
2521 ToType.getNonReferenceType(),
2532 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After,
2554 /// expression From to the type ToType by following the standard
2559 Sema::PerformImplicitConversion(Expr *From, QualType ToType, argument
2572 // FIXME: When can ToType b
2769 CheckObjCARCConversion(SourceRange(), ToType, From, CCK); local
4090 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
[all...]
H A DSemaOverload.cpp69 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
76 QualType &ToType,
81 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
261 QualType ToType = getToType(1); local
270 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
318 QualType ToType = getToType(1); local
327 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
329 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) {
335 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType));
361 if (FromType->isRealFloatingType() && ToType
1093 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1196 TryImplicitConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1249 TryImplicitConversion(Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1267 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit) argument
1274 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit, ImplicitConversionSequence& ICS) argument
1296 IsNoReturnConversion(QualType FromType, QualType ToType, QualType &ResultTy) argument
1347 IsVectorConversion(ASTContext &Context, QualType FromType, QualType ToType, ImplicitConversionKind &ICK) argument
1401 IsStandardConversion(Sema &S, Expr* From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle, bool AllowObjCWritebackConversion) argument
1680 IsTransparentUnionStandardConversion(Sema &S, Expr* From, QualType &ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
1708 IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) argument
1855 IsFloatingPointPromotion(QualType FromType, QualType ToType) argument
1888 IsComplexPromotion(QualType FromType, QualType ToType) argument
1910 BuildSimilarlyQualifiedPointerType(const Type *FromPtr, QualType ToPointee, QualType ToType, ASTContext &Context, bool StripObjCLifetime = false) argument
1982 IsPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType& ConvertedType, bool &IncompatibleObjC) argument
2135 isObjCPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType, bool &IncompatibleObjC) argument
2331 isObjCWritebackConversion(QualType FromType, QualType ToType, QualType &ConvertedType) argument
2389 IsBlockPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType) argument
2491 HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, QualType FromType, QualType ToType) argument
2601 CheckPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath& BasePath, bool IgnoreBaseAccess) argument
2672 IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType &ConvertedType) argument
2715 CheckMemberPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath &BasePath, bool IgnoreBaseAccess) argument
2782 IsQualificationConversion(QualType FromType, QualType ToType, bool CStyle, bool &ObjCLifetimeConversion) argument
2862 tryAtomicConversion(Sema &S, Expr *From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
2899 IsInitializerListConstructorConversion(Sema &S, Expr *From, QualType ToType, CXXRecordDecl *To, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument
2981 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument
3196 DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType) argument
4389 TryListConversion(Sema &S, InitListExpr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion) argument
4596 TryCopyInitialization(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion, bool AllowExplicit) argument
5142 QualType ToType = Conversion->getConversionType().getNonReferenceType(); local
5173 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument
5275 QualType ToType; local
5812 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet) argument
5961 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet) argument
[all...]
H A DSemaExpr.cpp12626 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { argument
12627 return RebuildUnknownAnyExpr(*this, ToType).Visit(E);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1558 unsigned ToType; local
1560 ToType = NVPTX::PTXLdStInstCode::Float;
1562 ToType = NVPTX::PTXLdStInstCode::Unsigned;
1590 StOps.push_back(getI32Imm(ToType));
/external/chromium/testing/gmock/scripts/generator/cpp/
H A Dast.py476 def ToType(self, tokens): member in class:TypeConverter
509 AddType(self.ToType(new_tokens))
568 templated_types = self.ToType(templated_tokens)
1375 new_type = self.converter.ToType(tokens)[0]
1468 bases_ast = self.converter.ToType(base)
/external/clang/include/clang/Sema/
H A DOverload.h202 /// ToType - The types that this conversion is converting to in
518 Expr *FromExpr, QualType ToType) {
520 Bad.init(Failure, FromExpr, ToType);
525 QualType FromType, QualType ToType) {
527 Bad.init(Failure, FromType, ToType);
517 setBad(BadConversionSequence::FailureKind Failure, Expr *FromExpr, QualType ToType) argument
524 setBad(BadConversionSequence::FailureKind Failure, QualType FromType, QualType ToType) argument
/external/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:__anon15097::TemplateDiff
439 /// FromType, ToType - The type arguments.
440 QualType FromType, ToType; member in struct:__anon15097::TemplateDiff::DiffTree::DiffNode
473 FromType(), ToType(), FromExp
506 SetNode(QualType FromType, QualType ToType) argument
597 GetNode(QualType &FromType, QualType &ToType) argument
850 QualType FromType, ToType; local
1224 QualType FromType, ToType; local
1333 PrintTypeNames(QualType FromType, QualType ToType, bool FromDefault, bool ToDefault, bool Same) argument
1618 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument
1683 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument
[all...]
H A DASTImporter.cpp2099 QualType ToType = Importer.Import(From.getAsType()); local
2100 if (ToType.isNull())
2102 return TemplateArgument(ToType);
2106 QualType ToType = Importer.Import(From.getIntegralType()); local
2107 if (ToType.isNull())
2109 return TemplateArgument(From, ToType);
2120 QualType ToType = Importer.Import(From.getNullPtrType()); local
2121 if (ToType.isNull())
2123 return TemplateArgument(ToType, /*isNullPtr*/true);
/external/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...]
/external/clang/lib/CodeGen/
H A DCGExpr.cpp2792 QualType ToType = getContext().getLValueReferenceType(E->getType()); local
2794 ConvertType(ToType));
/external/llvm/lib/IR/
H A DCore.cpp942 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
944 unwrap(ToType)));
947 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
949 unwrap(ToType)));
952 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
954 unwrap(ToType)));
957 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
959 unwrap(ToType)));
962 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { argument
964 unwrap(ToType)));
967 LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
972 LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
977 LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
982 LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
987 LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
992 LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
997 LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1002 LLVMConstZExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1008 LLVMConstSExtOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1014 LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1020 LLVMConstPointerCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
1026 LLVMConstIntCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType, LLVMBool isSigned) argument
1032 LLVMConstFPCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) argument
[all...]

Completed in 464 milliseconds