| /freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | ASTDiagnostic.cpp | 231 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/ |
| D | SemaOverload.cpp | 262 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 …]
|
| D | SemaExprCXX.cpp | 2680 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 …]
|
| D | SemaExprObjC.cpp | 3492 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()
|
| D | SemaCast.cpp | 1095 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local 1098 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast() 1103 ToType, FromType, in TryLValueToRValueCast()
|
| D | SemaExpr.cpp | 2362 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()
|
| D | SemaInit.cpp | 6495 QualType FromType = Args[0]->getType(); in Diagnose() local 6500 << FromType in Diagnose() 6502 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
|
| D | SemaTemplateDeduction.cpp | 3760 QualType FromType = ConversionGeneric->getConversionType(); in DeduceTemplateArguments() local 3763 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/ |
| D | NVPTX.h | 120 enum FromType { enum
|
| D | NVPTXISelDAGToDAG.cpp | 466 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/ |
| D | Overload.h | 520 QualType FromType, QualType ToType) { in setBad() argument 522 Bad.init(Failure, FromType, ToType); in setBad()
|
| D | Sema.h | 1942 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/ |
| D | Diagnostic.cpp | 844 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic() 890 TDT.FromType)); in FormatDiagnostic()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | ScalarReplAggregates.cpp | 766 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/ |
| D | SystemZISelLowering.cpp | 337 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/ |
| D | Diagnostic.h | 1340 intptr_t FromType; member
|