MLIR 22.0.0git
IRNumbering.cpp File Reference

Go to the source code of this file.

Classes

struct  mlir::bytecode::detail::IRNumberingState::NumberingDialectWriter

Functions

template<typename T>
static void groupByDialectPerByte (T range)
 Group and sort the elements of the given range by their parent dialect.

Function Documentation

◆ groupByDialectPerByte()

template<typename T>
void groupByDialectPerByte ( T range)
static

Group and sort the elements of the given range by their parent dialect.

This grouping is applied to sub-sections of the ranged defined by how many bytes it takes to encode a varint index to that sub-section.

Definition at line 81 of file IRNumbering.cpp.

References lhs, and rhs.

Referenced by mlir::bytecode::detail::IRNumberingState::IRNumberingState().