Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCast.cpp51 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
66 QualType DestType; member
119 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign()
126 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) == in checkObjCARCConversion()
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,
[all …]
HDSemaInit.cpp3320 QualType DestType, in TryInitializerListConstruction() argument
3323 if (!S.isStdInitializerList(DestType, &E)) in TryInitializerListConstruction()
3342 Sequence.AddStdInitializerListConstructionStep(DestType); in TryInitializerListConstruction()
3428 MultiExprArg Args, QualType DestType, in TryConstructorInitialization() argument
3436 if (S.RequireCompleteType(Kind.getLocation(), DestType, 0)) { in TryConstructorInitialization()
3437 Sequence.setIncompleteTypeFailure(DestType); in TryConstructorInitialization()
3441 const RecordType *DestRecordType = DestType->getAs<RecordType>(); in TryConstructorInitialization()
3536 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates, in TryConstructorInitialization()
3601 QualType DestType = Entity.getType(); in TryReferenceListInitialization() local
3602 QualType cv1T1 = DestType->getAs<ReferenceType>()->getPointeeType(); in TryReferenceListInitialization()
[all …]
HDSemaExpr.cpp2545 QualType DestType; in PerformObjectMemberConversion() local
2553 DestType = Context.getPointerType(DestRecordType); in PerformObjectMemberConversion()
2557 DestType = DestRecordType; in PerformObjectMemberConversion()
2564 DestType = Method->getThisType(Context); in PerformObjectMemberConversion()
2565 DestRecordType = DestType->getPointeeType(); in PerformObjectMemberConversion()
2572 DestType = DestRecordType; in PerformObjectMemberConversion()
2579 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2680 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase, in PerformObjectMemberConversion()
13813 QualType DestType; member
13816 : S(S), DestType(CastType) {} in RebuildUnknownAnyExpr()
[all …]
HDSemaExprObjC.cpp3814 QualType DestType, QualType SrcType, in checkObjCBridgeRelatedComponents() argument
3820 QualType T = CfToNs ? SrcType : DestType; in checkObjCBridgeRelatedComponents()
3836 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
3845 << SrcType << DestType; in checkObjCBridgeRelatedComponents()
3858 << SrcType << DestType << Sel << false; in checkObjCBridgeRelatedComponents()
3870 << SrcType << DestType << Sel << true; in checkObjCBridgeRelatedComponents()
3880 QualType DestType, QualType SrcType, in CheckObjCBridgeRelatedConversions() argument
3883 ARCConversionTypeClass lhsExprACTC = classifyTypeForARCConversion(DestType); in CheckObjCBridgeRelatedConversions()
3893 if (!checkObjCBridgeRelatedComponents(Loc, DestType, SrcType, RelatedClass, in CheckObjCBridgeRelatedConversions()
3907 << SrcType << DestType << ClassMethod->getSelector() << false in CheckObjCBridgeRelatedConversions()
[all …]
HDSemaOverload.cpp4842 QualType FromRecordType, DestType; in PerformObjectArgumentInitialization() local
4849 DestType = Method->getThisType(Context); in PerformObjectArgumentInitialization()
4853 DestType = ImplicitParamRecordType; in PerformObjectArgumentInitialization()
4864 Qualifiers ToQs = DestType.getQualifiers(); in PerformObjectArgumentInitialization()
4890 if (!Context.hasSameType(From->getType(), DestType)) in PerformObjectArgumentInitialization()
4891 From = ImpCastExprToType(From, DestType, CK_NoOp, in PerformObjectArgumentInitialization()
8612 void Sema::NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType) { in NoteOverloadCandidate() argument
8617 HandleFunctionTypeMismatch(PD, Fn->getType(), DestType); in NoteOverloadCandidate()
8624 void Sema::NoteAllOverloadCandidates(Expr* OverloadedExpr, QualType DestType) { in NoteAllOverloadCandidates() argument
8635 NoteOverloadCandidate(FunTmpl->getTemplatedDecl(), DestType); in NoteAllOverloadCandidates()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprConstant.cpp1204 QualType DestType, in EmitConstantExpr() argument
1210 if (DestType->isReferenceType()) in EmitConstantExpr()
1217 C = EmitConstantValue(Result.Val, DestType, CGF); in EmitConstantExpr()
1229 QualType DestType, in EmitConstantValue() argument
1232 if (auto *AT = DestType->getAs<AtomicType>()) { in EmitConstantValue()
1237 uint64_t OuterSize = Context.getTypeSize(DestType); in EmitConstantValue()
1254 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue()
1358 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue()
1370 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType); in EmitConstantValue()
1372 const ArrayType *CAT = Context.getAsArrayType(DestType); in EmitConstantValue()
[all …]
HDCGExprComplex.cpp88 QualType DestType);
91 QualType DestType);
397 QualType DestType) { in EmitComplexToComplexCast() argument
400 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitComplexToComplexCast()
405 Val.first = CGF.EmitScalarConversion(Val.first, SrcType, DestType); in EmitComplexToComplexCast()
406 Val.second = CGF.EmitScalarConversion(Val.second, SrcType, DestType); in EmitComplexToComplexCast()
412 QualType DestType) { in EmitScalarToComplexCast() argument
414 DestType = DestType->castAs<ComplexType>()->getElementType(); in EmitScalarToComplexCast()
415 Val = CGF.EmitScalarConversion(Val, SrcType, DestType); in EmitScalarToComplexCast()
HDCGStmtOpenMP.cpp1658 QualType SrcType, QualType DestType) { in convertToScalarValue() argument
1659 assert(CGF.hasScalarEvaluationKind(DestType) && in convertToScalarValue()
1663 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType) in convertToScalarValue()
1665 DestType); in convertToScalarValue()
1670 QualType DestType) { in convertToComplexValue() argument
1671 assert(CGF.getEvaluationKind(DestType) == TEK_Complex && in convertToComplexValue()
1676 auto DestElementType = DestType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
1684 auto DestElementType = DestType->castAs<ComplexType>()->getElementType(); in convertToComplexValue()
HDCodeGenModule.h937 llvm::Constant *EmitConstantExpr(const Expr *E, QualType DestType,
942 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
948 QualType DestType,
HDCGBuiltin.cpp286 llvm::Type *DestType = Int8PtrTy; in EmitBuiltinExpr() local
287 if (ArgValue->getType() != DestType) in EmitBuiltinExpr()
288 ArgValue = Builder.CreateBitCast(ArgValue, DestType, in EmitBuiltinExpr()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExprCXX.cpp642 QualType DestType = getType(); in isAlwaysNull() local
646 DestType = DestType->castAs<PointerType>()->getPointeeType(); in isAlwaysNull()
649 if (DestType->isVoidType()) in isAlwaysNull()
659 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl()); in isAlwaysNull()
HDExprConstant.cpp1496 const T &SrcValue, QualType DestType) { in HandleOverflow() argument
1498 << SrcValue << DestType; in HandleOverflow()
1503 QualType DestType, APSInt &Result) { in HandleFloatToIntCast() argument
1504 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
1506 bool DestSigned = DestType->isSignedIntegerOrEnumerationType(); in HandleFloatToIntCast()
1512 HandleOverflow(Info, E, Value, DestType); in HandleFloatToIntCast()
1517 QualType SrcType, QualType DestType, in HandleFloatToFloatCast() argument
1521 if (Result.convert(Info.Ctx.getFloatTypeSemantics(DestType), in HandleFloatToFloatCast()
1524 HandleOverflow(Info, E, Value, DestType); in HandleFloatToFloatCast()
1529 QualType DestType, QualType SrcType, in HandleIntToIntCast() argument
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h2419 void NoteOverloadCandidate(FunctionDecl *Fn, QualType DestType = QualType());
2423 void NoteAllOverloadCandidates(Expr* E, QualType DestType = QualType());
4435 void CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType,
7446 QualType DestType, QualType SrcType,
7454 QualType DestType, QualType SrcType,
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeDAG.cpp1806 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); in EmitStackConvert() local
1807 unsigned DestAlign = DAG.getDataLayout().getPrefTypeAlignment(DestType); in EmitStackConvert()