MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::bytecode::detail::DialectNumbering Struct Reference

This class represents a numbering entry for an Dialect. More...

#include "Bytecode/Writer/IRNumbering.h"

Public Member Functions

 DialectNumbering (StringRef name, unsigned number)
 

Public Attributes

StringRef name
 The namespace of the dialect. More...
 
unsigned number
 The number assigned to the dialect. More...
 
const BytecodeDialectInterfaceinterface = nullptr
 The bytecode dialect interface of the dialect if defined. More...
 
const OpAsmDialectInterfaceasmInterface = nullptr
 The asm dialect interface of the dialect if defined. More...
 
SetVector< AsmDialectResourceHandleresources
 The referenced resources of this dialect. More...
 
llvm::MapVector< StringRef, DialectResourceNumbering * > resourceMap
 A mapping from resource key to the corresponding resource numbering entry. More...
 

Detailed Description

This class represents a numbering entry for an Dialect.

Definition at line 106 of file IRNumbering.h.

Constructor & Destructor Documentation

◆ DialectNumbering()

mlir::bytecode::detail::DialectNumbering::DialectNumbering ( StringRef  name,
unsigned  number 
)
inline

Definition at line 107 of file IRNumbering.h.

Member Data Documentation

◆ asmInterface

const OpAsmDialectInterface* mlir::bytecode::detail::DialectNumbering::asmInterface = nullptr

The asm dialect interface of the dialect if defined.

Definition at line 120 of file IRNumbering.h.

◆ interface

const BytecodeDialectInterface* mlir::bytecode::detail::DialectNumbering::interface = nullptr

The bytecode dialect interface of the dialect if defined.

Definition at line 117 of file IRNumbering.h.

◆ name

StringRef mlir::bytecode::detail::DialectNumbering::name

The namespace of the dialect.

Definition at line 111 of file IRNumbering.h.

◆ number

unsigned mlir::bytecode::detail::DialectNumbering::number

The number assigned to the dialect.

Definition at line 114 of file IRNumbering.h.

Referenced by writeDialectGrouping().

◆ resourceMap

llvm::MapVector<StringRef, DialectResourceNumbering *> mlir::bytecode::detail::DialectNumbering::resourceMap

A mapping from resource key to the corresponding resource numbering entry.

Definition at line 126 of file IRNumbering.h.

◆ resources

SetVector<AsmDialectResourceHandle> mlir::bytecode::detail::DialectNumbering::resources

The referenced resources of this dialect.

Definition at line 123 of file IRNumbering.h.


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