Home
last modified time | relevance | path

Searched refs:eraseOp (Results 1 – 25 of 65) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Dcanonicalize.cc94 rewriter.eraseOp(terminator_op); in matchAndRewrite()
119 rewriter.eraseOp(if_op); in matchAndRewrite()
148 rewriter.eraseOp(inline_point); in InlineRegion()
/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp318 rewriter.eraseOp(terminator); in matchAndRewrite()
375 rewriter.eraseOp(thenTerminator); in matchAndRewrite()
389 rewriter.eraseOp(elseTerminator); in matchAndRewrite()
454 rewriter.eraseOp(reduceBlock.getTerminator()); in matchAndRewrite()
456 rewriter.eraseOp(reduce); in matchAndRewrite()
460 rewriter.eraseOp(parallelOp.getBody()->getTerminator()); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/
Dtf_to_quant.cc91 rewriter.eraseOp(id1); in matchAndRewrite()
96 rewriter.eraseOp(id2); in matchAndRewrite()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp218 rewriter.eraseOp(op); in matchAndRewrite()
242 rewriter.eraseOp(op); in matchAndRewrite()
339 rewriter.eraseOp(op); in matchAndRewrite()
733 rewriter.eraseOp(op); in matchAndRewrite()
863 rewriter.eraseOp(branchOp); in matchAndRewrite()
884 rewriter.eraseOp(branchOp); in matchAndRewrite()
909 rewriter.eraseOp(innerTerminator); in matchAndRewrite()
910 rewriter.eraseOp(op); in matchAndRewrite()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DLowerToLLVM.cpp78 rewriter.eraseOp(&nested); in matchAndRewrite()
99 rewriter.eraseOp(op); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_legalize_to_affine.cc96 rewriter.eraseOp(op); in matchAndRewrite()
132 rewriter.eraseOp(op); in matchAndRewrite()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DLowerToLLVM.cpp78 rewriter.eraseOp(&nested); in matchAndRewrite()
99 rewriter.eraseOp(op); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DVectorization.cpp477 rewriter.eraseOp(maybeFillOp); in matchAndRewrite()
478 rewriter.eraseOp(copyOp); in matchAndRewrite()
527 rewriter.eraseOp(copyOp); in matchAndRewrite()
528 rewriter.eraseOp(xferOp); in matchAndRewrite()
595 rewriter.eraseOp(op); in matchAndRewrite()
DFusionOnTensors.cpp736 rewriter.eraseOp(reshapeOp); in matchAndRewrite()
775 rewriter.eraseOp(reshapeOp); in matchAndRewrite()
834 rewriter.eraseOp(producer); in matchAndRewrite()
863 rewriter.eraseOp(producer); in matchAndRewrite()
926 rewriter.eraseOp(constantOp); in matchAndRewrite()
970 rewriter.eraseOp(producer); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertLaunchFuncToRuntimeCalls.cpp267 rewriter.eraseOp(op); in matchAndRewrite()
341 rewriter.eraseOp(op); in matchAndRewrite()
426 rewriter.eraseOp(waitOp); in matchAndRewrite()
639 rewriter.eraseOp(launchOp); in matchAndRewrite()
/external/llvm-project/mlir/test/lib/Rewrite/
DTestPDLByteCode.cpp43 rewriter.eraseOp(root); in customRewriter()
/external/llvm-project/mlir/lib/IR/
DPatternMatch.cpp175 void PatternRewriter::eraseOp(Operation *op) { in eraseOp() function in PatternRewriter
184 eraseOp(&op); in eraseBlock()
/external/llvm-project/mlir/lib/Conversion/OpenMPToLLVM/
DOpenMPToLLVM.cpp41 rewriter.eraseOp(op); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dinit_text_file_to_import.cc110 rewriter.eraseOp(op); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToOpenMP/
DSCFToOpenMP.cpp52 rewriter.eraseOp(parallelOp); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRV.cpp208 rewriter.eraseOp(funcOp); in lowerAsEntryFunction()
304 rewriter.eraseOp(moduleOp); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp285 rewriter.eraseOp(br); in matchAndRewrite()
288 rewriter.eraseOp(terminatorOp); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dlhlo_ops.cc155 rewriter.eraseOp(op); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_functional_ops.cc95 rewriter.eraseOp(op.getOperation()); in matchAndRewrite()
Dlegalize_variables.cc115 rewriter.eraseOp(var_op); in matchAndRewrite()
Dpost_quantize.cc167 rewriter.eraseOp(op); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPDLToPDLInterp.cpp76 void generateRewriter(pdl::EraseOp eraseOp,
486 pdl::EraseOp eraseOp, DenseMap<Value, Value> &rewriteValues, in generateRewriter() argument
488 builder.create<pdl_interp::EraseOp>(eraseOp.getLoc(), in generateRewriter()
489 mapRewriteValue(eraseOp.operation())); in generateRewriter()
/external/llvm-project/mlir/lib/Conversion/AVX512ToLLVM/
DConvertAVX512ToLLVM.cpp55 return rewriter.eraseOp(op), success(); in matchAndRewriteOneToOne()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_saved_model.cc482 for (auto func_op : to_remove) rewriter.eraseOp(func_op); in matchAndRewrite()
485 rewriter.eraseOp(op); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/
DAffineToStandard.cpp355 rewriter.eraseOp(op); in matchAndRewrite()
392 rewriter.eraseOp(op); in matchAndRewrite()
443 rewriter.eraseOp(op); in matchAndRewrite()

123