Home
last modified time | relevance | path

Searched refs:DestType (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Sema/
DSemaCast.cpp52 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
67 QualType DestType; member
120 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign()
127 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) == in checkObjCARCConversion()
158 QualType DestType, bool CStyle,
163 QualType DestType, bool CStyle,
169 QualType DestType, bool CStyle,
175 CanQualType DestType, bool CStyle,
183 QualType DestType,bool CStyle,
190 QualType DestType,
[all …]
DSemaInit.cpp3409 QualType DestType, in TryInitializerListConstruction() argument
3413 if (!S.isStdInitializerList(DestType, &E)) in TryInitializerListConstruction()
3433 Sequence.AddStdInitializerListConstructionStep(DestType); in TryInitializerListConstruction()
3514 MultiExprArg Args, QualType DestType, in TryConstructorInitialization() argument
3522 if (!S.isCompleteType(Kind.getLocation(), DestType)) { in TryConstructorInitialization()
3523 Sequence.setIncompleteTypeFailure(DestType); in TryConstructorInitialization()
3527 const RecordType *DestRecordType = DestType->getAs<RecordType>(); in TryConstructorInitialization()
3627 Best->FoundDecl, CtorDecl, DestType, HadMultipleCandidates, in TryConstructorInitialization()
3693 QualType DestType = Entity.getType(); in TryReferenceListInitialization() local
3694 QualType cv1T1 = DestType->getAs<ReferenceType>()->getPointeeType(); in TryReferenceListInitialization()
[all …]
DSemaExpr.cpp2584 QualType DestType; in PerformObjectMemberConversion() local
2592 DestType = Context.getPointerType(DestRecordType); in PerformObjectMemberConversion()
2596 DestType = DestRecordType; in PerformObjectMemberConversion()
2603 DestType = Method->getThisType(Context); in PerformObjectMemberConversion()
2604 DestRecordType = DestType->getPointeeType(); in PerformObjectMemberConversion()
2611 DestType = DestRecordType; in PerformObjectMemberConversion()
2618 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2719 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase, in PerformObjectMemberConversion()
14531 QualType DestType; member
14534 : S(S), DestType(CastType) {} in RebuildUnknownAnyExpr()
[all …]
DSemaExprObjC.cpp3845 QualType DestType, QualType SrcType, in checkObjCBridgeRelatedComponents() argument
3851 QualType T = CfToNs ? SrcType : DestType; in checkObjCBridgeRelatedComponents()
3868 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
3879 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
3894 << SrcType << DestType << Sel << false; in checkObjCBridgeRelatedComponents()
3908 << SrcType << DestType << Sel << true; in checkObjCBridgeRelatedComponents()
3919 QualType DestType, QualType SrcType, in CheckObjCBridgeRelatedConversions() argument
3922 ARCConversionTypeClass lhsExprACTC = classifyTypeForARCConversion(DestType); in CheckObjCBridgeRelatedConversions()
3932 if (!checkObjCBridgeRelatedComponents(Loc, DestType, SrcType, RelatedClass, in CheckObjCBridgeRelatedConversions()
3948 << SrcType << DestType << ClassMethod->getSelector() << false in CheckObjCBridgeRelatedConversions()
[all …]
DSemaOverload.cpp4977 QualType FromRecordType, DestType; in PerformObjectArgumentInitialization() local
4984 DestType = Method->getThisType(Context); in PerformObjectArgumentInitialization()
4988 DestType = ImplicitParamRecordType; in PerformObjectArgumentInitialization()
5000 Qualifiers ToQs = DestType.getQualifiers(); in PerformObjectArgumentInitialization()
5026 if (!Context.hasSameType(From->getType(), DestType)) in PerformObjectArgumentInitialization()
5027 From = ImpCastExprToType(From, DestType, CK_NoOp, in PerformObjectArgumentInitialization()
8995 QualType DestType, bool TakingAddress) { in NoteOverloadCandidate() argument
9004 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType); in NoteOverloadCandidate()
9011 void Sema::NoteAllOverloadCandidates(Expr *OverloadedExpr, QualType DestType, in NoteAllOverloadCandidates() argument
9023 NoteOverloadCandidate(*I, FunTmpl->getTemplatedDecl(), DestType, in NoteAllOverloadCandidates()
[all …]
/external/libbrillo/brillo/
Dany.h76 template<typename DestType>
85 using CanonicalDestType = typename std::decay<DestType>::type; in IsTypeCompatible()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1238 QualType DestType, in EmitConstantExpr() argument
1244 if (DestType->isReferenceType()) in EmitConstantExpr()
1251 C = EmitConstantValue(Result.Val, DestType, CGF); in EmitConstantExpr()
1263 QualType DestType, in EmitConstantValue() argument
1266 if (auto *AT = DestType->getAs<AtomicType>()) { in EmitConstantValue()
1271 uint64_t OuterSize = Context.getTypeSize(DestType); in EmitConstantValue()
1288 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue()
1400 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue()
1412 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType); in EmitConstantValue()
1414 const ArrayType *CAT = Context.getAsArrayType(DestType); in EmitConstantValue()
[all …]
DCGExprComplex.cpp88 QualType DestType, SourceLocation Loc);
91 QualType DestType, SourceLocation Loc);
397 QualType DestType, in EmitComplexToComplexCast() argument
401 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
406 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType, Loc); in EmitComplexToComplexCast()
407 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType, Loc); in EmitComplexToComplexCast()
413 QualType DestType, in EmitScalarToComplexCast() argument
416 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
417 Val = CGF.EmitScalarConversion(Val, SrcType, DestType, Loc); in EmitScalarToComplexCast()
DCodeGenModule.h910 llvm::Constant *EmitConstantExpr(const Expr *E, QualType DestType,
915 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
921 QualType DestType,
DCGStmtOpenMP.cpp2782 QualType SrcType, QualType DestType, in convertToScalarValue() argument
2784 assert(CGF.hasScalarEvaluationKind(DestType) && in convertToScalarValue()
2788 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType, in convertToScalarValue()
2791 DestType, Loc); in convertToScalarValue()
2796 QualType DestType, SourceLocation Loc) { in convertToComplexValue() argument
2797 assert(CGF.getEvaluationKind(DestType) == TEK_Complex && in convertToComplexValue()
2802 auto DestElementType = DestType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
2810 auto DestElementType = DestType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
DCGBuiltin.cpp391 llvm::Type *DestType = Int8PtrTy; in EmitVAStartEnd() local
392 if (ArgValue->getType() != DestType) in EmitVAStartEnd()
394 Builder.CreateBitCast(ArgValue, DestType, ArgValue->getName().data()); in EmitVAStartEnd()
/external/eigen/Eigen/src/Householder/
DHouseholderSequence.h233 template<typename DestType> inline void evalTo(DestType& dst) const
235 Matrix<Scalar, DestType::RowsAtCompileTime, 1,
236 AutoAlign|ColMajor, DestType::MaxRowsAtCompileTime, 1> workspace(rows());
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DDGMRES.h209 template<typename RhsType, typename DestType>
210 int dgmresApplyDeflation(const RhsType& In, DestType& Out) const;
504 template<typename RhsType, typename DestType>
505 int DGMRES<_MatrixType, _Preconditioner>::dgmresApplyDeflation(const RhsType &x, DestType &y) const
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp442 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt() local
443 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType)) in foldVecTruncToExtElt()
456 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
465 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
466 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
1781 Type *DestType = BitCast.getType(); in canonicalizeBitCastExtElt() local
1782 if (!VectorType::isValidElementType(DestType)) in canonicalizeBitCastExtElt()
1786 auto *NewVecType = VectorType::get(DestType, NumElts); in canonicalizeBitCastExtElt()
/external/clang/lib/AST/
DExprCXX.cpp571 QualType DestType = getType(); in isAlwaysNull() local
575 DestType = DestType->castAs<PointerType>()->getPointeeType(); in isAlwaysNull()
578 if (DestType->isVoidType()) in isAlwaysNull()
588 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl()); in isAlwaysNull()
DExprConstant.cpp1651 const T &SrcValue, QualType DestType) { in HandleOverflow() argument
1653 << SrcValue << DestType; in HandleOverflow()
1659 QualType DestType, APSInt &Result) { in HandleFloatToIntCast() argument
1660 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
1662 bool DestSigned = DestType->isSignedIntegerOrEnumerationType(); in HandleFloatToIntCast()
1668 return HandleOverflow(Info, E, Value, DestType); in HandleFloatToIntCast()
1673 QualType SrcType, QualType DestType, in HandleFloatToFloatCast() argument
1677 if (Result.convert(Info.Ctx.getFloatTypeSemantics(DestType), in HandleFloatToFloatCast()
1680 return HandleOverflow(Info, E, Value, DestType); in HandleFloatToFloatCast()
1685 QualType DestType, QualType SrcType, in HandleIntToIntCast() argument
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp960 QualType DestType = CE->getType(); in checkPostStmt() local
963 if (!DestType->isAnyPointerType()) in checkPostStmt()
970 Nullability DestNullability = getNullabilityAnnotation(DestType); in checkPostStmt()
DDynamicTypePropagation.cpp528 QualType DestType = CE->getType(); in checkPostStmt() local
531 const auto *DestObjectPtrType = DestType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp2364 Ice::Type DestType = getCompareResultType(Op1Type); in ProcessRecord() local
2371 appendErrorInstruction(DestType); in ProcessRecord()
2374 if (DestType == Ice::IceType_void) { in ProcessRecord()
2381 Ice::Variable *Dest = getNextInstVar(DestType); in ProcessRecord()
2390 appendErrorInstruction(DestType); in ProcessRecord()
2402 appendErrorInstruction(DestType); in ProcessRecord()
2412 appendErrorInstruction(DestType); in ProcessRecord()
DWasmTranslator.cpp1217 auto DestType = toIceType(Type); in LoadMem() local
1218 Result = makeVariable(DestType); in LoadMem()
1220 if (isScalarIntegerType(DestType)) { in LoadMem()
1228 } else if (isScalarFloatingType(DestType)) { in LoadMem()
/external/eigen/Eigen/src/SparseCore/
DSparseSelfAdjointView.h645 template<typename DestType,unsigned int DestMode>
646 …static void run(SparseSelfAdjointView<DestType,DestMode>& dst, const SrcXprType &src, const intern…
/external/clang/include/clang/Sema/
DSema.h2534 QualType DestType = QualType(),
2539 void NoteAllOverloadCandidates(Expr *E, QualType DestType = QualType(),
4617 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
7682 QualType DestType, QualType SrcType,
7690 QualType DestType, QualType SrcType,
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2042 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); in EmitStackConvert() local
2043 unsigned DestAlign = TLI.getTargetData()->getPrefTypeAlignment(DestType); in EmitStackConvert()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1682 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); in EmitStackConvert() local
1683 unsigned DestAlign = DAG.getDataLayout().getPrefTypeAlignment(DestType); in EmitStackConvert()