Lines Matching refs:ConstantOp

271   return rewriter.create<mlir::LLVM::ConstantOp>(  in visitCirAttr()
278 return rewriter.create<mlir::LLVM::ConstantOp>( in visitCirAttr()
306 return rewriter.create<mlir::LLVM::ConstantOp>( in visitCirAttr()
319 mlir::Value ptrVal = rewriter.create<mlir::LLVM::ConstantOp>( in visitCirAttr()
355 auto init = rewriter.create<mlir::LLVM::ConstantOp>( in visitCirAttr()
388 return rewriter.create<mlir::LLVM::ConstantOp>( in visitCirAttr()
466 auto zero = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
474 auto negOne = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
486 auto one = rewriter.create<mlir::LLVM::ConstantOp>(op.getLoc(), resTy, 1); in matchAndRewrite()
520 auto one = rewriter.create<mlir::LLVM::ConstantOp>(op.getLoc(), resTy, 1); in matchAndRewrite()
593 mlir::Value zeroInt = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
658 auto zeroFloat = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
804 rewriter.create<mlir::LLVM::ConstantOp>(index.getLoc(), in matchAndRewrite()
852 mlir::Value size = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
1000 cir::ConstantOp op, OpAdaptor adaptor, in matchAndRewrite()
1067 rewriter.replaceOpWithNewOp<mlir::LLVM::ConstantOp>( in matchAndRewrite()
1096 rewriter.replaceOpWithNewOp<mlir::LLVM::ConstantOp>( in matchAndRewrite()
1403 auto one = rewriter.create<mlir::LLVM::ConstantOp>(loc, llvmType, 1); in matchAndRewrite()
1410 auto one = rewriter.create<mlir::LLVM::ConstantOp>(loc, llvmType, 1); in matchAndRewrite()
1423 zero = rewriter.create<mlir::LLVM::ConstantOp>(loc, llvmType, 0); in matchAndRewrite()
1437 rewriter.create<mlir::LLVM::ConstantOp>(loc, llvmType, denseVec); in matchAndRewrite()
1439 minusOne = rewriter.create<mlir::LLVM::ConstantOp>(loc, llvmType, -1); in matchAndRewrite()
1454 mlir::LLVM::ConstantOp one = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
1462 mlir::LLVM::ConstantOp minusOne = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
1494 auto one = rewriter.create<mlir::LLVM::ConstantOp>(loc, llvmType, 1); in matchAndRewrite()
1820 mlir::dyn_cast_if_present<cir::ConstantOp>(value.getDefiningOp()); in matchAndRewrite()
2196 rewriter.create<mlir::LLVM::ConstantOp>(loc, rewriter.getI64Type(), i); in matchAndRewrite()
2268 dyn_cast<mlir::LLVM::ConstantOp>(elementValue.getDefiningOp())) { in matchAndRewrite()
2272 rewriter.replaceOpWithNewOp<mlir::LLVM::ConstantOp>( in matchAndRewrite()
2280 rewriter.replaceOpWithNewOp<mlir::LLVM::ConstantOp>( in matchAndRewrite()
2287 rewriter.create<mlir::LLVM::ConstantOp>(loc, rewriter.getI64Type(), 0); in matchAndRewrite()
2337 mlir::Value maskValue = rewriter.create<mlir::LLVM::ConstantOp>( in matchAndRewrite()
2344 rewriter.create<mlir::LLVM::ConstantOp>(loc, rewriter.getI64Type(), i); in matchAndRewrite()
2355 rewriter.create<mlir::LLVM::ConstantOp>(loc, rewriter.getI64Type(), i); in matchAndRewrite()