IRNode
IRNode
dataclass
Bases: ABC
Source code in xdsl/ir/core.py
641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 |
|
is_ancestor(op: IRNode) -> bool
Returns true if the IRNode is an ancestor of another IRNode.
Source code in xdsl/ir/core.py
643 644 645 646 647 648 649 |
|
get_toplevel_object() -> IRNode
Get the operation, block, or region ancestor that has no parents.
Source code in xdsl/ir/core.py
651 652 653 654 655 |
|
is_structurally_equivalent(other: IRNode, context: dict[IRNode | SSAValue, IRNode | SSAValue] | None = None) -> bool
Check if two IR nodes are structurally equivalent.
Source code in xdsl/ir/core.py
657 658 659 660 661 662 663 |
|