Searched defs:DestType (Results 1 - 9 of 9) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGExprComplex.cpp86 /// EmitComplexToComplexCast - Emit a cast from complex value Val to DestType.
88 QualType DestType);
353 /// EmitComplexToComplexCast - Emit a cast from complex value Val to DestType.
356 QualType DestType) {
359 DestType = DestType->getAs<ComplexType>()->getElementType();
364 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType);
365 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType);
354 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType) argument
H A DCGBuiltin.cpp197 llvm::Type *DestType = Int8PtrTy; local
198 if (ArgValue->getType() != DestType)
199 ArgValue = Builder.CreateBitCast(ArgValue, DestType,
H A DCGExprConstant.cpp1039 QualType DestType,
1045 if (DestType->isReferenceType())
1052 C = EmitConstantValue(Result.Val, DestType, CGF);
1064 QualType DestType,
1070 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType);
1170 llvm::Type *ResultType = getTypes().ConvertType(DestType);
1182 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType);
1184 const ArrayType *CAT = Context.getAsArrayType(DestType);
1226 return getCXXABI().EmitMemberPointer(Value, DestType);
1233 QualType DestType,
1038 EmitConstantExpr(const Expr *E, QualType DestType, CodeGenFunction *CGF) argument
1063 EmitConstantValue(const APValue &Value, QualType DestType, CodeGenFunction *CGF) argument
1232 EmitConstantValueForMemory(const APValue &Value, QualType DestType, CodeGenFunction *CGF) argument
[all...]
/external/clang/lib/AST/
H A DExprCXX.cpp562 QualType DestType = getType(); local
566 DestType = DestType->castAs<PointerType>()->getPointeeType();
569 if (DestType->isVoidType())
579 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl());
H A DExprConstant.cpp1163 const T &SrcValue, QualType DestType) {
1165 << SrcValue << DestType; local
1170 QualType DestType, APSInt &Result) {
1171 unsigned DestWidth = Info.Ctx.getIntWidth(DestType);
1173 bool DestSigned = DestType->isSignedIntegerOrEnumerationType();
1179 HandleOverflow(Info, E, Value, DestType);
1184 QualType SrcType, QualType DestType,
1188 if (Result.convert(Info.Ctx.getFloatTypeSemantics(DestType),
1191 HandleOverflow(Info, E, Value, DestType);
1196 QualType DestType, QualTyp
1162 HandleOverflow(EvalInfo &Info, const Expr *E, const T &SrcValue, QualType DestType) argument
1168 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument
1183 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument
1195 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, APSInt &Value) argument
1207 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument
5327 QualType DestType = E->getType(); local
[all...]
/external/clang/lib/Sema/
H A DSemaCast.cpp49 : Self(S), SrcExpr(src), DestType(destType),
64 QualType DestType; member in struct:__anon171::CastOperation
117 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
124 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) ==
143 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType,
158 QualType DestType, bool CStyle,
163 QualType DestType, bool CStyle,
169 QualType DestType, bool CStyle,
175 CanQualType DestType, bool CStyle,
183 QualType DestType,boo
240 QualType DestType = DestTInfo->getType(); local
460 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime) argument
541 QualType DestType = Self.Context.getCanonicalType(this->DestType); local
785 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
953 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1004 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1039 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1073 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1188 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1299 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1351 TryConstCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1427 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument
1479 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1494 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument
1908 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaInit.cpp2713 QualType DestType,
2716 if (!S.isStdInitializerList(DestType, &E))
2737 Sequence.AddStdInitializerListConstructionStep(DestType);
2814 QualType DestType,
2829 if (S.RequireCompleteType(Kind.getLocation(), DestType, 0)) {
2830 Sequence.setIncompleteTypeFailure(DestType);
2834 const RecordType *DestRecordType = DestType->getAs<RecordType>();
2930 DestType, HadMultipleCandidates,
2997 QualType DestType = Entity.getType(); local
2998 QualType cv1T1 = DestType
2711 TryInitializerListConstruction(Sema &S, InitListExpr *List, QualType DestType, InitializationSequence &Sequence) argument
2810 TryConstructorInitialization(Sema &S, const InitializedEntity &Entity, const InitializationKind &Kind, Expr **Args, unsigned NumArgs, QualType DestType, InitializationSequence &Sequence, bool InitListSyntax = false) argument
3054 QualType DestType = Entity.getType(); local
3126 QualType DestType = Entity.getType(); local
3316 QualType DestType = Entity.getType(); local
3346 QualType DestType = Entity.getType(); local
3651 QualType DestType = S.Context.getBaseElementType(Entity.getType()); local
3686 QualType DestType = Entity.getType(); local
3990 QualType DestType = Entity.getType(); local
4861 QualType DestType = Entity.getType().getNonReferenceType(); local
5745 QualType DestType = Entity.getType(); local
5764 QualType DestType = Entity.getType(); local
[all...]
H A DSemaExpr.cpp2040 QualType DestType; local
2048 DestType = Context.getPointerType(DestRecordType);
2052 DestType = DestRecordType;
2059 DestType = Method->getThisType(Context);
2060 DestRecordType = DestType->getPointeeType();
2067 DestType = DestRecordType;
2074 if (DestType->isDependentType() || FromType->isDependentType())
2176 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase,
11404 QualType DestType; member in struct:__anon212::RebuildUnknownAnyExpr
11407 : S(S), DestType(CastTyp
[all...]
H A DSemaOverload.cpp4700 QualType FromRecordType, DestType; local
4707 DestType = Method->getThisType(Context);
4711 DestType = ImplicitParamRecordType;
4723 Qualifiers ToQs = DestType.getQualifiers();
4749 if (!Context.hasSameType(From->getType(), DestType))
4750 From = ImpCastExprToType(From, DestType, CK_NoOp,
7939 void Sema::NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType) { argument
7944 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType);
7951 void Sema::NoteAllOverloadCandidates(Expr* OverloadedExpr, QualType DestType) { argument
7962 NoteOverloadCandidate(FunTmpl->getTemplatedDecl(), DestType);
[all...]

Completed in 622 milliseconds