Lines Matching defs:op0
663 mlir::Value op0 = adaptor.getOperands()[0];
666 rewriter.replaceOp(convert, op0);
689 rewriter.create<mlir::LLVM::ExtractValueOp>(loc, op0, index);
719 if (auto constVal = fir::getIntIfConstant(op0)) {
729 rewriter.replaceOpWithNewOp<mlir::LLVM::ZExtOp>(convert, toTy, op0);
736 loc, mlir::LLVM::ICmpPredicate::ne, op0, zero);
749 rewriter.replaceOp(convert, op0);
771 auto rp = rewriter.create<mlir::LLVM::ExtractValueOp>(loc, op0, 0);
772 auto ip = rewriter.create<mlir::LLVM::ExtractValueOp>(loc, op0, 1);
790 auto v = convertFpToFp(op0, fromBits, toBits, toTy);
796 rewriter.replaceOpWithNewOp<mlir::LLVM::FPToUIOp>(convert, toTy, op0);
798 rewriter.replaceOpWithNewOp<mlir::LLVM::FPToSIOp>(convert, toTy, op0);
808 rewriter.replaceOpWithNewOp<mlir::LLVM::TruncOp>(convert, toTy, op0);
812 rewriter.replaceOpWithNewOp<mlir::LLVM::ZExtOp>(convert, toTy, op0);
815 rewriter.replaceOpWithNewOp<mlir::LLVM::SExtOp>(convert, toTy, op0);
821 rewriter.replaceOpWithNewOp<mlir::LLVM::UIToFPOp>(convert, toTy, op0);
823 rewriter.replaceOpWithNewOp<mlir::LLVM::SIToFPOp>(convert, toTy, op0);
828 rewriter.replaceOpWithNewOp<mlir::LLVM::IntToPtrOp>(convert, toTy, op0);
834 rewriter.replaceOpWithNewOp<mlir::LLVM::PtrToIntOp>(convert, toTy, op0);
839 rewriter.replaceOpWithNewOp<mlir::LLVM::BitcastOp>(convert, toTy, op0);