Module melior::dialect::ods::pdl_interp
source · Expand description
pdl_interp
dialect.
The PDL Interpreter dialect provides a lower level abstraction compared to the PDL dialect, and is targeted towards low level optimization and interpreter code generation. The dialect operations encapsulates low-level pattern match and rewrite “primitives”, such as navigating the IR (Operation::getOperand), creating new operations (OpBuilder::create), etc. Many of the operations within this dialect also fuse branching control flow with some form of a predicate comparison operation. This type of fusion reduces the amount of work that an interpreter must do when executing.
Structs§
- An
apply_constraint
operation. Apply a constraint to a set of positional values. - A builder for an
apply_constraint
operation. - An
apply_rewrite
operation. Invoke and apply an externally registered rewrite method. - A builder for an
apply_rewrite
operation. - An
are_equal
operation. Check if two positional values or ranges are equivalent. - A builder for an
are_equal
operation. - A
branch
operation. General branch operation. - A builder for a
branch
operation. - A
check_attribute
operation. Check the value of anAttribute
. - A builder for a
check_attribute
operation. - A
check_operand_count
operation. Check the number of operands of anOperation
. - A builder for a
check_operand_count
operation. - A
check_operation_name
operation. Check the OperationName of anOperation
. - A builder for a
check_operation_name
operation. - A
check_result_count
operation. Check the number of results of anOperation
. - A builder for a
check_result_count
operation. - A
check_type
operation. Compare a type to a known value. - A builder for a
check_type
operation. - A
check_types
operation. Compare a range of types to a range of known values. - A builder for a
check_types
operation. - A
continue
operation. Breaks the current iteration. - A builder for a
continue
operation. - A
create_attribute
operation. Create an interpreter handle to a constantAttribute
. - A builder for a
create_attribute
operation. - A
create_operation
operation. Create an instance of a specificOperation
. - A builder for a
create_operation
operation. - A
create_range
operation. Construct a range of PDL entities. - A builder for a
create_range
operation. - A
create_type
operation. Create an interpreter handle to a constantType
. - A builder for a
create_type
operation. - A
create_types
operation. Create an interpreter handle to a range of constantType
s. - A builder for a
create_types
operation. - An
erase
operation. Mark an operation aserased
. - A builder for an
erase
operation. - An
extract
operation. Extract the item at the specified index in a range. - A builder for an
extract
operation. - A
finalize
operation. Finalize a pattern match or rewrite sequence. - A builder for a
finalize
operation. - A
foreach
operation. Iterates over a range of values or ranges. - A builder for a
foreach
operation. - A
func
operation. PDL Interpreter Function Operation. - A builder for a
func
operation. - A
get_attribute
operation. Get a specified attribute value from anOperation
. - A builder for a
get_attribute
operation. - A
get_attribute_type
operation. Get the result type of a specifiedAttribute
. - A builder for a
get_attribute_type
operation. - A
get_defining_op
operation. Get the defining operation of aValue
. - A builder for a
get_defining_op
operation. - A
get_operand
operation. Get a specified operand from anOperation
. - A builder for a
get_operand
operation. - A
get_operands
operation. Get a specified operand group from anOperation
. - A builder for a
get_operands
operation. - A
get_result
operation. Get a specified result from anOperation
. - A builder for a
get_result
operation. - A
get_results
operation. Get a specified result group from anOperation
. - A builder for a
get_results
operation. - A
get_users
operation. Get the users of aValue
. - A builder for a
get_users
operation. - A
get_value_type
operation. Get the result type of a specifiedValue
. - A builder for a
get_value_type
operation. - An
is_not_null
operation. Check if a positional value is non-null. - A builder for an
is_not_null
operation. - A
record_match
operation. Record the metadata for a successful pattern match. - A builder for a
record_match
operation. - A
replace
operation. Mark an operation asreplace
d. - A builder for a
replace
operation. - A
switch_attribute
operation. Switch on the value of anAttribute
. - A builder for a
switch_attribute
operation. - A
switch_operand_count
operation. Switch on the operand count of anOperation
. - A builder for a
switch_operand_count
operation. - A
switch_operation_name
operation. Switch on the OperationName of anOperation
. - A builder for a
switch_operation_name
operation. - A
switch_result_count
operation. Switch on the result count of anOperation
. - A builder for a
switch_result_count
operation. - A
switch_type
operation. Switch on aType
value. - A builder for a
switch_type
operation. - A
switch_types
operation. Switch on a range ofType
values. - A builder for a
switch_types
operation.
Functions§
- Creates an
apply_constraint
operation. - Creates an
apply_rewrite
operation. - Creates an
are_equal
operation. - Creates a
branch
operation. - Creates a
check_attribute
operation. - Creates a
check_operand_count
operation. - Creates a
check_operation_name
operation. - Creates a
check_result_count
operation. - Creates a
check_type
operation. - Creates a
check_types
operation. - Creates a
continue
operation. - Creates a
create_attribute
operation. - Creates a
create_operation
operation. - Creates a
create_range
operation. - Creates a
create_type
operation. - Creates a
create_types
operation. - Creates an
erase
operation. - Creates an
extract
operation. - Creates a
finalize
operation. - Creates a
foreach
operation. - Creates a
func
operation. - Creates a
get_attribute
operation. - Creates a
get_attribute_type
operation. - Creates a
get_defining_op
operation. - Creates a
get_operand
operation. - Creates a
get_operands
operation. - Creates a
get_result
operation. - Creates a
get_results
operation. - Creates a
get_users
operation. - Creates a
get_value_type
operation. - Creates an
is_not_null
operation. - Creates a
record_match
operation. - Creates a
replace
operation. - Creates a
switch_attribute
operation. - Creates a
switch_operand_count
operation. - Creates a
switch_operation_name
operation. - Creates a
switch_result_count
operation. - Creates a
switch_type
operation. - Creates a
switch_types
operation.