Beaver.MLIR.PatternRewriter (beaver v0.4.8)

Copy Markdown

This module defines functions working with MLIR PatternRewriter.

Summary

Functions

Delegates to Beaver.MLIR.RewriterBase.block/1 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.cancel_op_modification/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.clear_insertion_point/1 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.clone/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.clone_region_before/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.clone_with_mapping/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.clone_without_regions/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.context/1 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.erase_block/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.erase_op/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.finalize_op_modification/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.inline_region_before/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.insert/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.insertion_block/1 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.merge_blocks/5 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.move_block_before/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.move_op_after/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.move_op_before/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.operation_after_insertion/1 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.replace/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.replace_all_uses_with/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.replace_op/3 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.restore_insertion_point/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.save_insertion_point/1 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.start_op_modification/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.with_insertion_point/2 after converting the first argument as base.

Delegates to Beaver.MLIR.RewriterBase.with_insertion_point/3 after converting the first argument as base.

Types

t()

@type t() :: %Beaver.MLIR.PatternRewriter{ref: term()}

Functions

as_base(pattern)

See Beaver.MLIR.CAPI.mlirPatternRewriterAsBase/1.

block(rewriter)

Delegates to Beaver.MLIR.RewriterBase.block/1 after converting the first argument as base.

cancel_op_modification(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.cancel_op_modification/2 after converting the first argument as base.

clear_insertion_point(rewriter)

Delegates to Beaver.MLIR.RewriterBase.clear_insertion_point/1 after converting the first argument as base.

clone(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.clone/2 after converting the first argument as base.

clone_region_before(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.clone_region_before/3 after converting the first argument as base.

clone_with_mapping(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.clone_with_mapping/3 after converting the first argument as base.

clone_without_regions(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.clone_without_regions/2 after converting the first argument as base.

context(rewriter)

Delegates to Beaver.MLIR.RewriterBase.context/1 after converting the first argument as base.

create_block_before(rewriter, arg2, arg3, arg4, arg5)

Delegates to Beaver.MLIR.RewriterBase.create_block_before/5 after converting the first argument as base.

erase_block(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.erase_block/2 after converting the first argument as base.

erase_op(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.erase_op/2 after converting the first argument as base.

finalize_op_modification(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.finalize_op_modification/2 after converting the first argument as base.

inline_block_before(rewriter, arg2, arg3, arg4, arg5)

Delegates to Beaver.MLIR.RewriterBase.inline_block_before/5 after converting the first argument as base.

inline_region_before(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.inline_region_before/3 after converting the first argument as base.

insert(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.insert/2 after converting the first argument as base.

insertion_block(rewriter)

Delegates to Beaver.MLIR.RewriterBase.insertion_block/1 after converting the first argument as base.

make(value)

merge_blocks(rewriter, arg2, arg3, arg4, arg5)

Delegates to Beaver.MLIR.RewriterBase.merge_blocks/5 after converting the first argument as base.

move_block_before(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.move_block_before/3 after converting the first argument as base.

move_op_after(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.move_op_after/3 after converting the first argument as base.

move_op_before(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.move_op_before/3 after converting the first argument as base.

operation_after_insertion(rewriter)

Delegates to Beaver.MLIR.RewriterBase.operation_after_insertion/1 after converting the first argument as base.

replace(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.replace/3 after converting the first argument as base.

replace_all_op_uses_with_operation(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.replace_all_op_uses_with_operation/3 after converting the first argument as base.

replace_all_op_uses_with_value_range(rewriter, arg2, arg3, arg4)

Delegates to Beaver.MLIR.RewriterBase.replace_all_op_uses_with_value_range/4 after converting the first argument as base.

replace_all_uses_except(rewriter, arg2, arg3, arg4)

Delegates to Beaver.MLIR.RewriterBase.replace_all_uses_except/4 after converting the first argument as base.

replace_all_uses_with(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.replace_all_uses_with/3 after converting the first argument as base.

replace_all_value_range_uses_with(rewriter, arg2, arg3, arg4)

Delegates to Beaver.MLIR.RewriterBase.replace_all_value_range_uses_with/4 after converting the first argument as base.

replace_op(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.replace_op/3 after converting the first argument as base.

replace_op_uses_within_block(rewriter, arg2, arg3, arg4, arg5)

Delegates to Beaver.MLIR.RewriterBase.replace_op_uses_within_block/5 after converting the first argument as base.

replace_op_with_operation(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.replace_op_with_operation/3 after converting the first argument as base.

replace_op_with_values(rewriter, arg2, arg3, arg4)

Delegates to Beaver.MLIR.RewriterBase.replace_op_with_values/4 after converting the first argument as base.

restore_insertion_point(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.restore_insertion_point/2 after converting the first argument as base.

save_insertion_point(rewriter)

Delegates to Beaver.MLIR.RewriterBase.save_insertion_point/1 after converting the first argument as base.

set_insertion_point_after(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.set_insertion_point_after/2 after converting the first argument as base.

set_insertion_point_after_value(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.set_insertion_point_after_value/2 after converting the first argument as base.

set_insertion_point_before(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.set_insertion_point_before/2 after converting the first argument as base.

set_insertion_point_to_end(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.set_insertion_point_to_end/2 after converting the first argument as base.

set_insertion_point_to_start(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.set_insertion_point_to_start/2 after converting the first argument as base.

start_op_modification(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.start_op_modification/2 after converting the first argument as base.

with_insertion_point(rewriter, arg2)

Delegates to Beaver.MLIR.RewriterBase.with_insertion_point/2 after converting the first argument as base.

with_insertion_point(rewriter, arg2, arg3)

Delegates to Beaver.MLIR.RewriterBase.with_insertion_point/3 after converting the first argument as base.