| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaOverload.cpp | 71 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 …]
|
| HD | SemaExprCXX.cpp | 2858 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 …]
|
| HD | SemaExceptionSpec.cpp | 778 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument 781 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
|
| HD | SemaCast.cpp | 1153 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local 1156 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast() 1160 ToType, FromType, in TryLValueToRValueCast()
|
| HD | SemaTemplateDeduction.cpp | 3720 QualType ToType, in DeduceTemplateArguments() argument 3733 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments() 3796 if (ToType->isReferenceType()) in DeduceTemplateArguments()
|
| HD | SemaExpr.cpp | 14159 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/ |
| HD | ASTDiagnostic.cpp | 263 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 …]
|
| HD | ASTImporter.cpp | 2158 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/ |
| HD | Core.h | 1720 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/ |
| HD | Core.cpp | 1180 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/ |
| HD | Overload.h | 498 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()
|
| HD | Sema.h | 2151 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/ |
| HD | ScalarReplAggregates.cpp | 325 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/ |
| HD | ubsan_handlers.h | 103 const TypeDescriptor &ToType; member
|
| HD | ubsan_handlers.cc | 302 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in handleFloatCastOverflow()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | Diagnostic.cpp | 866 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic() 924 TDT.ToType)); in FormatDiagnostic()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | Diagnostic.h | 1394 intptr_t ToType; member
|
| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | NVPTXISelDAGToDAG.cpp | 2259 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/ |
| HD | SystemZISelLowering.cpp | 528 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/ |
| HD | CGExpr.cpp | 3070 QualType ToType = getContext().getLValueReferenceType(E->getType()); in EmitCastLValue() local 3072 ConvertType(ToType)); in EmitCastLValue()
|