Searched refs:DestType (Results 1 - 17 of 17) sorted by relevance

/external/clang/lib/Sema/
H A DSemaCast.cpp51 : Self(S), SrcExpr(src), DestType(destType),
66 QualType DestType; member in struct:__anon1134::CastOperation
119 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
126 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) ==
157 QualType DestType, bool CStyle,
162 QualType DestType, bool CStyle,
168 QualType DestType, bool CStyle,
174 CanQualType DestType, bool CStyle,
182 QualType DestType,bool CStyle,
189 QualType DestType,
240 QualType DestType = DestTInfo->getType(); local
486 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime, QualType *TheOffendingSrcType = nullptr, QualType *TheOffendingDestType = nullptr, Qualifiers *CastAwayQualifiers = nullptr) argument
582 QualType DestType = Self.Context.getCanonicalType(this->DestType); local
744 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
943 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1124 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1175 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1213 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1247 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1362 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1474 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1530 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1647 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument
1697 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1714 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
1736 Self.Diag(Loc, Diag) << SrcType << DestType; local
1740 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument
2171 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
2430 SrcType << DestType; local
[all...]
H A DSemaInit.cpp3144 QualType DestType,
3147 if (!S.isStdInitializerList(DestType, &E))
3166 Sequence.AddStdInitializerListConstructionStep(DestType);
3252 MultiExprArg Args, QualType DestType,
3260 if (S.RequireCompleteType(Kind.getLocation(), DestType, 0)) {
3261 Sequence.setIncompleteTypeFailure(DestType);
3265 const RecordType *DestRecordType = DestType->getAs<RecordType>();
3359 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates,
3419 QualType DestType = Entity.getType(); local
3420 QualType cv1T1 = DestType
3142 TryInitializerListConstruction(Sema &S, InitListExpr *List, QualType DestType, InitializationSequence &Sequence) argument
3249 TryConstructorInitialization(Sema &S, const InitializedEntity &Entity, const InitializationKind &Kind, MultiExprArg Args, QualType DestType, InitializationSequence &Sequence, bool IsListInit = false, bool IsInitListCopy = false) argument
3480 QualType DestType = Entity.getType(); local
3625 QualType DestType = Entity.getType(); local
3812 QualType DestType = Entity.getType(); local
3893 QualType DestType = Entity.getType(); local
4218 QualType DestType = S.Context.getBaseElementType(Entity.getType()); local
4248 TryUserDefinedConversion(Sema &S, QualType DestType, const InitializationKind &Kind, Expr *Initializer, InitializationSequence &Sequence, bool TopLevelOfInitList) argument
4576 TryOCLSamplerInitialization(Sema &S, InitializationSequence &Sequence, QualType DestType, Expr *Initializer) argument
4596 TryOCLZeroEventInitialization(Sema &S, InitializationSequence &Sequence, QualType DestType, Expr *Initializer) argument
4646 QualType DestType = Entity.getType(); local
5832 QualType DestType = Entity.getType().getNonReferenceType(); local
6519 QualType DestType = Entity.getType(); local
[all...]
H A DSemaExprObjC.cpp3565 QualType DestType, QualType SrcType,
3571 QualType T = CfToNs ? SrcType : DestType;
3587 << SrcType << DestType; local
3596 << SrcType << DestType; local
3609 << SrcType << DestType << Sel << false;
3621 << SrcType << DestType << Sel << true;
3631 QualType DestType, QualType SrcType,
3634 ARCConversionTypeClass lhsExprACTC = classifyTypeForARCConversion(DestType);
3644 if (!checkObjCBridgeRelatedComponents(Loc, DestType, SrcType, RelatedClass,
3658 << SrcType << DestType << ClassMetho
3564 checkObjCBridgeRelatedComponents(SourceLocation Loc, QualType DestType, QualType SrcType, ObjCInterfaceDecl *&RelatedClass, ObjCMethodDecl *&ClassMethod, ObjCMethodDecl *&InstanceMethod, TypedefNameDecl *&TDNDecl, bool CfToNs) argument
3630 CheckObjCBridgeRelatedConversions(SourceLocation Loc, QualType DestType, QualType SrcType, Expr *&SrcExpr) argument
[all...]
H A DSemaExpr.cpp2525 QualType DestType; local
2533 DestType = Context.getPointerType(DestRecordType);
2537 DestType = DestRecordType;
2544 DestType = Method->getThisType(Context);
2545 DestRecordType = DestType->getPointeeType();
2552 DestType = DestRecordType;
2559 if (DestType->isDependentType() || FromType->isDependentType())
2660 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase,
13796 QualType DestType; member in struct:__anon1187::RebuildUnknownAnyExpr
13799 : S(S), DestType(CastTyp
[all...]
H A DSemaOverload.cpp4858 QualType FromRecordType, DestType; local
4865 DestType = Method->getThisType(Context);
4869 DestType = ImplicitParamRecordType;
4880 Qualifiers ToQs = DestType.getQualifiers();
4906 if (!Context.hasSameType(From->getType(), DestType))
4907 From = ImpCastExprToType(From, DestType, CK_NoOp,
8628 void Sema::NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType) {
8633 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType);
8640 void Sema::NoteAllOverloadCandidates(Expr* OverloadedExpr, QualType DestType) {
8651 NoteOverloadCandidate(FunTmpl->getTemplatedDecl(), DestType);
[all...]
/external/eigen/Eigen/src/Householder/
H A DHouseholderSequence.h227 template<typename DestType> inline void evalTo(DestType& dst) const
229 Matrix<Scalar, DestType::RowsAtCompileTime, 1,
230 AutoAlign|ColMajor, DestType::MaxRowsAtCompileTime, 1> workspace(rows());
/external/clang/lib/CodeGen/
H A DCGExprComplex.cpp86 /// EmitComplexToComplexCast - Emit a cast from complex value Val to DestType.
88 QualType DestType);
89 /// EmitComplexToComplexCast - Emit a cast from scalar value Val to DestType.
91 QualType DestType);
394 /// EmitComplexToComplexCast - Emit a cast from complex value Val to DestType.
397 QualType DestType) {
400 DestType = DestType->castAs<ComplexType>()->getElementType();
405 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType);
406 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType);
395 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType) argument
410 EmitScalarToComplexCast(llvm::Value *Val, QualType SrcType, QualType DestType) argument
[all...]
H A DCGExprConstant.cpp1048 QualType DestType,
1054 if (DestType->isReferenceType())
1061 C = EmitConstantValue(Result.Val, DestType, CGF);
1073 QualType DestType,
1076 if (auto *AT = DestType->getAs<AtomicType>()) {
1081 uint64_t OuterSize = Context.getTypeSize(DestType);
1098 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType);
1202 llvm::Type *ResultType = getTypes().ConvertType(DestType);
1214 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType);
1216 const ArrayType *CAT = Context.getAsArrayType(DestType);
1047 EmitConstantExpr(const Expr *E, QualType DestType, CodeGenFunction *CGF) argument
1072 EmitConstantValue(const APValue &Value, QualType DestType, CodeGenFunction *CGF) argument
[all...]
H A DCGStmtOpenMP.cpp1380 QualType SrcType, QualType DestType) {
1381 assert(CGF.hasScalarEvaluationKind(DestType) &&
1382 "DestType must have scalar evaluation kind.");
1385 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType)
1387 DestType);
1392 QualType DestType) {
1393 assert(CGF.getEvaluationKind(DestType) == TEK_Complex &&
1394 "DestType must have complex evaluation kind.");
1398 auto DestElementType = DestType->castAs<ComplexType>()->getElementType();
1406 auto DestElementType = DestType
1379 convertToScalarValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, QualType DestType) argument
1391 convertToComplexValue(CodeGenFunction &CGF, RValue Val, QualType SrcType, QualType DestType) argument
[all...]
H A DCodeGenModule.h921 llvm::Constant *EmitConstantExpr(const Expr *E, QualType DestType,
926 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
932 QualType DestType,
H A DCGBuiltin.cpp240 llvm::Type *DestType = Int8PtrTy; local
241 if (ArgValue->getType() != DestType)
242 ArgValue = Builder.CreateBitCast(ArgValue, DestType,
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DDGMRES.h222 template<typename RhsType, typename DestType>
223 int dgmresApplyDeflation(const RhsType& In, DestType& Out) const;
517 template<typename RhsType, typename DestType>
518 int DGMRES<_MatrixType, _Preconditioner>::dgmresApplyDeflation(const RhsType &x, DestType &y) const
/external/eigen/Eigen/src/SparseCore/
H A DSparseSelfAdjointView.h494 template<typename DestType,unsigned int DestUpLo> void evalTo(SparseSelfAdjointView<DestType,DestUpLo>& dest) const
/external/clang/lib/AST/
H A DExprCXX.cpp642 QualType DestType = getType(); local
646 DestType = DestType->castAs<PointerType>()->getPointeeType();
649 if (DestType->isVoidType())
659 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl());
H A DExprConstant.cpp1496 const T &SrcValue, QualType DestType) {
1498 << SrcValue << DestType; local
1503 QualType DestType, APSInt &Result) {
1504 unsigned DestWidth = Info.Ctx.getIntWidth(DestType);
1506 bool DestSigned = DestType->isSignedIntegerOrEnumerationType();
1512 HandleOverflow(Info, E, Value, DestType);
1517 QualType SrcType, QualType DestType,
1521 if (Result.convert(Info.Ctx.getFloatTypeSemantics(DestType),
1524 HandleOverflow(Info, E, Value, DestType);
1529 QualType DestType, QualTyp
1495 HandleOverflow(EvalInfo &Info, const Expr *E, const T &SrcValue, QualType DestType) argument
1501 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument
1516 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument
1528 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, APSInt &Value) argument
1540 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument
7366 QualType DestType = E->getType(); local
[all...]
/external/clang/include/clang/Sema/
H A DSema.h2290 void NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType = QualType());
2294 void NoteAllOverloadCandidates(Expr* E, QualType DestType = QualType());
4254 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
7170 QualType DestType, QualType SrcType,
7178 QualType DestType, QualType SrcType,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1792 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext());
1793 unsigned DestAlign = TLI.getDataLayout()->getPrefTypeAlignment(DestType);

Completed in 1673 milliseconds