/external/skia/gm/ |
H A D | xfermodes.cpp | 47 enum SrcType { enum 158 void draw_mode(SkCanvas* canvas, SkXfermode* mode, SrcType srcType, 299 draw_mode(canvas, mode, static_cast<SrcType>(sourceType),
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_compiler_util.c | 364 unsigned int SrcType; member in struct:src_select 385 select->SrcType = src_type; 484 unsigned int src_type = d.Selects[i].SrcType; 488 src_type &= ~d.Selects[j].SrcType;
|
/external/clang/lib/Sema/ |
H A D | Sema.cpp | 353 QualType SrcType, 355 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); 363 Diag(Loc, diag::warn_nullability_lost) << SrcType << DstType; 352 diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType, SourceLocation Loc) argument
|
H A D | SemaCast.cpp | 167 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 173 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType, 181 QualType SrcType, 477 /// CastsAwayConstness - Check if the pointer conversion from SrcType to 486 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, argument 501 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || 502 SrcType->isBlockPointerType()) && 508 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), 622 QualType SrcType local 748 QualType SrcType = SrcExpr->getType(); local 1226 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1260 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, SourceRange OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1375 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1547 QualType SrcType = SrcExpr.get()->getType(); local 1660 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument 1712 QualType SrcType = SrcExpr.get()->getType(); local 1730 QualType SrcType = SrcExpr->getType(); local 1761 QualType SrcType = SrcExpr.get()->getType(); local [all...] |
H A D | SemaExprObjC.cpp | 3776 QualType SrcType = castExpr->getType(); local 3780 SrcType = PDecl->getType(); 3784 SrcType = Getter->getReturnType(); 3789 ARCConversionTypeClass srcExprACTC = classifyTypeForARCConversion(SrcType); 3794 castType, SrcType, castExpr); 3816 QualType DestType, QualType SrcType, 3822 QualType T = CfToNs ? SrcType : DestType; 3838 << SrcType << DestType; 3847 << SrcType << DestType; 3860 << SrcType << DestTyp 3815 checkObjCBridgeRelatedComponents(SourceLocation Loc, QualType DestType, QualType SrcType, ObjCInterfaceDecl *&RelatedClass, ObjCMethodDecl *&ClassMethod, ObjCMethodDecl *&InstanceMethod, TypedefNameDecl *&TDNDecl, bool CfToNs) argument 3881 CheckObjCBridgeRelatedConversions(SourceLocation Loc, QualType DestType, QualType SrcType, Expr *&SrcExpr) argument [all...] |
H A D | SemaStmt.cpp | 1171 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, argument 1177 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && 1178 SrcType->isIntegerType()) {
|
H A D | SemaExpr.cpp | 11852 QualType DstType, QualType SrcType, 11871 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); 11876 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 11881 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 11890 SrcType->isObjCObjectPointerType(); 11892 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 11895 SrcType = SrcType.getUnqualifiedType(); 11908 if (SrcType->isArrayType()) SrcType 11850 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument [all...] |
/external/clang/lib/AST/ |
H A D | ExprCXX.cpp | 641 QualType SrcType = getSubExpr()->getType(); local 644 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { 645 SrcType = SrcPTy->getPointeeType(); 653 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
|
H A D | ExprConstant.cpp | 1582 QualType SrcType, const APFloat &Value, 1597 QualType SrcType, QualType DestType, 1609 QualType DestType, QualType SrcType, 1621 QualType SrcType, const APSInt &Value, 7726 QualType SrcType = SubExpr->getType(); local 7803 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); 7805 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); 7808 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, 7824 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) 7833 SrcType); 1581 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument 1596 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument 1608 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, const APSInt &Value) argument 1620 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 87 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 90 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 396 QualType SrcType, 400 SrcType = SrcType->castAs<ComplexType>()->getElementType(); 406 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); 407 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); 412 QualType SrcType, 417 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); 395 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType, SourceLocation Loc) argument 411 EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, QualType DestType, SourceLocation Loc) argument
|
H A D | CGStmtOpenMP.cpp | 2093 QualType SrcType, QualType DestType, 2099 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType, 2101 : CGF.EmitComplexToScalarConversion(Val.getComplexVal(), SrcType, 2106 convertToComplexValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, argument 2114 auto ScalarVal = CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, 2120 auto SrcElementType = SrcType->castAs<ComplexType>()->getElementType(); 2092 convertToScalarValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, QualType DestType, SourceLocation Loc) argument
|
H A D | CGExprScalar.cpp | 146 Value *Src, QualType SrcType, QualType DstType, 578 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { argument 579 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); 581 if (SrcType->isRealFloatingType()) 584 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) 587 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && 598 Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, 671 CGF.getContext().getFloatTypeSemantics(SrcType); 732 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, argument 735 return EmitScalarConversion(Src, SrcType, DstTyp 597 EmitFloatConversionCheck( Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy, SourceLocation Loc) argument 738 EmitScalarConversion(Value *Src, QualType SrcType, QualType DstType, SourceLocation Loc, bool TreatBooleanAsSigned) argument 1056 QualType SrcType = E->getSrcExpr()->getType(), local [all...] |
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 2058 Type *SrcType = Trunc->getOperand()->getType(); variable 2065 if (T->getOperand()->getType() != SrcType) { 2071 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); 2077 if (T->getOperand()->getType() != SrcType) { 2083 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType));
|