MLIR  19.0.0git
Classes | Functions
IRNumbering.cpp File Reference
#include "IRNumbering.h"
#include "mlir/Bytecode/BytecodeImplementation.h"
#include "mlir/Bytecode/BytecodeOpInterface.h"
#include "mlir/Bytecode/Encoding.h"
#include "mlir/IR/AsmState.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/OpDefinition.h"

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. More...
 

Function Documentation

◆ groupByDialectPerByte()

template<typename T >
static void groupByDialectPerByte ( 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 80 of file IRNumbering.cpp.

References mlir::detail::enumerate().