Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DASTDiagnostic.cpp251 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
275 QualType FromType = in FormatASTNodeDiagnosticArgument() local
276 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); in FormatASTNodeDiagnosticArgument()
280 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
295 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
421 QualType FromType; member in __anon910c3b370111::TemplateDiff
470 QualType FromType, ToType; member
503 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode()
537 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument
538 FlatTree[CurrentNode].FromType = FromType; in SetNode()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp263 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() local
270 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
272 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) in isPointerConversionToVoidPointer()
320 QualType FromType = getToType(0); in getNarrowingKind() local
330 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
332 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
364 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
365 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) { in getNarrowingKind()
395 if (!FromType->isIntegralOrUnscopedEnumerationType()) { in getNarrowingKind()
401 assert(FromType->isIntegralOrUnscopedEnumerationType()); in getNarrowingKind()
[all …]
DSemaExprCXX.cpp2701 QualType FromType = From->getType(); in PerformImplicitConversion() local
2729 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
2740 FromType = From->getType(); in PerformImplicitConversion()
2759 FromType = FromType.getUnqualifiedType(); in PerformImplicitConversion()
2767 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
2768 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
2773 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
2774 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion()
2805 assert(FromType->castAs<EnumType>()->getDecl()->isFixed() && in PerformImplicitConversion()
2923 FromType = Context.FloatTy; in PerformImplicitConversion()
[all …]
DSemaExprObjC.cpp3876 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
3884 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
3896 << FromType in BuildObjCBridgedCast()
3904 << FromType << br in BuildObjCBridgedCast()
3918 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
3930 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
3938 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
3939 << FromType in BuildObjCBridgedCast()
3958 << FromType << T << Kind in BuildObjCBridgedCast()
DSemaCast.cpp1106 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
1109 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1114 ToType, FromType, in TryLValueToRValueCast()
DSemaExpr.cpp2447 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
2452 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2454 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2458 FromRecordType = FromType; in PerformObjectMemberConversion()
2467 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2468 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2471 FromRecordType = FromType; in PerformObjectMemberConversion()
2479 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2529 FromType = QType; in PerformObjectMemberConversion()
2565 FromType = UType; in PerformObjectMemberConversion()
DSemaInit.cpp6601 QualType FromType = Args[0]->getType(); in Diagnose() local
6606 << FromType in Diagnose()
6608 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
/external/chromium_org/v8/src/
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);
Dproperty-details-inl.h16 Representation Representation::FromType(Type* type) { in FromType() function
Dhydrogen-types.h65 static HType FromType(typename T::TypeHandle type) WARN_UNUSED_RESULT;
Dproperty-details.h90 static Representation FromType(Type* type);
Dhydrogen.cc6054 field_type_ = HType::FromType<HeapType>(field_type); in LoadFieldMaps()
9931 Representation rep = Representation::FromType(expr->type()); in BuildIncrement()
10272 Representation left_rep = Representation::FromType(left_type); in BuildBinaryOperation()
10273 Representation right_rep = Representation::FromType(right_type); in BuildBinaryOperation()
10289 left_rep = Representation::FromType(left_type); in BuildBinaryOperation()
10298 right_rep = Representation::FromType(right_type); in BuildBinaryOperation()
10383 Representation result_rep = Representation::FromType(result_type); in BuildBinaryOperation()
10796 Representation left_rep = Representation::FromType(left_type); in BuildCompareInstruction()
10797 Representation right_rep = Representation::FromType(right_type); in BuildCompareInstruction()
10798 Representation combined_rep = Representation::FromType(combined_type); in BuildCompareInstruction()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Dvertexconversion.h90 template <class FromType, std::size_t ScaleBits>
97 static float convert(FromType x)
99 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits);
/external/chromium_org/third_party/libjingle/source/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.cc236 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in __ubsan_handle_float_cast_overflow()
243 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in __ubsan_handle_float_cast_overflow_abort()
Dubsan_handlers.h100 const TypeDescriptor &FromType; member
/external/llvm/lib/Target/NVPTX/
DNVPTX.h124 enum FromType { enum
DNVPTXISelDAGToDAG.cpp665 unsigned int FromType; in SelectLoadVector() local
670 FromType = NVPTX::PTXLdStInstCode::Signed; in SelectLoadVector()
672 FromType = NVPTX::PTXLdStInstCode::Float; in SelectLoadVector()
674 FromType = NVPTX::PTXLdStInstCode::Unsigned; in SelectLoadVector()
740 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
794 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
897 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
999 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
/external/clang/include/clang/Sema/
DOverload.h520 QualType FromType, QualType ToType) { in setBad() argument
522 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h2064 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2065 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2066 bool IsComplexPromotion(QualType FromType, QualType ToType);
2067 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2070 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2072 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2074 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2080 QualType FromType, QualType ToType);
2087 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType,
2094 bool IsQualificationConversion(QualType FromType, QualType ToType,
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp835 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
880 TDT.FromType)); in FormatDiagnostic()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp768 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue() local
769 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
774 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { in ConvertScalar_ExtractValue()
775 unsigned FromTypeSize = DL.getTypeAllocSize(FromType); in ConvertScalar_ExtractValue()
/external/clang/include/clang/Basic/
DDiagnostic.h1377 intptr_t FromType; member
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp368 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
369 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
371 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
611 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
613 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/external/chromium_org/v8/test/cctest/
Dtest-types.cc1940 HType htype1 = HType::FromType<Type>(type1); in HTypeFromType()
1941 HType htype2 = HType::FromType<Type>(type2); in HTypeFromType()

12