Searched refs:ToType (Results 1 - 21 of 21) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTDiagnostic.cpp319 QualType ToType, bool PrintTree,
373 QualType ToType = local
374 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType));
376 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
391 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
623 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, argument
628 FlatTree[CurrentNode].ToArgInfo.ArgType = ToType;
788 void GetTypeDiff(QualType &FromType, QualType &ToType) { argument
791 ToType = FlatTree[ReadNode].ToArgInfo.ArgType;
1111 QualType ToType,
1110 OnlyPerformTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, const TemplateSpecializationType *&FromArgTST, const TemplateSpecializationType *&ToArgTST) argument
1135 QualType ToType = GetType(ToIter); local
1471 QualType FromType, ToType; local
1627 PrintTypeNames(QualType FromType, QualType ToType, bool FromDefault, bool ToDefault, bool Same) argument
2008 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument
2072 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument
[all...]
H A DASTImporter.cpp3561 QualType ToType; local
3570 ToType, ToTInfo, ToBitWidth, ToInnerLocStart, ToInitializer) = *Imp;
3577 ToType, ToTInfo, ToBitWidth, D->isMutable(),
3763 QualType ToType; local
3769 std::tie(ToType, ToTypeSourceInfo, ToBitWidth, ToInnerLocStart) = *Imp;
3777 ToType, ToTypeSourceInfo,
3885 QualType ToType; local
3892 std::tie(ToType, ToTypeSourceInfo, ToInnerLocStart, ToQualifierLoc) = *Imp;
3901 ToType, ToTypeSourceInfo,
3939 QualType ToType; local
3983 QualType ToType; local
4981 QualType ToType; local
5171 QualType ToType; local
6391 QualType ToType; local
6410 QualType ToType; local
6447 QualType ToType; local
6465 QualType ToType; local
6624 QualType ToType; local
6640 QualType ToType; local
6661 QualType ToType; local
6723 QualType ToType; local
6739 QualType ToType; local
6784 QualType ToType; local
6802 QualType ToType; local
6821 QualType ToType; local
6842 QualType ToType; local
6860 QualType ToType; local
6875 QualType ToType; local
6891 QualType ToType; local
6908 QualType ToType, ToComputationLHSType, ToComputationResultType; local
7103 QualType ToType; local
7183 QualType ToType; local
7305 QualType ToType; local
7388 QualType ToType; local
7437 QualType ToType; local
7717 QualType ToType; local
7785 QualType ToType; local
7846 QualType ToType; local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h114 const TypeDescriptor &ToType; member in struct:__ubsan::FloatCastOverflowData
120 const TypeDescriptor &ToType; member in struct:__ubsan::FloatCastOverflowDataV2
148 const TypeDescriptor &ToType; member in struct:__ubsan::ImplicitConversionData
H A Dubsan_handlers.cpp442 const TypeDescriptor *FromType, *ToType; local
450 ToType = &Data->ToType;
458 ToType = &Data->ToType;
465 << Value(*FromType, From) << *FromType << *ToType;
518 const TypeDescriptor &DstTy = Data->ToType;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp79 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
86 QualType &ToType,
91 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
247 QualType ToType = getToType(1);
256 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
315 QualType ToType = getToType(1);
320 if (auto *ET = ToType->getAs<EnumType>())
321 ToType = ET->getDecl()->getIntegerType();
342 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
345 ToType
[all...]
H A DSemaExprCXX.cpp3691 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) {
3701 if (const PointerType *ToPtrType = ToType->getAs<PointerType>())
3787 /// expression From to the type ToType using the pre-computed implicit
3792 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
3802 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard,
3846 *this, From->getBeginLoc(), ToType.getNonReferenceType(), CastKind,
3861 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After,
3876 DiagnoseAssignmentResult(Incompatible, From->getExprLoc(), ToType,
3887 /// expression From to the type ToType by following the standard
3892 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
[all...]
H A DSemaCast.cpp1310 QualType ToType = R->getPointeeType(); local
1313 ToType = ToType.getUnqualifiedType();
1318 SrcExpr->getBeginLoc(), ToType, FromType, &RefConv);
H A DSemaExceptionSpec.cpp907 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { argument
910 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType);
H A DSemaTemplateDeduction.cpp4210 QualType ToType,
4223 QualType A = Context.getCanonicalType(ToType);
4295 if (ToType->isReferenceType())
H A DSemaExpr.cpp10577 static bool checkThreeWayNarrowingConversion(Sema &S, QualType ToType, Expr *E, argument
10584 SCS.setToType(1, ToType);
10604 << PreNarrowingValue.getAsString(S.Context, PreNarrowingType) << ToType;
10612 << /*Constant*/ 0 << FromType << ToType; local
17920 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { argument
17921 return RebuildUnknownAnyExpr(*this, ToType).Visit(E);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h2108 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2109 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2110 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2111 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2112 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2113 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2114 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2115 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2116 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2117 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp1661 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1663 unwrap(ToType)));
1666 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1668 unwrap(ToType)));
1671 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1673 unwrap(ToType)));
1676 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1678 unwrap(ToType)));
1681 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1683 unwrap(ToType)));
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h317 /// ToType - The types that this conversion is converting to in
641 Expr *FromExpr, QualType ToType) {
643 Bad.init(Failure, FromExpr, ToType);
648 QualType FromType, QualType ToType) {
650 Bad.init(Failure, FromType, ToType);
640 setBad(BadConversionSequence::FailureKind Failure, Expr *FromExpr, QualType ToType) argument
647 setBad(BadConversionSequence::FailureKind Failure, QualType FromType, QualType ToType) argument
H A DSema.h2957 TryImplicitConversion(Expr *From, QualType ToType,
2964 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2965 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2966 bool IsComplexPromotion(QualType FromType, QualType ToType);
2967 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2970 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2972 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2974 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2980 QualType FromType, QualType ToType);
2984 bool CheckPointerConversion(Expr *From, QualType ToType,
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp500 APSIntType ToType(getContext().getTypeSize(castTy),
502 llvm::APSInt ToTypeMax = ToType.getMaxValue();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp1003 TDT.ToType = getRawArg(ArgNo2);
1061 TDT.ToType));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp1904 unsigned ToType;
1906 ToType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped
1909 ToType = NVPTX::PTXLdStInstCode::Unsigned;
1940 ToType = NVPTX::PTXLdStInstCode::Untyped;
1947 StOps.push_back(getI32Imm(ToType, DL));
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h1583 intptr_t ToType;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp459 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, argument
461 auto ToMVT = MVT::getVT(ToType);
482 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, argument
484 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType);
485 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType},
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp962 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const {
963 if (!FromType->isIntegerTy() || !ToType->isIntegerTy())
966 unsigned ToBits = ToType->getPrimitiveSizeInBits();
1242 Type *ToType) const {
1243 return isTruncateFree(FromType, ToType);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1365 EVT ToType = V.getValueType(); local
1367 if (FromType != MVT::i64 || ToType != MVT::i32)
1373 const unsigned NumValidBits = ToType.getSizeInBits();

Completed in 452 milliseconds