Searched refs:SrcType (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp144 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,
456 /// CastsAwayConstness - Check if the pointer conversion from SrcType to
465 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, argument
477 assert((SrcType->isAnyPointerType() || SrcType->isMemberPointerType() ||
478 SrcType->isBlockPointerType()) &&
484 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType),
582 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); local
691 QualType SrcType = SrcExpr->getType(); local
1138 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1172 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1287 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1453 QualType SrcType = SrcExpr->getType(); local
1536 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument
1590 QualType SrcType = SrcExpr.get()->getType(); local
1608 QualType SrcType = SrcExpr->getType(); local
1629 QualType SrcType = SrcExpr.get()->getType(); local
[all...]
H A DSemaExpr.cpp10181 QualType DstType, QualType SrcType,
10198 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr);
10203 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this);
10208 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this);
10215 SrcType->isObjCObjectPointerType();
10217 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this);
10220 SrcType = SrcType.getUnqualifiedType();
10233 if (SrcType->isArrayType()) SrcType
10179 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument
[all...]
H A DSemaStmt.cpp1123 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, argument
1131 if (!Context.hasSameType(SrcType, DstType) &&
1132 SrcType->isIntegerType()) {
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprComplex.cpp82 ComplexPairTy EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType,
366 QualType SrcType,
369 SrcType = SrcType->castAs<ComplexType>()->getElementType();
375 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType);
376 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType);
365 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType) argument
H A DCGExprScalar.cpp108 Value *Src, QualType SrcType,
533 Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) { argument
534 assert(SrcType.isCanonical() && "EmitScalarConversion strips typedefs");
536 if (SrcType->isRealFloatingType())
539 if (const MemberPointerType *MPT = dyn_cast<MemberPointerType>(SrcType))
542 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) &&
554 Value *Src, QualType SrcType,
627 CGF.getContext().getFloatTypeSemantics(SrcType);
690 Value *ScalarExprEmitter::EmitScalarConversion(Value *Src, QualType SrcType, argument
692 SrcType
552 EmitFloatConversionCheck(Value *OrigSrc, QualType OrigSrcType, Value *Src, QualType SrcType, QualType DstType, llvm::Type *DstTy) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExprCXX.cpp583 QualType SrcType = getSubExpr()->getType(); local
586 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) {
587 SrcType = SrcPTy->getPointeeType();
595 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl());
H A DExprConstant.cpp1206 QualType SrcType, const APFloat &Value,
1221 QualType SrcType, QualType DestType,
1233 QualType DestType, QualType SrcType,
1245 QualType SrcType, const APSInt &Value,
6094 QualType SrcType = SubExpr->getType();
6170 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType);
6172 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType);
6175 return Success(HandleIntToIntCast(Info, E, DestType, SrcType,
6191 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType))
6200 SrcType);
1205 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument
1220 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument
1232 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, APSInt &Value) argument
1244 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp1543 Type *SrcType = Trunc->getOperand()->getType(); variable
1550 if (T->getOperand()->getType() != SrcType) {
1556 LargeOps.push_back(getAnyExtendExpr(C, SrcType));
1562 if (T->getOperand()->getType() != SrcType) {
1569 LargeMulOps.push_back(getAnyExtendExpr(C, SrcType));
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3832 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
6868 QualType DstType, QualType SrcType,
6874 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,

Completed in 289 milliseconds