Home
last modified time | relevance | path

Searched refs:complexElemTy (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprConstant.cpp787 mlir::Type complexElemTy = complexType.getElementType(); in tryEmitPrivate() local
788 if (isa<cir::IntType>(complexElemTy)) { in tryEmitPrivate()
792 complexType, cir::IntAttr::get(complexElemTy, real), in tryEmitPrivate()
793 cir::IntAttr::get(complexElemTy, imag)); in tryEmitPrivate()
796 assert(isa<cir::FPTypeInterface>(complexElemTy) && in tryEmitPrivate()
801 complexType, cir::FPAttr::get(complexElemTy, real), in tryEmitPrivate()
802 cir::FPAttr::get(complexElemTy, imag)); in tryEmitPrivate()
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp285 mlir::Type complexElemTy = complexType.getElementType(); in visitCirAttr() local
286 mlir::Type complexElemLLVMTy = converter->convertType(complexElemTy); in visitCirAttr()
289 if (const auto intType = mlir::dyn_cast<cir::IntType>(complexElemTy)) { in visitCirAttr()
1061 mlir::Type complexElemTy = complexTy.getElementType(); in matchAndRewrite() local
1062 mlir::Type complexElemLLVMTy = typeConverter->convertType(complexElemTy); in matchAndRewrite()
1075 if (mlir::isa<cir::IntType>(complexElemTy)) { in matchAndRewrite()
1721 mlir::Type complexElemTy = in matchAndRewrite() local
1725 rewriter.create<mlir::LLVM::ExtractValueOp>(loc, complexElemTy, lhs, 0); in matchAndRewrite()
1727 rewriter.create<mlir::LLVM::ExtractValueOp>(loc, complexElemTy, lhs, 1); in matchAndRewrite()
1729 rewriter.create<mlir::LLVM::ExtractValueOp>(loc, complexElemTy, rhs, 0); in matchAndRewrite()
[all …]