My Project
Public Member Functions | List of all members
mlir::OpAsmDialectInterface Class Reference

#include <OpImplementation.h>

Inheritance diagram for mlir::OpAsmDialectInterface:
Inheritance graph
[legend]
Collaboration diagram for mlir::OpAsmDialectInterface:
Collaboration graph
[legend]

Public Member Functions

 OpAsmDialectInterface (Dialect *dialect)
 
virtual void getAttributeKindAliases (SmallVectorImpl< std::pair< unsigned, StringRef >> &aliases) const
 
virtual void getAttributeAliases (SmallVectorImpl< std::pair< Attribute, StringRef >> &aliases) const
 
virtual void getTypeAliases (SmallVectorImpl< std::pair< Type, StringRef >> &aliases) const
 Hook for defining Type aliases. More...
 
virtual void getAsmResultNames (Operation *op, OpAsmSetValueNameFn setNameFn) const
 
virtual void getAsmBlockArgumentNames (Block *block, OpAsmSetValueNameFn setNameFn) const
 

Additional Inherited Members

- Public Types inherited from mlir::detail::DialectInterfaceBase< ConcreteType, BaseT >
using Base = DialectInterfaceBase< ConcreteType, BaseT >
 
- Static Public Member Functions inherited from mlir::detail::DialectInterfaceBase< ConcreteType, BaseT >
static ClassIDgetInterfaceID ()
 Get a unique id for the derived interface type. More...
 
- Protected Member Functions inherited from mlir::detail::DialectInterfaceBase< ConcreteType, BaseT >
 DialectInterfaceBase (Dialect *dialect)
 

Constructor & Destructor Documentation

◆ OpAsmDialectInterface()

mlir::OpAsmDialectInterface::OpAsmDialectInterface ( Dialect dialect)
inline

Member Function Documentation

◆ getAsmBlockArgumentNames()

virtual void mlir::OpAsmDialectInterface::getAsmBlockArgumentNames ( Block block,
OpAsmSetValueNameFn  setNameFn 
) const
inlinevirtual

Get a special name to use when printing the entry block arguments of the region contained by an operation in this dialect.

◆ getAsmResultNames()

virtual void mlir::OpAsmDialectInterface::getAsmResultNames ( Operation op,
OpAsmSetValueNameFn  setNameFn 
) const
inlinevirtual

Get a special name to use when printing the given operation. See OpAsmInterface.td::getAsmResultNames for usage details and documentation.

◆ getAttributeAliases()

virtual void mlir::OpAsmDialectInterface::getAttributeAliases ( SmallVectorImpl< std::pair< Attribute, StringRef >> &  aliases) const
inlinevirtual

Hook for defining Attribute aliases. These aliases must not contain . or end with a numeric digit([0-9]+).

◆ getAttributeKindAliases()

virtual void mlir::OpAsmDialectInterface::getAttributeKindAliases ( SmallVectorImpl< std::pair< unsigned, StringRef >> &  aliases) const
inlinevirtual

Hooks for getting identifier aliases for symbols. The identifier is used in place of the symbol when printing textual IR.

Hook for defining Attribute kind aliases. This will generate an alias for all attributes of the given kind in the form : <alias>[0-9]+. These aliases must not contain ..

◆ getTypeAliases()

virtual void mlir::OpAsmDialectInterface::getTypeAliases ( SmallVectorImpl< std::pair< Type, StringRef >> &  aliases) const
inlinevirtual

Hook for defining Type aliases.


The documentation for this class was generated from the following file: