Home
last modified time | relevance | path

Searched refs:destType (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1100 llvm::Constant *VisitCastExpr(const CastExpr *E, QualType destType) { in VisitCastExpr() argument
1116 auto destTy = ConvertType(destType); in VisitCastExpr()
1159 return Visit(E->getInitializer(), destType); in VisitCastExpr()
1167 return Visit(subExpr, destType); in VisitCastExpr()
1174 if (Visit(subExpr, destType)) in VisitCastExpr()
1175 return CGM.EmitNullConstant(destType); in VisitCastExpr()
1182 return ProduceIntToIntCast(subExpr, destType); in VisitCastExpr()
1409 QualType destType) { in VisitDesignatedInitUpdateExpr() argument
1410 auto C = Visit(E->getBase(), destType); in VisitDesignatedInitUpdateExpr()
1417 if (!EmitDesignatedInitUpdater(Emitter, Const, CharUnits::Zero(), destType, in VisitDesignatedInitUpdateExpr()
[all …]
H A DConstantEmitter.h77 QualType destType);
79 QualType destType);
H A DCGCall.cpp4235 llvm::PointerType *destType = in emitWritebackArg() local
4242 args.add(RValue::get(llvm::ConstantPointerNull::get(destType)), in emitWritebackArg()
4278 isNull, llvm::ConstantPointerNull::get(destType), in emitWritebackArg()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaRISCV.h39 bool isValidRVVBitcast(QualType srcType, QualType destType);
H A DSemaObjC.h857 void EmitRelatedResultTypeNoteForReturn(QualType destType);
H A DSema.h7009 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
7433 bool isValidSveBitcast(QualType srcType, QualType destType);
7439 bool areVectorTypesSameSize(QualType srcType, QualType destType);
7448 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType);
7452 bool isLaxVectorConversion(QualType srcType, QualType destType);
7455 bool anyAltivecTypes(QualType srcType, QualType destType);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp61 CastOperation(Sema &S, QualType destType, ExprResult src) in CastOperation()
62 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
63 ResultType(destType.getNonLValueExprType(S.Context)), in CastOperation()
64 ValueKind(Expr::getValueKindForType(destType)), in CastOperation()
419 QualType destType, in tryDiagnoseOverloadedCast() argument
437 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
440 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast()
469 if (destType->isArrayType()) in tryDiagnoseOverloadedCast()
507 << CT << srcType << destType << (Msg != nullptr) in tryDiagnoseOverloadedCast()
517 S.PDiag(msg) << CT << srcType << destType << range in tryDiagnoseOverloadedCast()
[all …]
H A DSemaExprObjC.cpp1668 void SemaObjC::EmitRelatedResultTypeNoteForReturn(QualType destType) { in EmitRelatedResultTypeNoteForReturn() argument
1674 Context.hasSameUnqualifiedType(destType, MD->getReturnType())) in EmitRelatedResultTypeNoteForReturn()
5050 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
5052 LHS = SemaRef.ImpCastExprToType(LHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
5054 RHS = SemaRef.ImpCastExprToType(RHS.get(), destType, CK_BitCast); in FindCompositeObjCPointerType()
5055 return destType; in FindCompositeObjCPointerType()
5071 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
5073 RHS = SemaRef.ImpCastExprToType(RHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
5075 LHS = SemaRef.ImpCastExprToType(LHS.get(), destType, CK_BitCast); in FindCompositeObjCPointerType()
5076 return destType; in FindCompositeObjCPointerType()
H A DAnalysisBasedWarnings.cpp2265 QualType destType = ECE->getType(); in handleUnsafeOperation() local
2266 if (!isa<PointerType>(destType)) in handleUnsafeOperation()
2270 Ctx.getTypeSize(destType.getTypePtr()->getPointeeType()); in handleUnsafeOperation()
H A DSemaExpr.cpp8054 QualType destType = S.Context.getPointerType(S.Context.VoidTy); in checkConditionalBlockPointerCompatibility() local
8055 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_BitCast); in checkConditionalBlockPointerCompatibility()
8056 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_BitCast); in checkConditionalBlockPointerCompatibility()
8057 return destType; in checkConditionalBlockPointerCompatibility()
8087 QualType destType = S.Context.getPointerType(destPointee); in checkConditionalObjectPointersCompatibility() local
8089 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
8091 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_BitCast); in checkConditionalObjectPointersCompatibility()
8092 return destType; in checkConditionalObjectPointersCompatibility()
8097 QualType destType = S.Context.getPointerType(destPointee); in checkConditionalObjectPointersCompatibility() local
8099 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
[all …]
H A DSemaInit.cpp8505 QualType destType = entity.getType(); in emitBadConversionNotes() local
8506 if (destType.getNonReferenceType()->isObjCObjectPointerType() && in emitBadConversionNotes()
8516 S.ObjC().EmitRelatedResultTypeNoteForReturn(destType); in emitBadConversionNotes()
8520 QualType destPointeeType = destType.getCanonicalType()->getPointeeType(); in emitBadConversionNotes()
8522 auto *destDecl = destType->getPointeeCXXRecordDecl(); in emitBadConversionNotes()