Class GraphInterface

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public mlir::OpInterface< GraphInterface, detail::GraphInterfaceInterfaceTraits >

Class Documentation

class GraphInterface : public mlir::OpInterface<GraphInterface, detail::GraphInterfaceInterfaceTraits>

Public Functions

std::string getGraphName()

Gets the name of the graph.

bool isSubGraph()

Checks if the graph is a sub-graph.

::llvm::SmallVector<::mlir::Operation*> getGraphNodes()

Gets the nodes of a graph.

::llvm::SmallVector<::mlir::Operation*> getGraphSubGs()

Gets the subgraphs in a graph.

::llvm::SmallVector<::mlir::Operation*> getGraphEdges()

Gets the edges of a graph.

template<typename ConcreteOp>
struct Trait : public mlir::dfg::detail::GraphInterfaceTrait<ConcreteOp>