Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaOverload.cpp71 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
78 QualType &ToType,
83 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
230 QualType ToType = getToType(1); in isPointerConversionToVoidPointer() local
239 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer()
287 QualType ToType = getToType(1); in getNarrowingKind() local
307 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
309 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
315 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType)); in getNarrowingKind()
341 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
[all …]
HDSemaExprCXX.cpp2858 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2868 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion()
2959 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
2965 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion()
3011 ToType.getNonReferenceType(), in PerformImplicitConversion()
3022 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, in PerformImplicitConversion()
3049 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
3063 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
3071 /*FIXME:ConstructLoc*/ SourceLocation(), ToType, SCS.CopyConstructor, in PerformImplicitConversion()
3077 /*FIXME:ConstructLoc*/ SourceLocation(), ToType, SCS.CopyConstructor, in PerformImplicitConversion()
[all …]
HDSemaExceptionSpec.cpp778 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument
781 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
HDSemaCast.cpp1153 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local
1156 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast()
1160 ToType, FromType, in TryLValueToRValueCast()
HDSemaTemplateDeduction.cpp3720 QualType ToType, in DeduceTemplateArguments() argument
3733 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments()
3796 if (ToType->isReferenceType()) in DeduceTemplateArguments()
HDSemaExpr.cpp14159 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument
14160 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTDiagnostic.cpp263 QualType ToType, bool PrintTree,
288 QualType ToType = in FormatASTNodeDiagnosticArgument() local
289 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); in FormatASTNodeDiagnosticArgument()
291 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
306 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
432 QualType ToType; member in __anon4149a5770111::TemplateDiff
477 QualType FromType, ToType; member
513 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode()
548 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument
550 FlatTree[CurrentNode].ToType = ToType; in SetNode()
[all …]
HDASTImporter.cpp2158 QualType ToType = Importer.Import(From.getAsType()); in ImportTemplateArgument() local
2159 if (ToType.isNull()) in ImportTemplateArgument()
2161 return TemplateArgument(ToType); in ImportTemplateArgument()
2165 QualType ToType = Importer.Import(From.getIntegralType()); in ImportTemplateArgument() local
2166 if (ToType.isNull()) in ImportTemplateArgument()
2168 return TemplateArgument(From, ToType); in ImportTemplateArgument()
2173 QualType ToType = Importer.Import(From.getParamTypeForDecl()); in ImportTemplateArgument() local
2174 if (!To || ToType.isNull()) in ImportTemplateArgument()
2176 return TemplateArgument(To, ToType); in ImportTemplateArgument()
2180 QualType ToType = Importer.Import(From.getNullPtrType()); in ImportTemplateArgument() local
[all …]
/NextBSD/contrib/llvm/include/llvm-c/
HDCore.h1720 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1721 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1722 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1723 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1724 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1725 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1726 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1727 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1728 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1729 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all …]
/NextBSD/contrib/llvm/lib/IR/
HDCore.cpp1180 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1182 unwrap(ToType))); in LLVMConstTrunc()
1185 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1187 unwrap(ToType))); in LLVMConstSExt()
1190 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1192 unwrap(ToType))); in LLVMConstZExt()
1195 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1197 unwrap(ToType))); in LLVMConstFPTrunc()
1200 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1202 unwrap(ToType))); in LLVMConstFPExt()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDOverload.h498 Expr *FromExpr, QualType ToType) { in setBad() argument
500 Bad.init(Failure, FromExpr, ToType); in setBad()
505 QualType FromType, QualType ToType) { in setBad() argument
507 Bad.init(Failure, FromType, ToType); in setBad()
HDSema.h2151 TryImplicitConversion(Expr *From, QualType ToType,
2158 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2159 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2160 bool IsComplexPromotion(QualType FromType, QualType ToType);
2161 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2164 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2166 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2168 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2174 QualType FromType, QualType ToType);
2178 bool CheckPointerConversion(Expr *From, QualType ToType,
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDScalarReplAggregates.cpp325 Value *ConvertScalar_ExtractValue(Value *NV, Type *ToType,
769 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
774 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
781 unsigned ToTypeSize = DL.getTypeAllocSize(ToType); in ConvertScalar_ExtractValue()
783 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
804 if (V->getType() != ToType) in ConvertScalar_ExtractValue()
805 V = Builder.CreateBitCast(V, ToType); in ConvertScalar_ExtractValue()
811 if (StructType *ST = dyn_cast<StructType>(ToType)) { in ConvertScalar_ExtractValue()
825 if (ArrayType *AT = dyn_cast<ArrayType>(ToType)) { in ConvertScalar_ExtractValue()
850 DL.getTypeStoreSizeInBits(ToType) - Offset; in ConvertScalar_ExtractValue()
[all …]
/NextBSD/contrib/compiler-rt/lib/ubsan/
HDubsan_handlers.h103 const TypeDescriptor &ToType; member
HDubsan_handlers.cc302 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in handleFloatCastOverflow()
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDDiagnostic.cpp866 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic()
924 TDT.ToType)); in FormatDiagnostic()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDDiagnostic.h1394 intptr_t ToType; member
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXISelDAGToDAG.cpp2259 unsigned ToType; in SelectStoreVector() local
2261 ToType = NVPTX::PTXLdStInstCode::Float; in SelectStoreVector()
2263 ToType = NVPTX::PTXLdStInstCode::Unsigned; in SelectStoreVector()
2291 StOps.push_back(getI32Imm(ToType, DL)); in SelectStoreVector()
/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZISelLowering.cpp528 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree()
529 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
532 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree()
774 Type *ToType) const { in allowTruncateForTailCall()
775 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExpr.cpp3070 QualType ToType = getContext().getLValueReferenceType(E->getType()); in EmitCastLValue() local
3072 ConvertType(ToType)); in EmitCastLValue()