Home
last modified time | relevance | path

Searched refs:ToType (Results 1 – 18 of 18) sorted by relevance

/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DASTDiagnostic.cpp232 QualType ToType, bool PrintTree,
260 QualType ToType = in FormatASTNodeDiagnosticArgument() local
261 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); in FormatASTNodeDiagnosticArgument()
263 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
278 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
395 QualType ToType; member in __anon0d4a7d900111::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
508 FlatTree[CurrentNode].ToType = ToType; in SetNode()
[all …]
DASTImporter.cpp2097 QualType ToType = Importer.Import(From.getAsType()); in ImportTemplateArgument() local
2098 if (ToType.isNull()) in ImportTemplateArgument()
2100 return TemplateArgument(ToType); in ImportTemplateArgument()
2104 QualType ToType = Importer.Import(From.getIntegralType()); in ImportTemplateArgument() local
2105 if (ToType.isNull()) in ImportTemplateArgument()
2107 return TemplateArgument(From, ToType); in ImportTemplateArgument()
2118 QualType ToType = Importer.Import(From.getNullPtrType()); in ImportTemplateArgument() local
2119 if (ToType.isNull()) in ImportTemplateArgument()
2121 return TemplateArgument(ToType, /*isNullPtr*/true); in ImportTemplateArgument()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaOverload.cpp70 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
77 QualType &ToType,
82 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
263 QualType ToType = getToType(1); in isPointerConversionToVoidPointer() local
272 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer()
320 QualType ToType = getToType(1); in getNarrowingKind() local
329 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
331 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
337 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType)); in getNarrowingKind()
363 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
[all …]
DSemaExprCXX.cpp2481 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2491 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion()
2580 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
2586 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion()
2632 ToType.getNonReferenceType(), in PerformImplicitConversion()
2643 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, in PerformImplicitConversion()
2670 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
2684 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
2692 ToType, SCS.CopyConstructor, in PerformImplicitConversion()
2700 ToType, SCS.CopyConstructor, in PerformImplicitConversion()
[all …]
DSemaExceptionSpec.cpp736 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) in CheckExceptionSpecCompatibility() argument
740 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
DSemaCast.cpp1096 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local
1099 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast()
1103 ToType, FromType, in TryLValueToRValueCast()
DSemaTemplateDeduction.cpp3751 QualType ToType, in DeduceTemplateArguments() argument
3764 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments()
3827 if (ToType->isReferenceType()) in DeduceTemplateArguments()
DSemaExpr.cpp13006 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument
13007 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
/freebsd-10-stable/contrib/llvm/include/llvm-c/
DCore.h1623 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1624 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1625 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1626 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1627 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1628 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1629 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1630 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1631 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1632 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all …]
/freebsd-10-stable/contrib/llvm/lib/IR/
DCore.cpp976 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
978 unwrap(ToType))); in LLVMConstTrunc()
981 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
983 unwrap(ToType))); in LLVMConstSExt()
986 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
988 unwrap(ToType))); in LLVMConstZExt()
991 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
993 unwrap(ToType))); in LLVMConstFPTrunc()
996 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
998 unwrap(ToType))); in LLVMConstFPExt()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
DOverload.h513 Expr *FromExpr, QualType ToType) { in setBad() argument
515 Bad.init(Failure, FromExpr, ToType); in setBad()
520 QualType FromType, QualType ToType) { in setBad() argument
522 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h1935 TryImplicitConversion(Expr *From, QualType ToType,
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);
1961 bool CheckPointerConversion(Expr *From, QualType ToType,
[all …]
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp319 Value *ConvertScalar_ExtractValue(Value *NV, Type *ToType,
762 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
767 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
774 unsigned ToTypeSize = TD.getTypeAllocSize(ToType); in ConvertScalar_ExtractValue()
776 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
797 if (V->getType() != ToType) in ConvertScalar_ExtractValue()
798 V = Builder.CreateBitCast(V, ToType); in ConvertScalar_ExtractValue()
804 if (StructType *ST = dyn_cast<StructType>(ToType)) { in ConvertScalar_ExtractValue()
818 if (ArrayType *AT = dyn_cast<ArrayType>(ToType)) { in ConvertScalar_ExtractValue()
842 TD.getTypeStoreSizeInBits(ToType) - Offset; in ConvertScalar_ExtractValue()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/
DDiagnostic.cpp845 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic()
904 TDT.ToType)); in FormatDiagnostic()
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp1559 unsigned ToType; in SelectStoreVector() local
1561 ToType = NVPTX::PTXLdStInstCode::Float; in SelectStoreVector()
1563 ToType = NVPTX::PTXLdStInstCode::Unsigned; in SelectStoreVector()
1591 StOps.push_back(getI32Imm(ToType)); in SelectStoreVector()
/freebsd-10-stable/contrib/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp337 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree()
338 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
341 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree()
581 Type *ToType) const { in allowTruncateForTailCall()
582 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
DDiagnostic.h1341 intptr_t ToType; member
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGExpr.cpp2827 QualType ToType = getContext().getLValueReferenceType(E->getType()); in EmitCastLValue() local
2829 ConvertType(ToType)); in EmitCastLValue()