Home
last modified time | relevance | path

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

/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()
417 QualType FromType; member in __anon4993a2000111::TemplateDiff
466 QualType FromType, ToType; member
502 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.cpp229 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() local
236 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
238 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) in isPointerConversionToVoidPointer()
286 QualType FromType = getToType(0); in getNarrowingKind() local
291 if (FromType->isRealFloatingType()) in getNarrowingKind()
293 if (FromType->isIntegralOrUnscopedEnumerationType()) in getNarrowingKind()
307 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
309 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
341 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
342 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) { in getNarrowingKind()
[all …]
DSemaExprCXX.cpp2808 QualType FromType = From->getType(); in PerformImplicitConversion() local
2833 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
2844 FromType = From->getType(); in PerformImplicitConversion()
2858 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { in PerformImplicitConversion()
2859 FromType = FromAtomic->getValueType().getUnqualifiedType(); in PerformImplicitConversion()
2860 From = ImplicitCastExpr::Create(Context, FromType, CK_AtomicToNonAtomic, in PerformImplicitConversion()
2870 FromType = From->getType(); in PerformImplicitConversion()
2875 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
2876 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
2881 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
[all …]
DSemaExprObjC.cpp3937 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
3945 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
3957 << FromType in BuildObjCBridgedCast()
3965 << FromType << br in BuildObjCBridgedCast()
3979 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
3991 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
3999 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
4000 << FromType in BuildObjCBridgedCast()
4019 << FromType << T << Kind in BuildObjCBridgedCast()
DSemaCast.cpp1143 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
1146 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1151 ToType, FromType, in TryLValueToRValueCast()
DSemaExpr.cpp2527 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
2532 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2534 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2538 FromRecordType = FromType; in PerformObjectMemberConversion()
2547 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2548 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2551 FromRecordType = FromType; in PerformObjectMemberConversion()
2559 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2609 FromType = QType; in PerformObjectMemberConversion()
2645 FromType = UType; in PerformObjectMemberConversion()
DSemaTemplateDeduction.cpp3711 QualType FromType = ConversionGeneric->getConversionType(); in DeduceTemplateArguments() local
3714 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
DSemaInit.cpp6736 QualType FromType = Args[0]->getType(); in Diagnose() local
6741 << FromType in Diagnose()
6743 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
/external/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/llvm/lib/Target/NVPTX/
DNVPTX.h125 enum FromType { enum
DNVPTXISelDAGToDAG.cpp891 unsigned int FromType; in SelectLoadVector() local
896 FromType = NVPTX::PTXLdStInstCode::Signed; in SelectLoadVector()
898 FromType = NVPTX::PTXLdStInstCode::Float; in SelectLoadVector()
900 FromType = NVPTX::PTXLdStInstCode::Unsigned; in SelectLoadVector()
966 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
1019 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
1121 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
1223 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.h102 const TypeDescriptor &FromType; member
Dubsan_handlers.cc302 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in handleFloatCastOverflow()
/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 __anon3285ff390111::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.h505 QualType FromType, QualType ToType) { in setBad() argument
507 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h2030 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2031 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2032 bool IsComplexPromotion(QualType FromType, QualType ToType);
2033 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2036 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2038 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2040 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2046 QualType FromType, QualType ToType);
2053 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType,
2060 bool IsQualificationConversion(QualType FromType, QualType ToType,
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp852 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
897 TDT.FromType)); in FormatDiagnostic()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp773 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue() local
774 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
779 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { in ConvertScalar_ExtractValue()
780 unsigned FromTypeSize = DL.getTypeAllocSize(FromType); in ConvertScalar_ExtractValue()
/external/clang/include/clang/Basic/
DDiagnostic.h1385 intptr_t FromType; member
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp391 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
392 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
394 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
636 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
638 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/external/v8/test/cctest/
Dtest-types.cc1940 HType htype1 = HType::FromType<Type>(type1); in HTypeFromType()
1941 HType htype2 = HType::FromType<Type>(type2); in HTypeFromType()