Home
last modified time | relevance | path

Searched refs:elementTy (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprComplex.cpp81 QualType elementTy = complexTy->getElementType(); in getPromotionType() local
82 if (isDivOpCode && elementTy->isFloatingType() && in getPromotionType()
89 if (elementTy.UseExcessPrecision(cgf.getContext())) in getPromotionType()
303 mlir::Type elementTy = ty.getElementType(); in VisitImaginaryLiteral() local
309 if (mlir::isa<cir::IntType>(elementTy)) { in VisitImaginaryLiteral()
311 realValueAttr = cir::IntAttr::get(elementTy, 0); in VisitImaginaryLiteral()
312 imagValueAttr = cir::IntAttr::get(elementTy, imagValue); in VisitImaginaryLiteral()
314 assert(mlir::isa<cir::FPTypeInterface>(elementTy) && in VisitImaginaryLiteral()
320 elementTy, llvm::APFloat::getZero(imagValue.getSemantics())); in VisitImaginaryLiteral()
321 imagValueAttr = cir::FPAttr::get(elementTy, imagValue); in VisitImaginaryLiteral()
H A DCIRGenCXXExpr.cpp237 QualType elementType, mlir::Type elementTy, in emitNewInitializer() argument
365 mlir::Type elementTy = convertTypeForMem(allocType); in emitCXXNewExpr() local
367 allocation, elementTy); in emitCXXNewExpr()
379 emitNewInitializer(*this, e, allocType, elementTy, result, numElements, in emitCXXNewExpr()
H A DCIRGenTypes.cpp393 mlir::Type elementTy = convertType(ct->getElementType()); in convertType() local
394 resultType = cir::ComplexType::get(elementTy); in convertType()
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp584 mlir::Type elementTy = convertTypeForMemory(*getTypeConverter(), dataLayout, in matchAndRewrite() local
588 castOp, targetType, elementTy, sourceValue, offset); in matchAndRewrite()
764 mlir::Type elementTy = in matchAndRewrite() local
766 mlir::MLIRContext *ctx = elementTy.getContext(); in matchAndRewrite()
770 if (mlir::isa<mlir::LLVM::LLVMVoidType>(elementTy) || in matchAndRewrite()
771 mlir::isa<mlir::LLVM::LLVMFunctionType>(elementTy)) in matchAndRewrite()
772 elementTy = mlir::IntegerType::get(elementTy.getContext(), 8, in matchAndRewrite()
812 ptrStrideOp, resultTy, elementTy, adaptor.getBase(), index); in matchAndRewrite()
854 mlir::Type elementTy = in matchAndRewrite() local
863 op, resultTy, elementTy, size, op.getAlignmentAttr().getInt()); in matchAndRewrite()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp1781 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr() local
1782 Address result = allocation.withElementType(elementTy); in EmitCXXNewExpr()
1804 EmitNewInitializer(*this, E, allocType, elementTy, result, numElements, in EmitCXXNewExpr()