Lines Matching refs:replaceOpWithNewOp
319 rewriter.replaceOpWithNewOp<LLVM::CoroIdOp>( in matchAndRewrite()
373 rewriter.replaceOpWithNewOp<LLVM::CoroBeginOp>( in matchAndRewrite()
403 rewriter.replaceOpWithNewOp<LLVM::CallOp>(op, TypeRange(), in matchAndRewrite()
452 rewriter.replaceOpWithNewOp<LLVM::CoroSaveOp>( in matchAndRewrite()
518 rewriter.replaceOpWithNewOp<LLVM::SwitchOp>( in matchAndRewrite()
552 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite()
577 rewriter.replaceOpWithNewOp<func::CallOp>(op, kCreateValue, resultType, in matchAndRewrite()
604 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite()
630 rewriter.replaceOpWithNewOp<func::CallOp>(op, apiFuncName, TypeRange(), in matchAndRewrite()
656 rewriter.replaceOpWithNewOp<func::CallOp>(op, apiFuncName, TypeRange(), in matchAndRewrite()
682 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite()
774 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite()
857 rewriter.replaceOpWithNewOp<LLVM::LoadOp>(op, castedStoragePtr.getResult()); in matchAndRewrite()
882 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite()
906 rewriter.replaceOpWithNewOp<func::CallOp>(op, kGetNumWorkerThreads, in matchAndRewrite()
936 rewriter.replaceOpWithNewOp<func::CallOp>(op, TypeRange(), apiFunctionName, in matchAndRewrite()
972 rewriter.replaceOpWithNewOp<func::ReturnOp>(op, adaptor.getOperands()); in matchAndRewrite()
1095 rewriter.replaceOpWithNewOp<AwaitOp>(op, adaptor.getOperands().front()); in matchAndRewrite()
1107 rewriter.replaceOpWithNewOp<async::YieldOp>(op, adaptor.getOperands()); in matchAndRewrite()