Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1129 return Visit(subExpr, destType); in VisitCastExpr()
1136 if (Visit(subExpr, destType)) in VisitCastExpr()
1421 auto C = tryEmitPrivate(E, destType); in tryEmitAbstract()
1446 auto C = tryEmitPrivate(E, destType); in emitAbstract()
1451 C = CGM.EmitNullConstant(destType); in emitAbstract()
1465 C = CGM.EmitNullConstant(destType); in emitAbstract()
1687 QualType destType = D.getType(); in tryEmitPrivateForVarInit() local
1691 if (!destType->isReferenceType()) { in tryEmitPrivateForVarInit()
1695 return emitForMemory(C, destType); in tryEmitPrivateForVarInit()
1773 if (!destType->isReferenceType()) in tryEmitPrivate()
[all …]
H A DConstantEmitter.h77 QualType destType);
79 QualType destType);
H A DCGCall.cpp4223 llvm::PointerType *destType = in emitWritebackArg() local
4230 args.add(RValue::get(llvm::ConstantPointerNull::get(destType)), in emitWritebackArg()
4267 llvm::ConstantPointerNull::get(destType), in emitWritebackArg()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp59 CastOperation(Sema &S, QualType destType, ExprResult src) in CastOperation()
60 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
61 ResultType(destType.getNonLValueExprType(S.Context)), in CastOperation()
62 ValueKind(Expr::getValueKindForType(destType)), in CastOperation()
423 QualType destType, in tryDiagnoseOverloadedCast() argument
441 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
473 if (destType->isArrayType()) in tryDiagnoseOverloadedCast()
509 S.PDiag(msg) << CT << srcType << destType << range in tryDiagnoseOverloadedCast()
521 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
526 << src->getType() << destType << opRange << src->getSourceRange(); in diagnoseBadCast()
[all …]
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.cpp8908 return destType; in checkConditionalBlockPointerCompatibility()
8940 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
8943 return destType; in checkConditionalObjectPointersCompatibility()
8950 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
8953 return destType; in checkConditionalObjectPointersCompatibility()
9482 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
9484 LHS = ImpCastExprToType(LHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
9487 return destType; in FindCompositeObjCPointerType()
9502 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
9504 RHS = ImpCastExprToType(RHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
[all …]
H A DSemaInit.cpp9487 QualType destType = entity.getType(); in emitBadConversionNotes() local
9488 if (destType.getNonReferenceType()->isObjCObjectPointerType() && in emitBadConversionNotes()
9498 S.EmitRelatedResultTypeNoteForReturn(destType); in emitBadConversionNotes()
9502 QualType destPointeeType = destType.getCanonicalType()->getPointeeType(); in emitBadConversionNotes()
9504 auto *destDecl = destType->getPointeeCXXRecordDecl(); in emitBadConversionNotes()
H A DSemaExprObjC.cpp1656 void Sema::EmitRelatedResultTypeNoteForReturn(QualType destType) { in EmitRelatedResultTypeNoteForReturn() argument
1661 Context.hasSameUnqualifiedType(destType, MD->getReturnType())) in EmitRelatedResultTypeNoteForReturn()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6038 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
13046 bool isValidSveBitcast(QualType srcType, QualType destType);
13047 bool isValidRVVBitcast(QualType srcType, QualType destType);
13051 bool areVectorTypesSameSize(QualType srcType, QualType destType);
13052 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType);
13053 bool isLaxVectorConversion(QualType srcType, QualType destType);
13054 bool anyAltivecTypes(QualType srcType, QualType destType);
13200 void EmitRelatedResultTypeNoteForReturn(QualType destType);