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

/external/clang/lib/Sema/
H A DSemaCast.cpp49 : Self(S), SrcExpr(src), DestType(destType),
64 QualType DestType; member in struct:__anon3858::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
464 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime) argument
545 QualType DestType = Self.Context.getCanonicalType(this->DestType); local
789 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
957 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1008 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1043 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1077 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1192 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1303 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1355 TryConstCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1431 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument
1483 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1500 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
1513 Self.Diag(Loc, diag::warn_int_to_pointer_cast) << SrcType << DestType; local
1516 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument
1932 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaInit.cpp2731 QualType DestType,
2734 if (!S.isStdInitializerList(DestType, &E))
2755 Sequence.AddStdInitializerListConstructionStep(DestType);
2832 QualType DestType,
2839 if (S.RequireCompleteType(Kind.getLocation(), DestType, 0)) {
2840 Sequence.setIncompleteTypeFailure(DestType);
2844 const RecordType *DestRecordType = DestType->getAs<RecordType>();
2941 DestType, HadMultipleCandidates,
3008 QualType DestType = Entity.getType(); local
3009 QualType cv1T1 = DestType
2729 TryInitializerListConstruction(Sema &S, InitListExpr *List, QualType DestType, InitializationSequence &Sequence) argument
2828 TryConstructorInitialization(Sema &S, const InitializedEntity &Entity, const InitializationKind &Kind, Expr **Args, unsigned NumArgs, QualType DestType, InitializationSequence &Sequence, bool InitListSyntax = false) argument
3069 QualType DestType = Entity.getType(); local
3140 QualType DestType = Entity.getType(); local
3334 QualType DestType = Entity.getType(); local
3364 QualType DestType = Entity.getType(); local
3685 QualType DestType = S.Context.getBaseElementType(Entity.getType()); local
3720 QualType DestType = Entity.getType(); local
4027 TryOCLSamplerInitialization(Sema &S, InitializationSequence &Sequence, QualType DestType, Expr *Initializer) argument
4047 TryOCLZeroEventInitialization(Sema &S, InitializationSequence &Sequence, QualType DestType, Expr *Initializer) argument
4074 QualType DestType = Entity.getType(); local
4958 QualType DestType = Entity.getType().getNonReferenceType(); local
5924 QualType DestType = Entity.getType(); local
5943 QualType DestType = Entity.getType(); local
[all...]
H A DSemaExpr.cpp2137 QualType DestType; local
2145 DestType = Context.getPointerType(DestRecordType);
2149 DestType = DestRecordType;
2156 DestType = Method->getThisType(Context);
2157 DestRecordType = DestType->getPointeeType();
2164 DestType = DestRecordType;
2171 if (DestType->isDependentType() || FromType->isDependentType())
2273 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase,
11737 QualType DestType; member in struct:__anon3900::RebuildUnknownAnyExpr
11740 : S(S), DestType(CastTyp
[all...]
H A DSemaOverload.cpp4785 QualType FromRecordType, DestType; local
4792 DestType = Method->getThisType(Context);
4796 DestType = ImplicitParamRecordType;
4808 Qualifiers ToQs = DestType.getQualifiers();
4834 if (!Context.hasSameType(From->getType(), DestType))
4835 From = ImpCastExprToType(From, DestType, CK_NoOp,
8027 void Sema::NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType) { argument
8032 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType);
8039 void Sema::NoteAllOverloadCandidates(Expr* OverloadedExpr, QualType DestType) { argument
8050 NoteOverloadCandidate(FunTmpl->getTemplatedDecl(), DestType);
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp179 EVT DestType = Node->getValueType(0); local
180 unsigned DestWidth = DestType.getSizeInBits();
189 MOVType = DestType;
192 MOVType = DestType;
203 return CurDAG->getMachineNode(MOVOpcode, dl, DestType,
204 CurDAG->getRegister(ZR, DestType),
216 if (MOVType != DestType) {
231 EVT DestType = Node->getValueType(0); local
239 assert((DestType == MVT::i64 || DestType
280 EVT DestType = Node->getValueType(0); local
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext3D.cpp901 template<typename SourceType, typename IntermediateType, typename DestType,
903 void packingFunc(const IntermediateType*, DestType*)>
909 DestType* destinationData,
962 template<typename DestType, void packingFunc(const uint8_t*, DestType*)>
968 DestType* destinationData,
985 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackRGBA8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel);
992 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGBA16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel);
998 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGBA16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel);
1004 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackRGB8ToRGBA
[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 DCGExprConstant.cpp1051 QualType DestType,
1057 if (DestType->isReferenceType())
1064 C = EmitConstantValue(Result.Val, DestType, CGF);
1076 QualType DestType,
1082 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType);
1183 llvm::Type *ResultType = getTypes().ConvertType(DestType);
1195 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType);
1197 const ArrayType *CAT = Context.getAsArrayType(DestType);
1241 return getCXXABI().EmitMemberPointer(Value, DestType);
1248 QualType DestType,
1050 EmitConstantExpr(const Expr *E, QualType DestType, CodeGenFunction *CGF) argument
1075 EmitConstantValue(const APValue &Value, QualType DestType, CodeGenFunction *CGF) argument
1247 EmitConstantValueForMemory(const APValue &Value, QualType DestType, CodeGenFunction *CGF) argument
[all...]
H A DCGExprComplex.cpp81 /// EmitComplexToComplexCast - Emit a cast from complex value Val to DestType.
83 QualType DestType);
360 /// EmitComplexToComplexCast - Emit a cast from complex value Val to DestType.
363 QualType DestType) {
366 DestType = DestType->castAs<ComplexType>()->getElementType();
371 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType);
372 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType);
361 EmitComplexToComplexCast(ComplexPairTy Val, QualType SrcType, QualType DestType) argument
H A DCodeGenModule.h770 llvm::Constant *EmitConstantExpr(const Expr *E, QualType DestType,
775 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
781 QualType DestType,
H A DCGBuiltin.cpp219 llvm::Type *DestType = Int8PtrTy; local
220 if (ArgValue->getType() != DestType)
221 ArgValue = Builder.CreateBitCast(ArgValue, DestType,
/external/eigen/Eigen/src/SparseCore/
H A DSparseSelfAdjointView.h467 template<typename DestType,unsigned int DestUpLo> void evalTo(SparseSelfAdjointView<DestType,DestUpLo>& dest) const
/external/clang/lib/AST/
H A DExprConstant.cpp1172 const T &SrcValue, QualType DestType) {
1174 << SrcValue << DestType; local
1179 QualType DestType, APSInt &Result) {
1180 unsigned DestWidth = Info.Ctx.getIntWidth(DestType);
1182 bool DestSigned = DestType->isSignedIntegerOrEnumerationType();
1188 HandleOverflow(Info, E, Value, DestType);
1193 QualType SrcType, QualType DestType,
1197 if (Result.convert(Info.Ctx.getFloatTypeSemantics(DestType),
1200 HandleOverflow(Info, E, Value, DestType);
1205 QualType DestType, QualTyp
1171 HandleOverflow(EvalInfo &Info, const Expr *E, const T &SrcValue, QualType DestType) argument
1177 HandleFloatToIntCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APFloat &Value, QualType DestType, APSInt &Result) argument
1192 HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, QualType DestType, APFloat &Result) argument
1204 HandleIntToIntCast(EvalInfo &Info, const Expr *E, QualType DestType, QualType SrcType, APSInt &Value) argument
1216 HandleIntToFloatCast(EvalInfo &Info, const Expr *E, QualType SrcType, const APSInt &Value, QualType DestType, APFloat &Result) argument
5355 QualType DestType = E->getType(); local
[all...]
H A DExprCXX.cpp585 QualType DestType = getType(); local
589 DestType = DestType->castAs<PointerType>()->getPointeeType();
592 if (DestType->isVoidType())
602 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl());
/external/clang/include/clang/Sema/
H A DSema.h2042 void NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType = QualType());
2046 void NoteAllOverloadCandidates(Expr* E, QualType DestType = QualType());
3765 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1701 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext());
1702 unsigned DestAlign = TLI.getDataLayout()->getPrefTypeAlignment(DestType);

Completed in 555 milliseconds