This class manages numbering IR entities in preparation of bytecode emission.
More...
#include "Bytecode/Writer/IRNumbering.h"
This class manages numbering IR entities in preparation of bytecode emission.
Definition at line 134 of file IRNumbering.h.
◆ IRNumberingState()
IRNumberingState::IRNumberingState |
( |
Operation * |
op | ) |
|
◆ getAttributes()
auto mlir::bytecode::detail::IRNumberingState::getAttributes |
( |
| ) |
|
|
inline |
◆ getBlockValueCount()
std::pair<unsigned, unsigned> mlir::bytecode::detail::IRNumberingState::getBlockValueCount |
( |
Region * |
region | ) |
|
|
inline |
Return the block and value counts of the given region.
Definition at line 173 of file IRNumbering.h.
◆ getDialects()
auto mlir::bytecode::detail::IRNumberingState::getDialects |
( |
| ) |
|
|
inline |
◆ getNumber() [1/6]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Attribute |
attr | ) |
|
|
inline |
Return the number for the given IR unit.
Definition at line 147 of file IRNumbering.h.
◆ getNumber() [2/6]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Block * |
block | ) |
|
|
inline |
◆ getNumber() [3/6]
◆ getNumber() [4/6]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
OperationName |
opName | ) |
|
|
inline |
◆ getNumber() [5/6]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Type |
type | ) |
|
|
inline |
◆ getNumber() [6/6]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Value |
value | ) |
|
|
inline |
◆ getOperationCount()
unsigned mlir::bytecode::detail::IRNumberingState::getOperationCount |
( |
Block * |
block | ) |
|
|
inline |
Return the number of operations in the given block.
Definition at line 179 of file IRNumbering.h.
◆ getOpNames()
auto mlir::bytecode::detail::IRNumberingState::getOpNames |
( |
| ) |
|
|
inline |
◆ getTypes()
auto mlir::bytecode::detail::IRNumberingState::getTypes |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: