Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1058 auto destTy = ConvertType(destType); in VisitCastExpr()
1099 return Visit(subExpr, destType); in VisitCastExpr()
1264 auto C = Visit(E->getBase(), destType); in VisitDesignatedInitUpdateExpr()
1355 auto C = tryEmitPrivate(E, destType); in tryEmitAbstract()
1383 auto C = tryEmitPrivate(E, destType); in emitAbstract()
1388 C = CGM.EmitNullConstant(destType); in emitAbstract()
1402 C = CGM.EmitNullConstant(destType); in emitAbstract()
1629 QualType destType = D.getType(); in tryEmitPrivateForVarInit() local
1643 if (destType->isReferenceType()) in tryEmitPrivateForVarInit()
1721 if (destType->isReferenceType()) in tryEmitPrivate()
[all …]
H A DConstantEmitter.h74 QualType destType);
76 QualType destType);
H A DCGCall.cpp3856 llvm::PointerType *destType = in emitWritebackArg() local
3861 args.add(RValue::get(llvm::ConstantPointerNull::get(destType)), in emitWritebackArg()
3867 Address temp = CGF.CreateTempAlloca(destType->getElementType(), in emitWritebackArg()
3881 cast<llvm::PointerType>(destType->getElementType())); in emitWritebackArg()
3900 llvm::ConstantPointerNull::get(destType), in emitWritebackArg()
3923 src = CGF.Builder.CreateBitCast(src, destType->getElementType(), in emitWritebackArg()
H A DCGExpr.cpp57 llvm::PointerType *destType = Int8PtrTy; in EmitCastToVoidPtr() local
59 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace); in EmitCastToVoidPtr()
61 if (value->getType() == destType) return value; in EmitCastToVoidPtr()
62 return Builder.CreateBitCast(value, destType); in EmitCastToVoidPtr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp58 CastOperation(Sema &S, QualType destType, ExprResult src) in CastOperation()
59 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
60 ResultType(destType.getNonLValueExprType(S.Context)), in CastOperation()
61 ValueKind(Expr::getValueKindForType(destType)), in CastOperation()
418 QualType destType, in tryDiagnoseOverloadedCast() argument
436 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
439 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast()
485 S.PDiag(msg) << CT << srcType << destType << range in tryDiagnoseOverloadedCast()
497 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
502 << src->getType() << destType << opRange << src->getSourceRange(); in diagnoseBadCast()
[all …]
H A DSemaExpr.cpp8013 return destType; in checkConditionalBlockPointerCompatibility()
8045 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
8048 return destType; in checkConditionalObjectPointersCompatibility()
8055 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
8058 return destType; in checkConditionalObjectPointersCompatibility()
8556 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
8558 LHS = ImpCastExprToType(LHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
8561 return destType; in FindCompositeObjCPointerType()
8576 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
8578 RHS = ImpCastExprToType(RHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
[all …]
H A DSemaInit.cpp8903 QualType destType = entity.getType(); in emitBadConversionNotes() local
8904 if (destType.getNonReferenceType()->isObjCObjectPointerType() && in emitBadConversionNotes()
8914 S.EmitRelatedResultTypeNoteForReturn(destType); in emitBadConversionNotes()
8918 auto *destDecl = destType.getTypePtr()->getPointeeCXXRecordDecl(); in emitBadConversionNotes()
H A DSemaExprObjC.cpp1657 void Sema::EmitRelatedResultTypeNoteForReturn(QualType destType) { in EmitRelatedResultTypeNoteForReturn() argument
1662 Context.hasSameUnqualifiedType(destType, MD->getReturnType())) in EmitRelatedResultTypeNoteForReturn()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5460 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
11743 bool isValidSveBitcast(QualType srcType, QualType destType);
11747 bool areVectorTypesSameSize(QualType srcType, QualType destType);
11748 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType);
11749 bool isLaxVectorConversion(QualType srcType, QualType destType);
11895 void EmitRelatedResultTypeNoteForReturn(QualType destType);