Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp769 auto destTy = ConvertType(destType); in VisitCastExpr()
810 return Visit(subExpr, destType); in VisitCastExpr()
1033 if (destType->isRecordType()) in EmitDesignatedInitUpdater()
1201 auto C = tryEmitPrivate(E, destType); in tryEmitAbstract()
1215 auto C = tryEmitPrivate(E, destType); in emitAbstract()
1220 C = CGM.EmitNullConstant(destType); in emitAbstract()
1234 C = CGM.EmitNullConstant(destType); in emitAbstract()
1461 QualType destType = D.getType(); in tryEmitPrivateForVarInit() local
1475 if (destType->isReferenceType()) in tryEmitPrivateForVarInit()
1553 if (destType->isReferenceType()) in tryEmitPrivate()
[all …]
H A DConstantEmitter.h75 QualType destType);
77 QualType destType);
H A DCGCall.cpp3254 llvm::PointerType *destType = in emitWritebackArg() local
3259 args.add(RValue::get(llvm::ConstantPointerNull::get(destType)), in emitWritebackArg()
3265 Address temp = CGF.CreateTempAlloca(destType->getElementType(), in emitWritebackArg()
3279 cast<llvm::PointerType>(destType->getElementType())); in emitWritebackArg()
3298 llvm::ConstantPointerNull::get(destType), in emitWritebackArg()
3321 src = CGF.Builder.CreateBitCast(src, destType->getElementType(), in emitWritebackArg()
H A DCGExpr.cpp54 llvm::PointerType *destType = Int8PtrTy; in EmitCastToVoidPtr() local
56 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace); in EmitCastToVoidPtr()
58 if (value->getType() == destType) return value; in EmitCastToVoidPtr()
59 return Builder.CreateBitCast(value, destType); in EmitCastToVoidPtr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp57 CastOperation(Sema &S, QualType destType, ExprResult src) in CastOperation()
58 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
59 ResultType(destType.getNonLValueExprType(S.Context)), in CastOperation()
60 ValueKind(Expr::getValueKindForType(destType)), in CastOperation()
339 QualType destType, in tryDiagnoseOverloadedCast() argument
356 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
359 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType); in tryDiagnoseOverloadedCast()
404 << CT << srcType << destType in tryDiagnoseOverloadedCast()
417 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
422 << src->getType() << destType << opRange << src->getSourceRange(); in diagnoseBadCast()
[all …]
H A DSemaExpr.cpp6754 return destType; in checkConditionalBlockPointerCompatibility()
6786 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
6789 return destType; in checkConditionalObjectPointersCompatibility()
6796 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_NoOp); in checkConditionalObjectPointersCompatibility()
6799 return destType; in checkConditionalObjectPointersCompatibility()
7265 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
7267 LHS = ImpCastExprToType(LHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
7270 return destType; in FindCompositeObjCPointerType()
7285 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType() local
7287 RHS = ImpCastExprToType(RHS.get(), destType, CK_NoOp); in FindCompositeObjCPointerType()
[all …]
H A DSemaExprObjC.cpp1479 void Sema::EmitRelatedResultTypeNoteForReturn(QualType destType) { in EmitRelatedResultTypeNoteForReturn() argument
1484 Context.hasSameUnqualifiedType(destType, MD->getReturnType())) in EmitRelatedResultTypeNoteForReturn()
H A DSemaInit.cpp8184 QualType destType = entity.getType(); in emitBadConversionNotes() local
8185 if (destType.getNonReferenceType()->isObjCObjectPointerType() && in emitBadConversionNotes()
8195 S.EmitRelatedResultTypeNoteForReturn(destType); in emitBadConversionNotes()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h4414 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
9760 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType);
9761 bool isLaxVectorConversion(QualType srcType, QualType destType);
9884 void EmitRelatedResultTypeNoteForReturn(QualType destType);