Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTDiagnostic.cpp252 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()
425 QualType ToType; member in __anon910c3b370111::TemplateDiff
470 QualType FromType, ToType; member
503 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 …]
DASTImporter.cpp2082 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()
2103 QualType ToType = Importer.Import(From.getNullPtrType()); in ImportTemplateArgument() local
2104 if (ToType.isNull()) in ImportTemplateArgument()
2106 return TemplateArgument(ToType, /*isNullPtr*/true); in ImportTemplateArgument()
/external/clang/lib/Sema/
DSemaOverload.cpp71 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
78 QualType &ToType,
83 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
264 QualType ToType = getToType(1); in isPointerConversionToVoidPointer() local
273 if (const PointerType* ToPtrType = ToType->getAs<PointerType>()) in isPointerConversionToVoidPointer()
321 QualType ToType = getToType(1); in getNarrowingKind() local
330 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
332 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
338 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType)); in getNarrowingKind()
364 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
[all …]
DSemaExprCXX.cpp2504 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2514 if (const PointerType *ToPtrType = ToType->getAs<PointerType>()) in IsStringLiteralToNonConstPointerConversion()
2601 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
2607 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion()
2653 ToType.getNonReferenceType(), in PerformImplicitConversion()
2664 return PerformImplicitConversion(From, ToType, ICS.UserDefined.After, in PerformImplicitConversion()
2691 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
2705 assert(!ToType->isReferenceType()); in PerformImplicitConversion()
2713 ToType, SCS.CopyConstructor, in PerformImplicitConversion()
2721 ToType, SCS.CopyConstructor, in PerformImplicitConversion()
[all …]
DSemaExceptionSpec.cpp750 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) in CheckExceptionSpecCompatibility() argument
754 const FunctionProtoType *ToFunc = GetUnderlyingFunction(ToType); in CheckExceptionSpecCompatibility()
DSemaCast.cpp1107 QualType ToType = R->getPointeeType(); in TryLValueToRValueCast() local
1110 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast()
1114 ToType, FromType, in TryLValueToRValueCast()
DSemaTemplateDeduction.cpp3744 QualType ToType, in DeduceTemplateArguments() argument
3757 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments()
3820 if (ToType->isReferenceType()) in DeduceTemplateArguments()
DSemaExpr.cpp13363 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType() argument
13364 return RebuildUnknownAnyExpr(*this, ToType).Visit(E); in forceUnknownAnyToType()
/external/llvm/include/llvm-c/
DCore.h1670 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1671 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1672 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1673 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1674 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1675 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1676 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1677 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1678 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
1679 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSRule.h115 #define DEFINE_CSS_RULE_TYPE_CASTS(ToType, TYPE_NAME) \ argument
116 …DEFINE_TYPE_CASTS(ToType, CSSRule, rule, rule->type() == CSSRule::TYPE_NAME, rule.type() == CSSRul…
/external/chromium_org/mojo/system/
Dmemory.h114 template <typename ToType>
115 UserPointer<ToType> ReinterpretCast() const {
116 return UserPointer<ToType>(reinterpret_cast<ToType*>(pointer_));
/external/llvm/lib/IR/
DCore.cpp1038 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1040 unwrap(ToType))); in LLVMConstTrunc()
1043 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1045 unwrap(ToType))); in LLVMConstSExt()
1048 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1050 unwrap(ToType))); in LLVMConstZExt()
1053 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1055 unwrap(ToType))); in LLVMConstFPTrunc()
1058 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1060 unwrap(ToType))); in LLVMConstFPExt()
[all …]
/external/chromium_org/third_party/libjingle/source/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/clang/include/clang/Sema/
DOverload.h513 Expr *FromExpr, QualType ToType) { in setBad() argument
515 Bad.init(Failure, FromExpr, ToType); in setBad()
520 QualType FromType, QualType ToType) { in setBad() argument
522 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h2057 TryImplicitConversion(Expr *From, QualType ToType,
2064 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
2065 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
2066 bool IsComplexPromotion(QualType FromType, QualType ToType);
2067 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
2070 bool isObjCPointerConversion(QualType FromType, QualType ToType,
2072 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
2074 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
2080 QualType FromType, QualType ToType);
2083 bool CheckPointerConversion(Expr *From, QualType ToType,
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp320 Value *ConvertScalar_ExtractValue(Value *NV, Type *ToType,
764 ConvertScalar_ExtractValue(Value *FromVal, Type *ToType, in ConvertScalar_ExtractValue() argument
769 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
776 unsigned ToTypeSize = DL.getTypeAllocSize(ToType); in ConvertScalar_ExtractValue()
778 return Builder.CreateBitCast(FromVal, ToType); in ConvertScalar_ExtractValue()
799 if (V->getType() != ToType) in ConvertScalar_ExtractValue()
800 V = Builder.CreateBitCast(V, ToType); in ConvertScalar_ExtractValue()
806 if (StructType *ST = dyn_cast<StructType>(ToType)) { in ConvertScalar_ExtractValue()
820 if (ArrayType *AT = dyn_cast<ArrayType>(ToType)) { in ConvertScalar_ExtractValue()
845 DL.getTypeStoreSizeInBits(ToType) - Offset; in ConvertScalar_ExtractValue()
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.h101 const TypeDescriptor &ToType; member
Dubsan_handlers.cc236 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in __ubsan_handle_float_cast_overflow()
243 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in __ubsan_handle_float_cast_overflow_abort()
/external/clang/lib/Basic/
DDiagnostic.cpp836 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic()
894 TDT.ToType)); in FormatDiagnostic()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp2030 unsigned ToType; in SelectStoreVector() local
2032 ToType = NVPTX::PTXLdStInstCode::Float; in SelectStoreVector()
2034 ToType = NVPTX::PTXLdStInstCode::Unsigned; in SelectStoreVector()
2062 StOps.push_back(getI32Imm(ToType)); in SelectStoreVector()
/external/clang/include/clang/Basic/
DDiagnostic.h1378 intptr_t ToType; member
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp368 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree()
369 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
372 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree()
612 Type *ToType) const { in allowTruncateForTailCall()
613 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/external/chromium_org/v8/src/
Dhydrogen.cc4513 Type* HOptimizedGraphBuilder::ToType(Handle<Map> map) { in ToType() function in v8::internal::HOptimizedGraphBuilder
5618 PropertyAccessInfo info(this, STORE, ToType(map), name); in VisitObjectLiteral()
6072 if (!CanInlinePropertyAccess(ToType(map))) { in LookupInPrototypes()
6121 DCHECK(type_->Is(ToType(types->first()))); in CanAccessAsMonomorphic()
6130 builder_, access_type_, ToType(types->at(i)), name_); in CanAccessAsMonomorphic()
6149 builder_, access_type_, ToType(types->at(i)), name_); in CanAccessAsMonomorphic()
6269 PropertyAccessInfo info(this, access_type, ToType(types->at(i)), name); in HandlePolymorphicNamedFieldAccess()
6293 PropertyAccessInfo info(this, access_type, ToType(types->at(i)), name); in HandlePolymorphicNamedFieldAccess()
7305 PropertyAccessInfo info(this, access, ToType(types->first()), name); in BuildNamedAccess()
7526 PropertyAccessInfo info(this, LOAD, ToType(types->at(i)), name); in HandlePolymorphicCallNamed()
[all …]
Dhydrogen.h2300 Type* ToType(Handle<Map> map);
2512 Type* ToType(Handle<Map> map) { return builder_->ToType(map); } in ToType() function
/external/clang/lib/CodeGen/
DCGExpr.cpp2902 QualType ToType = getContext().getLValueReferenceType(E->getType()); in EmitCastLValue() local
2904 ConvertType(ToType)); in EmitCastLValue()