| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | 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 296 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind() 298 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind() 304 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType)); in getNarrowingKind() 330 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind() [all …]
|
| H A D | SemaExprCXX.cpp | 2515 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument 2525 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion() 2612 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument 2618 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion() 2664 ToType.getNonReferenceType(), in PerformImplicitConversion() 2675 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, in PerformImplicitConversion() 2702 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument 2716 assert(!ToType->isReferenceType()); in PerformImplicitConversion() 2724 /*FIXME:ConstructLoc*/ SourceLocation(), ToType, SCS.CopyConstructor, in PerformImplicitConversion() 2730 /*FIXME:ConstructLoc*/ SourceLocation(), ToType, SCS.CopyConstructor, in PerformImplicitConversion() [all …]
|
| H A D | SemaExceptionSpec.cpp | 772 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument 775 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
|
| H A D | SemaCast.cpp | 1117 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local 1120 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast() 1124 ToType, FromType, in TryLValueToRValueCast()
|
| H A D | SemaTemplateDeduction.cpp | 3745 QualType ToType, in DeduceTemplateArguments() argument 3758 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments() 3821 if (ToType->isReferenceType()) in DeduceTemplateArguments()
|
| H A D | SemaExpr.cpp | 13637 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument 13638 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 252 QualType ToType, bool PrintTree, 277 QualType ToType = in FormatASTNodeDiagnosticArgument() local 278 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); in FormatASTNodeDiagnosticArgument() 280 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument() 295 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument() 421 QualType ToType; member in __anon265222710111::TemplateDiff 466 QualType FromType, ToType; member 502 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode() 537 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument 539 FlatTree[CurrentNode].ToType = ToType; in SetNode() [all …]
|
| H A D | ASTImporter.cpp | 2082 QualType ToType = Importer.Import(From.getAsType()); in ImportTemplateArgument() local 2083 if (ToType.isNull()) in ImportTemplateArgument() 2085 return TemplateArgument(ToType); in ImportTemplateArgument() 2089 QualType ToType = Importer.Import(From.getIntegralType()); in ImportTemplateArgument() local 2090 if (ToType.isNull()) in ImportTemplateArgument() 2092 return TemplateArgument(From, ToType); in ImportTemplateArgument() 2097 QualType ToType = Importer.Import(From.getParamTypeForDecl()); in ImportTemplateArgument() local 2098 if (!To || ToType.isNull()) in ImportTemplateArgument() 2100 return TemplateArgument(To, ToType); in ImportTemplateArgument() 2104 QualType ToType = Importer.Import(From.getNullPtrType()); in ImportTemplateArgument() local [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm-c/ |
| H A D | Core.h | 1712 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1713 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1714 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1715 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1716 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1717 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1718 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1719 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1720 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType); 1721 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType); [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Core.cpp | 1169 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument 1171 unwrap(ToType))); in LLVMConstTrunc() 1174 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument 1176 unwrap(ToType))); in LLVMConstSExt() 1179 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument 1181 unwrap(ToType))); in LLVMConstZExt() 1184 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument 1186 unwrap(ToType))); in LLVMConstFPTrunc() 1189 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument 1191 unwrap(ToType))); in LLVMConstFPExt() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Sema/ |
| H A D | 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()
|
| H A D | Sema.h | 2087 TryImplicitConversion(Expr *From, QualType ToType, 2094 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType); 2095 bool IsFloatingPointPromotion(QualType FromType, QualType ToType); 2096 bool IsComplexPromotion(QualType FromType, QualType ToType); 2097 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType, 2100 bool isObjCPointerConversion(QualType FromType, QualType ToType, 2102 bool isObjCWritebackConversion(QualType FromType, QualType ToType, 2104 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 2110 QualType FromType, QualType ToType); 2113 bool CheckPointerConversion(Expr *From, QualType ToType, [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | 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 …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 852 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic() 910 TDT.ToType)); in FormatDiagnostic()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 372 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() 373 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree() 376 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree() 616 Type *ToType) const { in allowTruncateForTailCall() 617 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1379 intptr_t ToType; member
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelDAGToDAG.cpp | 2264 unsigned ToType; in SelectStoreVector() local 2266 ToType = NVPTX::PTXLdStInstCode::Float; in SelectStoreVector() 2268 ToType = NVPTX::PTXLdStInstCode::Unsigned; in SelectStoreVector() 2296 StOps.push_back(getI32Imm(ToType)); in SelectStoreVector()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 3023 QualType ToType = getContext().getLValueReferenceType(E->getType()); in EmitCastLValue() local 3025 ConvertType(ToType)); in EmitCastLValue()
|