Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DASTDiagnostic.cpp231 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
258 QualType FromType = in FormatASTNodeDiagnosticArgument() local
259 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); in FormatASTNodeDiagnosticArgument()
263 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
278 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
391 QualType FromType; member in __anon5a6d3d680111::TemplateDiff
440 QualType FromType, ToType; member
473 FromType(), ToType(), FromExpr(0), ToExpr(0), FromTD(0), ToTD(0), in DiffNode()
506 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument
507 FlatTree[CurrentNode].FromType = FromType; in SetNode()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaOverload.cpp262 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() local
269 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
271 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) in isPointerConversionToVoidPointer()
319 QualType FromType = getToType(0); in getNarrowingKind() local
329 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
331 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
363 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
364 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) { in getNarrowingKind()
394 if (!FromType->isIntegralOrUnscopedEnumerationType()) { in getNarrowingKind()
400 assert(FromType->isIntegralOrUnscopedEnumerationType()); in getNarrowingKind()
[all …]
DSemaExprCXX.cpp2680 QualType FromType = From->getType(); in PerformImplicitConversion() local
2708 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
2719 FromType = From->getType(); in PerformImplicitConversion()
2738 FromType = FromType.getUnqualifiedType(); in PerformImplicitConversion()
2746 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
2747 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
2752 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
2753 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion()
2784 assert(FromType->castAs<EnumType>()->getDecl()->isFixed() && in PerformImplicitConversion()
2902 FromType = Context.FloatTy; in PerformImplicitConversion()
[all …]
DSemaExprObjC.cpp3492 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
3500 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
3512 << FromType in BuildObjCBridgedCast()
3520 << FromType << br in BuildObjCBridgedCast()
3534 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
3546 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
3554 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
3555 << FromType in BuildObjCBridgedCast()
3574 << FromType << T << Kind in BuildObjCBridgedCast()
DSemaCast.cpp1095 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
1098 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1103 ToType, FromType, in TryLValueToRValueCast()
DSemaExpr.cpp2362 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
2367 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2369 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2373 FromRecordType = FromType; in PerformObjectMemberConversion()
2382 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2383 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2386 FromRecordType = FromType; in PerformObjectMemberConversion()
2394 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2444 FromType = QType; in PerformObjectMemberConversion()
2480 FromType = UType; in PerformObjectMemberConversion()
DSemaInit.cpp6495 QualType FromType = Args[0]->getType(); in Diagnose() local
6500 << FromType in Diagnose()
6502 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
DSemaTemplateDeduction.cpp3760 QualType FromType = ConversionGeneric->getConversionType(); in DeduceTemplateArguments() local
3763 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
/freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/
DNVPTX.h120 enum FromType { enum
DNVPTXISelDAGToDAG.cpp466 unsigned int FromType; in SelectLoadVector() local
471 FromType = NVPTX::PTXLdStInstCode::Signed; in SelectLoadVector()
473 FromType = NVPTX::PTXLdStInstCode::Float; in SelectLoadVector()
475 FromType = NVPTX::PTXLdStInstCode::Unsigned; in SelectLoadVector()
541 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
595 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
698 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
800 getI32Imm(VecType), getI32Imm(FromType), in SelectLoadVector()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DOverload.h520 QualType FromType, QualType ToType) { in setBad() argument
522 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h1942 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);
1965 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType,
1972 bool IsQualificationConversion(QualType FromType, QualType ToType,
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Basic/
DDiagnostic.cpp844 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
890 TDT.FromType)); in FormatDiagnostic()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp766 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue() local
767 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
772 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { in ConvertScalar_ExtractValue()
773 unsigned FromTypeSize = TD.getTypeAllocSize(FromType); in ConvertScalar_ExtractValue()
/freebsd-9-stable/contrib/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp337 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
338 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
340 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
580 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
582 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Basic/
DDiagnostic.h1340 intptr_t FromType; member