Lines Matching refs:ConversionPatternRewriter
1247 ConversionPatternRewriter::ConversionPatternRewriter(MLIRContext *ctx) in ConversionPatternRewriter() function in ConversionPatternRewriter
1250 ConversionPatternRewriter::~ConversionPatternRewriter() {} in ~ConversionPatternRewriter()
1253 void ConversionPatternRewriter::replaceOp(Operation *op, ValueRange newValues) { in replaceOp()
1264 void ConversionPatternRewriter::eraseOp(Operation *op) { in eraseOp()
1273 void ConversionPatternRewriter::eraseBlock(Block *block) { in eraseBlock()
1287 Block *ConversionPatternRewriter::applySignatureConversion( in applySignatureConversion()
1292 FailureOr<Block *> ConversionPatternRewriter::convertRegionTypes( in convertRegionTypes()
1298 void ConversionPatternRewriter::replaceUsesOfBlockArgument(BlockArgument from, in replaceUsesOfBlockArgument()
1312 Value ConversionPatternRewriter::getRemappedValue(Value key) { in getRemappedValue()
1317 void ConversionPatternRewriter::notifyBlockCreated(Block *block) { in notifyBlockCreated()
1322 Block *ConversionPatternRewriter::splitBlock(Block *block, in splitBlock()
1330 void ConversionPatternRewriter::mergeBlocks(Block *source, Block *dest, in mergeBlocks()
1345 void ConversionPatternRewriter::inlineRegionBefore(Region ®ion, in inlineRegionBefore()
1353 void ConversionPatternRewriter::cloneRegionBefore( in cloneRegionBefore()
1367 void ConversionPatternRewriter::notifyOperationInserted(Operation *op) { in notifyOperationInserted()
1376 void ConversionPatternRewriter::startRootUpdate(Operation *op) { in startRootUpdate()
1384 void ConversionPatternRewriter::finalizeRootUpdate(Operation *op) { in finalizeRootUpdate()
1394 void ConversionPatternRewriter::cancelRootUpdate(Operation *op) { in cancelRootUpdate()
1407 LogicalResult ConversionPatternRewriter::notifyMatchFailure( in notifyMatchFailure()
1413 detail::ConversionPatternRewriterImpl &ConversionPatternRewriter::getImpl() { in getImpl()
1425 auto &dialectRewriter = static_cast<ConversionPatternRewriter &>(rewriter); in matchAndRewrite()
1465 LogicalResult legalize(Operation *op, ConversionPatternRewriter &rewriter);
1473 ConversionPatternRewriter &rewriter);
1478 ConversionPatternRewriter &rewriter);
1483 ConversionPatternRewriter &rewriter);
1487 ConversionPatternRewriter &rewriter,
1492 ConversionPatternRewriter &rewriter,
1497 ConversionPatternRewriter &rewriter, ConversionPatternRewriterImpl &impl,
1499 LogicalResult legalizePatternRootUpdates(ConversionPatternRewriter &rewriter,
1572 ConversionPatternRewriter &rewriter) { in legalize()
1651 ConversionPatternRewriter &rewriter) { in legalizeWithFold()
1690 ConversionPatternRewriter &rewriter) { in legalizeWithPattern()
1722 ConversionPatternRewriter &rewriter) { in canApplyPattern()
1745 ConversionPatternRewriter &rewriter, in legalizePatternResult()
1784 Operation *op, ConversionPatternRewriter &rewriter, in legalizePatternBlockActions()
1836 ConversionPatternRewriter &rewriter, ConversionPatternRewriterImpl &impl, in legalizePatternCreatedOperations()
1850 ConversionPatternRewriter &rewriter, ConversionPatternRewriterImpl &impl, in legalizePatternRootUpdates()
2087 LogicalResult convert(ConversionPatternRewriter &rewriter, Operation *op);
2091 LogicalResult finalize(ConversionPatternRewriter &rewriter);
2095 legalizeConvertedArgumentTypes(ConversionPatternRewriter &rewriter,
2108 ConversionPatternRewriter &rewriter,
2125 LogicalResult OperationConverter::convert(ConversionPatternRewriter &rewriter, in convert()
2170 ConversionPatternRewriter rewriter(ops.front()->getContext()); in convertOperations()
2192 OperationConverter::finalize(ConversionPatternRewriter &rewriter) { in finalize()
2235 ConversionPatternRewriter &rewriter, in legalizeConvertedArgumentTypes()
2285 TypeConverter *replConverter, ConversionPatternRewriter &rewriter, in legalizeChangedResultType()
2511 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()