Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaOverload.cpp72 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
79 QualType &ToType,
84 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
237 QualType ToType = getToType(1); in isPointerConversionToVoidPointer() local
246 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer()
294 QualType ToType = getToType(1); in getNarrowingKind() local
314 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
316 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
322 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType)); in getNarrowingKind()
348 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
[all …]
DSemaExprCXX.cpp2875 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2885 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion()
2976 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
2982 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion()
3028 ToType.getNonReferenceType(), in PerformImplicitConversion()
3039 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, in PerformImplicitConversion()
3066 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
3080 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
3088 /*FIXME:ConstructLoc*/ SourceLocation(), ToType, SCS.CopyConstructor, in PerformImplicitConversion()
3094 /*FIXME:ConstructLoc*/ SourceLocation(), ToType, SCS.CopyConstructor, in PerformImplicitConversion()
[all …]
DSemaExceptionSpec.cpp797 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { in CheckExceptionSpecCompatibility() argument
800 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
DSemaCast.cpp1154 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local
1157 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast()
1161 ToType, FromType, in TryLValueToRValueCast()
DSemaTemplateDeduction.cpp3770 QualType ToType, in DeduceTemplateArguments() argument
3783 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments()
3846 if (ToType->isReferenceType()) in DeduceTemplateArguments()
DSemaExpr.cpp14404 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument
14405 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
/external/clang/lib/AST/
DASTDiagnostic.cpp316 QualType ToType, bool PrintTree,
341 QualType ToType = in FormatASTNodeDiagnosticArgument() local
342 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); in FormatASTNodeDiagnosticArgument()
344 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
359 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
483 QualType ToType; member in __anon9da9a8600111::TemplateDiff
528 QualType FromType, ToType; member
564 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr), in DiffNode()
599 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument
601 FlatTree[CurrentNode].ToType = ToType; in SetNode()
[all …]
DASTImporter.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 …]
/external/llvm/include/llvm-c/
DCore.h1631 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1632 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1633 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1634 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1635 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1636 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1637 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1638 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1639 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1640 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all …]
/external/llvm/lib/IR/
DCore.cpp1185 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1187 unwrap(ToType))); in LLVMConstTrunc()
1190 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1192 unwrap(ToType))); in LLVMConstSExt()
1195 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1197 unwrap(ToType))); in LLVMConstZExt()
1200 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1202 unwrap(ToType))); in LLVMConstFPTrunc()
1205 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1207 unwrap(ToType))); in LLVMConstFPExt()
[all …]
/external/webrtc/talk/session/media/
Dtypewrapping.h.pump109 typename unwrapper<fromType>::ToType
122 template <typename ToType, typename FromType> class Wrapper,
158 template <typename ToType, typename FromType> class Wrapper,
200 template<typename ToType, typename FromType> \
218 typedef FromType ToType; \
219 static FORCE_INLINE ToType Unwrap(FromType from) { \
241 typedef unwrappedType ToType; \
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc370 const TypeDescriptor *FromType, *ToType; in handleFloatCastOverflow() local
378 ToType = &Data->ToType; in handleFloatCastOverflow()
386 ToType = &Data->ToType; in handleFloatCastOverflow()
393 << Value(*FromType, From) << *FromType << *ToType; in handleFloatCastOverflow()
Dubsan_handlers.h104 const TypeDescriptor &ToType; member
110 const TypeDescriptor &ToType; member
/external/clang/include/clang/Sema/
DOverload.h501 Expr *FromExpr, QualType ToType) { in setBad() argument
503 Bad.init(Failure, FromExpr, ToType); in setBad()
508 QualType FromType, QualType ToType) { in setBad() argument
510 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h2200 TryImplicitConversion(Expr *From, QualType ToType,
2207 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2208 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2209 bool IsComplexPromotion(QualType FromType, QualType ToType);
2210 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2213 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2215 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2217 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2223 QualType FromType, QualType ToType);
2227 bool CheckPointerConversion(Expr *From, QualType ToType,
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp326 Value *ConvertScalar_ExtractValue(Value *NV, Type *ToType,
770 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
775 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
782 unsigned ToTypeSize = DL.getTypeAllocSize(ToType); in ConvertScalar_ExtractValue()
784 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
805 if (V->getType() != ToType) in ConvertScalar_ExtractValue()
806 V = Builder.CreateBitCast(V, ToType); in ConvertScalar_ExtractValue()
812 if (StructType *ST = dyn_cast<StructType>(ToType)) { in ConvertScalar_ExtractValue()
826 if (ArrayType *AT = dyn_cast<ArrayType>(ToType)) { in ConvertScalar_ExtractValue()
851 DL.getTypeStoreSizeInBits(ToType) - Offset; in ConvertScalar_ExtractValue()
[all …]
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dast.py476 def ToType(self, tokens): member in TypeConverter
509 AddType(self.ToType(new_tokens))
568 templated_types = self.ToType(templated_tokens)
1375 new_type = self.converter.ToType(tokens)[0]
1468 bases_ast = self.converter.ToType(base)
/external/gmock/test/
Dgmock-actions_test.cc530 class ToType { class
533 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType() function in __anon3bc9d1e20111::ToType
539 Action<ToType()> action(Return(x)); in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc530 class ToType { class
533 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType() function in __anon4e31d9990111::ToType
539 Action<ToType()> action(Return(x)); in TEST()
/external/clang/lib/Basic/
DDiagnostic.cpp866 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic()
924 TDT.ToType)); in FormatDiagnostic()
/external/clang/include/clang/Basic/
DDiagnostic.h1392 intptr_t ToType; member
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp2314 unsigned ToType; in SelectStoreVector() local
2316 ToType = NVPTX::PTXLdStInstCode::Float; in SelectStoreVector()
2318 ToType = NVPTX::PTXLdStInstCode::Unsigned; in SelectStoreVector()
2346 StOps.push_back(getI32Imm(ToType, DL)); in SelectStoreVector()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp527 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree()
528 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
531 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree()
773 Type *ToType) const { in allowTruncateForTailCall()
774 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-port.h.orig1092 // ImplicitCast_<ToType>(expr)