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

/freebsd-13-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
2009 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument
2073 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument
[all...]
H A DASTImporter.cpp3556 auto ToType = importChecked(Err, D->getType()); local
3567 ToType, ToTInfo, ToBitWidth, D->isMutable(),
3814 auto ToType = importChecked(Err, D->getType());
3825 ToType, ToTypeSourceInfo,
3934 auto ToType = importChecked(Err, D->getType());
3946 ToType, ToTypeSourceInfo,
3992 auto ToType = importChecked(Err, D->getType());
4000 ToType, D->getParameterKind()))
4036 auto ToType = importChecked(Err, D->getType());
4044 ToDeclName.getAsIdentifierInfo(), ToType,
[all...]
/freebsd-13-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.cpp485 const TypeDescriptor *FromType, *ToType; local
493 ToType = &Data->ToType;
501 ToType = &Data->ToType;
508 << Value(*FromType, From) << *FromType << *ToType;
561 const TypeDescriptor &DstTy = Data->ToType;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp83 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
90 QualType &ToType,
95 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
249 QualType ToType = getToType(1);
258 if (const PointerType* ToPtrType = ToType->getAs<PointerType>())
317 QualType ToType = getToType(1);
322 if (auto *ET = ToType->getAs<EnumType>())
323 ToType = ET->getDecl()->getIntegerType();
343 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
346 ToType
[all...]
H A DSemaExprCXX.cpp3829 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) {
3839 if (const PointerType *ToPtrType = ToType->getAs<PointerType>())
3925 /// expression From to the type ToType using the pre-computed implicit
3930 Sema::PerformImplicitConversion(Expr *From, QualType ToType,
3940 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard,
3984 *this, From->getBeginLoc(), ToType.getNonReferenceType(), CastKind,
3999 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After,
4014 CheckAssignmentConstraints(From->getExprLoc(), ToType, From->getType());
4017 ToType, From->getType(), From, Action);
4027 /// expression From to the type ToType b
[all...]
H A DSemaCast.cpp165 void CheckNoDeref(Sema &S, const QualType FromType, const QualType ToType, argument
169 if (const auto *DestType = dyn_cast<PointerType>(ToType)) {
1367 QualType ToType = R->getPointeeType(); local
1370 ToType = ToType.getUnqualifiedType();
1375 SrcExpr->getBeginLoc(), ToType, FromType, &RefConv);
H A DSemaExceptionSpec.cpp915 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { argument
918 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType);
H A DSemaTemplateDeduction.cpp4352 QualType ToType,
4365 QualType A = Context.getCanonicalType(ToType);
4437 if (ToType->isReferenceType())
4351 DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, QualType ToType, CXXConversionDecl *&Specialization, TemplateDeductionInfo &Info) argument
H A DSemaExpr.cpp8622 QualType ToType) {
8624 dyn_cast<FunctionType>(S.Context.getCanonicalType(ToType))) {
11226 static bool checkThreeWayNarrowingConversion(Sema &S, QualType ToType, Expr *E, argument
11233 SCS.setToType(1, ToType);
11253 << PreNarrowingValue.getAsString(S.Context, PreNarrowingType) << ToType;
11261 << /*Constant*/ 0 << FromType << ToType; local
18931 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { argument
18932 return RebuildUnknownAnyExpr(*this, ToType).Visit(E);
8621 IsInvalidCmseNSCallConversion(Sema &S, QualType FromType, QualType ToType) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h2116 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2117 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2118 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2119 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2120 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2121 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2122 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2123 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2124 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2125 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp1670 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1672 unwrap(ToType)));
1675 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1677 unwrap(ToType)));
1680 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1682 unwrap(ToType)));
1685 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1687 unwrap(ToType)));
1690 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1692 unwrap(ToType)));
[all...]
/freebsd-13-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.h3126 TryImplicitConversion(Expr *From, QualType ToType,
3133 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
3134 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
3135 bool IsComplexPromotion(QualType FromType, QualType ToType);
3136 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
3139 bool isObjCPointerConversion(QualType FromType, QualType ToType,
3141 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
3143 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
3149 QualType FromType, QualType ToType);
3153 bool CheckPointerConversion(Expr *From, QualType ToType,
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp500 APSIntType ToType(getContext().getTypeSize(castTy),
502 llvm::APSInt ToTypeMax = ToType.getMaxValue();
/freebsd-13-stable/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dast.py477 def ToType(self, tokens): member in class:TypeConverter
511 AddType(self.ToType(new_tokens))
570 templated_types = self.ToType(templated_tokens)
1388 new_type = self.converter.ToType(tokens)[0]
1481 bases_ast = self.converter.ToType(base)
/freebsd-13-stable/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc605 class ToType { class in namespace:__anon794
608 ToType(const FromType& x) { *x.converted() = true; } // NOLINT function in class:__anon794::ToType
614 Action<ToType()> action(Return(x));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp1009 TDT.ToType = getRawArg(ArgNo2);
1067 TDT.ToType));
/freebsd-13-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-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h1610 intptr_t ToType;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp601 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, argument
603 auto ToMVT = MVT::getVT(ToType);
624 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, argument
626 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType);
627 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType},
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h737 using ToType = typename std::remove_cv<typename std::remove_pointer<
745 std::is_same<FromType, ToType>::value ||
746 !std::is_base_of<FromType, ToType>::value,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1380 EVT ToType = V.getValueType(); local
1382 if (FromType != MVT::i64 || ToType != MVT::i32)
1388 const unsigned NumValidBits = ToType.getSizeInBits();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp981 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const {
982 if (!FromType->isIntegerTy() || !ToType->isIntegerTy())
985 unsigned ToBits = ToType->getPrimitiveSizeInBits();
1282 Type *ToType) const {
1283 return isTruncateFree(FromType, ToType);

Completed in 667 milliseconds