Home
last modified time | relevance | path

Searched refs:FromType (Results 1 – 25 of 25) sorted by relevance

/external/clang/lib/AST/
DASTDiagnostic.cpp315 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
339 QualType FromType = in FormatASTNodeDiagnosticArgument() local
340 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); in FormatASTNodeDiagnosticArgument()
344 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
359 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
479 QualType FromType; member in __anon89c8eca50111::TemplateDiff
528 QualType FromType, ToType; member
564 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode()
599 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument
600 FlatTree[CurrentNode].FromType = FromType; in SetNode()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp236 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() local
243 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
245 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) in isPointerConversionToVoidPointer()
293 QualType FromType = getToType(0); in getNarrowingKind() local
298 if (FromType->isRealFloatingType()) in getNarrowingKind()
300 if (FromType->isIntegralOrUnscopedEnumerationType()) in getNarrowingKind()
314 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
316 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
348 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
349 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) { in getNarrowingKind()
[all …]
DSemaExprCXX.cpp3076 QualType FromType = From->getType(); in PerformImplicitConversion() local
3101 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
3112 FromType = From->getType(); in PerformImplicitConversion()
3123 QualType InitialFromType = FromType; in PerformImplicitConversion()
3127 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { in PerformImplicitConversion()
3128 FromType = FromAtomic->getValueType().getUnqualifiedType(); in PerformImplicitConversion()
3129 From = ImplicitCastExpr::Create(Context, FromType, CK_AtomicToNonAtomic, in PerformImplicitConversion()
3139 FromType = From->getType(); in PerformImplicitConversion()
3144 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
3145 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
[all …]
DSemaExprObjC.cpp4188 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
4196 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
4208 << FromType in BuildObjCBridgedCast()
4216 << FromType << br in BuildObjCBridgedCast()
4230 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
4242 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
4250 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
4251 << FromType in BuildObjCBridgedCast()
4270 << FromType << T << Kind in BuildObjCBridgedCast()
DSemaCast.cpp1153 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
1156 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1161 ToType, FromType, in TryLValueToRValueCast()
DSemaExpr.cpp2523 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
2528 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2530 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2534 FromRecordType = FromType; in PerformObjectMemberConversion()
2543 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2544 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2547 FromRecordType = FromType; in PerformObjectMemberConversion()
2555 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2605 FromType = QType; in PerformObjectMemberConversion()
2641 FromType = UType; in PerformObjectMemberConversion()
DSemaTemplateDeduction.cpp3779 QualType FromType = ConversionGeneric->getConversionType(); in DeduceTemplateArguments() local
3782 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
DSemaInit.cpp7057 QualType FromType = Args[0]->getType(); in Diagnose() local
7062 << FromType in Diagnose()
7064 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
/external/v8/src/crankshaft/
Dhydrogen-types.cc16 HType HType::FromType(typename T::TypeHandle type) { in FromType() function in v8::internal::HType
33 HType HType::FromType<Type>(Type* type);
38 HType HType::FromType<HeapType>(Handle<HeapType> type);
Dhydrogen-types.h66 static HType FromType(typename T::TypeHandle type) WARN_UNUSED_RESULT;
Dhydrogen.cc6373 field_type_ = HType::FromType<HeapType>(field_type); in LoadFieldMaps()
/external/webrtc/talk/session/media/
Dtypewrapping.h.pump122 template <typename ToType, typename FromType> class Wrapper,
123 template <typename FromType> class Unwrapper,
158 template <typename ToType, typename FromType> class Wrapper,
159 template <typename FromType> class Unwrapper$for j [[,
200 template<typename ToType, typename FromType> \
215 template<typename FromType> \
218 typedef FromType ToType; \
219 static FORCE_INLINE ToType Unwrap(FromType from) { \
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc370 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local
377 FromType = &Data->FromType; in handleFloatCastOverflow()
385 FromType = &Data->FromType; in handleFloatCastOverflow()
393 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow()
Dubsan_handlers.h103 const TypeDescriptor &FromType; member
109 const TypeDescriptor &FromType; member
/external/llvm/lib/Target/NVPTX/
DNVPTX.h109 enum FromType { enum
DNVPTXISelDAGToDAG.cpp938 unsigned int FromType; in SelectLoadVector() local
943 FromType = NVPTX::PTXLdStInstCode::Signed; in SelectLoadVector()
945 FromType = NVPTX::PTXLdStInstCode::Float; in SelectLoadVector()
947 FromType = NVPTX::PTXLdStInstCode::Unsigned; in SelectLoadVector()
1013 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
1066 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
1168 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
1270 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
/external/gmock/test/
Dgmock-actions_test.cc519 class FromType { class
521 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in __anonabd19ec70111::FromType
527 GTEST_DISALLOW_ASSIGN_(FromType);
533 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
538 FromType x(&converted); in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc519 class FromType { class
521 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in __anone7f1a83e0111::FromType
527 GTEST_DISALLOW_ASSIGN_(FromType);
533 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
538 FromType x(&converted); in TEST()
/external/clang/include/clang/Sema/
DOverload.h508 QualType FromType, QualType ToType) { in setBad() argument
510 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h2207 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2208 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2209 bool IsComplexPromotion(QualType FromType, QualType ToType);
2210 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2213 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2215 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2217 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2223 QualType FromType, QualType ToType);
2231 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType,
2238 bool IsQualificationConversion(QualType FromType, QualType ToType,
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp865 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
910 TDT.FromType)); in FormatDiagnostic()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp774 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue() local
775 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
780 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { in ConvertScalar_ExtractValue()
781 unsigned FromTypeSize = DL.getTypeAllocSize(FromType); in ConvertScalar_ExtractValue()
/external/clang/include/clang/Basic/
DDiagnostic.h1391 intptr_t FromType; member
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp527 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
528 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
530 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
772 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
774 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/external/v8/test/cctest/
Dtest-types.cc1956 HType htype1 = HType::FromType<Type>(type1); in HTypeFromType()
1957 HType htype2 = HType::FromType<Type>(type2); in HTypeFromType()