PatternRewriter

scair.transformations.PatternRewriter
class PatternRewriter(var current_op: Operation)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def erase_matched_op(): Unit
def erase_op(op: Operation): Unit
def insert_op_at_end_of(block: Block, ops: Operation | Seq[Operation]): Unit
def insert_op_at_location(insertion_point: InsertPoint, ops: Operation | Seq[Operation]): Unit
def insert_op_at_start_of(block: Block, ops: Operation | Seq[Operation]): Unit
def insert_ops_after(op: Operation, new_ops: Operation | Seq[Operation]): Unit
def insert_ops_before(op: Operation, new_ops: Operation | Seq[Operation]): Unit
def replace_op(op: Operation, new_ops: Operation | Seq[Operation], new_results: Option[Seq[Value[Attribute]]]): Unit

Concrete fields

var has_done_action: Boolean