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 151 of file IRNumbering.h.
◆ IRNumberingState()
◆ 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 194 of file IRNumbering.h.
◆ getDesiredBytecodeVersion()
int64_t IRNumberingState::getDesiredBytecodeVersion |
( |
| ) |
const |
◆ getDialects()
auto mlir::bytecode::detail::IRNumberingState::getDialects |
( |
| ) |
|
|
inline |
◆ getNumber() [1/7]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Attribute |
attr | ) |
|
|
inline |
Return the number for the given IR unit.
Definition at line 164 of file IRNumbering.h.
◆ getNumber() [2/7]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Block * |
block | ) |
|
|
inline |
◆ getNumber() [3/7]
◆ getNumber() [4/7]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Operation * |
op | ) |
|
|
inline |
◆ getNumber() [5/7]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
OperationName |
opName | ) |
|
|
inline |
◆ getNumber() [6/7]
unsigned mlir::bytecode::detail::IRNumberingState::getNumber |
( |
Type |
type | ) |
|
|
inline |
◆ getNumber() [7/7]
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 200 of file IRNumbering.h.
◆ getOpNames()
auto mlir::bytecode::detail::IRNumberingState::getOpNames |
( |
| ) |
|
|
inline |
◆ getTypes()
auto mlir::bytecode::detail::IRNumberingState::getTypes |
( |
| ) |
|
|
inline |
◆ isIsolatedFromAbove()
bool mlir::bytecode::detail::IRNumberingState::isIsolatedFromAbove |
( |
Operation * |
op | ) |
|
|
inline |
Return if the given operation is isolated from above.
Definition at line 206 of file IRNumbering.h.
The documentation for this class was generated from the following files: