/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaCast.cpp | 144 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, 169 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 175 static TryCastResult TryStaticDowncast(Sema &Self, CanQualType SrcType, 183 QualType SrcType, 454 /// CastsAwayConstness - Check if the pointer conversion from SrcType to 463 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, argument 475 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() || 476 SrcType->isBlockPointerType()) && 482 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), 584 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); local 712 QualType SrcType = SrcExpr->getType(); local 1162 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1196 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1311 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1478 QualType SrcType = SrcExpr.get()->getType(); local 1592 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument 1646 QualType SrcType = SrcExpr.get()->getType(); local 1664 QualType SrcType = SrcExpr->getType(); local 1695 QualType SrcType = SrcExpr.get()->getType(); local [all...] |
H A D | SemaExpr.cpp | 10606 QualType DstType, QualType SrcType, 10624 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); 10629 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 10634 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 10644 SrcType->isObjCObjectPointerType(); 10646 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); 10649 SrcType = SrcType.getUnqualifiedType(); 10664 if (SrcType->isArrayType()) SrcType 10604 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument [all...] |
H A D | SemaStmt.cpp | 1115 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, argument 1123 if (!Context.hasSameType(SrcType, DstType) && 1124 SrcType->isIntegerType()) {
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 109 Value *Src, QualType SrcType, 536 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { argument 537 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs"); 539 if (SrcType->isRealFloatingType()) 542 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType)) 545 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && 557 Value *Src, QualType SrcType, 630 CGF.getContext().getFloatTypeSemantics(SrcType); 693 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, argument 695 SrcType 555 EmitFloatConversionCheck(Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy) argument 974 QualType SrcType = E->getSrcExpr()->getType(), local [all...] |
H A D | CGExprComplex.cpp | 83 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, 86 ComplexPairTy EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, 388 QualType SrcType, 391 SrcType = SrcType->castAs<ComplexType>()->getElementType(); 397 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType); 398 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType); 403 QualType SrcType, 407 Val = CGF.EmitScalarConversion(Val, SrcType, DestType); 387 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType) argument 402 EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, QualType DestType) argument
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ExprCXX.cpp | 649 QualType SrcType = getSubExpr()->getType(); local 652 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { 653 SrcType = SrcPTy->getPointeeType(); 661 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
|
H A D | ExprConstant.cpp | 1441 QualType SrcType, const APFloat &Value, 1456 QualType SrcType, QualType DestType, 1468 QualType DestType, QualType SrcType, 1480 QualType SrcType, const APSInt &Value, 7077 QualType SrcType = SubExpr->getType(); 7153 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); 7155 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); 7158 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, 7174 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType)) 7183 SrcType); 1440 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument 1455 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument 1467 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, APSInt &Value) argument 1479 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 1546 Type *SrcType = Trunc->getOperand()->getType(); variable 1553 if (T->getOperand()->getType() != SrcType) { 1559 LargeOps.push_back(getAnyExtendExpr(C, SrcType)); 1565 if (T->getOperand()->getType() != SrcType) { 1572 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType));
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Sema.h | 4015 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, 7309 QualType DstType, QualType SrcType, 7315 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
|