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

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1029 llvm::Constant *VisitCastExpr(CastExpr *E, QualType destType) { argument
1045 auto destTy = ConvertType(destType);
1086 return Visit(subExpr, destType);
1249 QualType destType) {
1250 auto C = Visit(E->getBase(), destType);
1257 if (!EmitDesignatedInitUpdater(Emitter, Const, CharUnits::Zero(), destType,
1261 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType);
1263 if (auto *RT = destType->getAs<RecordType>())
1351 ConstantEmitter::tryEmitAbstract(const Expr *E, QualType destType) { argument
1353 auto C = tryEmitPrivate(E, destType);
1248 VisitDesignatedInitUpdateExpr(DesignatedInitUpdateExpr *E, QualType destType) argument
1358 tryEmitAbstract(const APValue &value, QualType destType) argument
1365 emitAbstract(const Expr *E, QualType destType) argument
1378 emitAbstract(SourceLocation loc, const APValue &value, QualType destType) argument
1396 tryEmitForInitializer(const Expr *E, LangAS destAddrSpace, QualType destType) argument
1403 emitForInitializer(const APValue &value, LangAS destAddrSpace, QualType destType) argument
1613 QualType destType = D.getType(); local
1640 tryEmitAbstractForMemory(const Expr *E, QualType destType) argument
1647 tryEmitAbstractForMemory(const APValue &value, QualType destType) argument
1654 tryEmitPrivateForMemory(const Expr *E, QualType destType) argument
1661 tryEmitPrivateForMemory(const APValue &value, QualType destType) argument
1668 emitForMemory(CodeGenModule &CGM, llvm::Constant *C, QualType destType) argument
1699 tryEmitPrivate(const Expr *E, QualType destType) argument
1750 ConstantLValueEmitter(ConstantEmitter &emitter, const APValue &value, QualType destType) argument
[all...]
H A DConstantEmitter.h74 QualType destType);
76 QualType destType);
H A DCGCall.cpp3263 llvm::PointerType *destType =
3268 args.add(RValue::get(llvm::ConstantPointerNull::get(destType)),
3274 Address temp = CGF.CreateTempAlloca(destType->getElementType(),
3288 cast<llvm::PointerType>(destType->getElementType()));
3307 llvm::ConstantPointerNull::get(destType),
3330 src = CGF.Builder.CreateBitCast(src, destType->getElementType(),
H A DCGExpr.cpp54 llvm::PointerType *destType = Int8PtrTy; local
56 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace);
58 if (value->getType() == destType) return value;
59 return Builder.CreateBitCast(value, destType);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp56 CastOperation(Sema &S, QualType destType, ExprResult src) argument
57 : Self(S), SrcExpr(src), DestType(destType),
58 ResultType(destType.getNonLValueExprType(S.Context)),
59 ValueKind(Expr::getValueKindForType(destType)),
371 QualType destType,
388 if (!destType->isRecordType() && !srcType->isRecordType())
391 InitializedEntity entity = InitializedEntity::InitializeTemporary(destType);
437 S.PDiag(msg) << CT << srcType << destType << range
446 SourceRange opRange, Expr *src, QualType destType,
449 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType,
369 tryDiagnoseOverloadedCast(Sema &S, CastType CT, SourceRange range, Expr *src, QualType destType, bool listInitialization) argument
445 diagnoseBadCast(Sema &S, unsigned msg, CastType castType, SourceRange opRange, Expr *src, QualType destType, bool listInitialization) argument
[all...]
H A DSemaExpr.cpp7181 QualType destType = S.Context.getPointerType(S.Context.VoidTy); local
7182 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_BitCast);
7183 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_BitCast);
7184 return destType;
7214 QualType destType = S.Context.getPointerType(destPointee); local
7216 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_NoOp);
7218 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_BitCast);
7219 return destType;
7224 QualType destType = S.Context.getPointerType(destPointee); local
7226 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_NoO
7697 QualType destType = Context.getPointerType(destPointee); local
7717 QualType destType = Context.getPointerType(destPointee); local
[all...]
H A DSemaExprObjC.cpp1532 void Sema::EmitRelatedResultTypeNoteForReturn(QualType destType) { argument
1537 Context.hasSameUnqualifiedType(destType, MD->getReturnType()))
H A DSemaInit.cpp8642 QualType destType = entity.getType();
8643 if (destType.getNonReferenceType()->isObjCObjectPointerType() &&
8653 S.EmitRelatedResultTypeNoteForReturn(destType);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4898 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
10882 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType);
10883 bool isLaxVectorConversion(QualType srcType, QualType destType);
11022 void EmitRelatedResultTypeNoteForReturn(QualType destType);

Completed in 418 milliseconds