23 std::shared_ptr<const rvsdg::Type>
type)
51 throw util::Error(
"Number of subregions must be greater than zero.");
virtual const Operation & GetOperation() const noexcept=0
rvsdg::Region * region() const noexcept
virtual std::string debug_string() const =0
Represent acyclic RVSDG subgraphs.
void notifyNodeDestroy(Node *node)
void notifyNodeCreate(Node *node)
std::string DebugString() const override
~StructuralNode() noexcept override
std::vector< std::unique_ptr< rvsdg::Region > > subregions_
StructuralNode(rvsdg::Region *region, size_t nsubregions)
size_t nsubregions() const noexcept
~StructuralOutput() noexcept override
StructuralOutput(StructuralNode *node, std::shared_ptr< const rvsdg::Type > type)
bool empty() const noexcept
static std::string type(const Node *n)