Class NodeInterface

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public mlir::OpInterface< NodeInterface, detail::NodeInterfaceInterfaceTraits >

Class Documentation

class NodeInterface : public mlir::OpInterface<NodeInterface, detail::NodeInterfaceInterfaceTraits>

Public Functions

std::string getNodeName()

Gets the name of this node.

unsigned getNumInputPorts()

Gets the number of input ports.

::mlir::Value getInputPort(unsigned index)

Gets the input port with the given index.

::llvm::SmallVector<::mlir::Type> getInputPortTypes()

Gets the range of all input port base types.

::llvm::SmallVector<::mlir::Value> getInputPorts()

Gets the range of all input ports.

unsigned getNumOutputPorts()

Gets the number of output ports.

::mlir::Value getOutputPort(unsigned index)

Gets the output port with the given index.

::llvm::SmallVector<::mlir::Type> getOutputPortTypes()

Gets the range of all output port base types.

::llvm::SmallVector<::mlir::Value> getOutputPorts()

Gets the range of all output ports.

::mlir::FunctionType getBaseFunctionType()

Gets base FunctionType.

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