MLIR  19.0.0git
Namespaces | Enumerations | Functions
Encoding.h File Reference
#include "mlir/IR/Value.h"
#include <cstdint>
#include <type_traits>

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::bytecode
 
 mlir::bytecode::Section
 
 mlir::bytecode::OpEncodingMask
 This enum represents a mask of all of the potential components of an operation.
 

Enumerations

enum  mlir::bytecode::BytecodeVersion {
  mlir::bytecode::kMinSupportedVersion = 0 , mlir::bytecode::kDialectVersioning = 1 , mlir::bytecode::kLazyLoading = 2 , mlir::bytecode::kUseListOrdering = 3 ,
  mlir::bytecode::kElideUnknownBlockArgLocation = 4 , mlir::bytecode::kNativePropertiesEncoding = 5 , mlir::bytecode::kNativePropertiesODSSegmentSize = 6 , mlir::bytecode::kVersion = 6 ,
  mlir::bytecode::kAlignmentByte = 0xCB
}
 
enum  mlir::bytecode::Section::ID : uint8_t {
  mlir::bytecode::Section::kString = 0 , mlir::bytecode::Section::kDialect = 1 , mlir::bytecode::Section::kAttrType = 2 , mlir::bytecode::Section::kAttrTypeOffset = 3 ,
  mlir::bytecode::Section::kIR = 4 , mlir::bytecode::Section::kResource = 5 , mlir::bytecode::Section::kResourceOffset = 6 , mlir::bytecode::Section::kDialectVersions = 7 ,
  mlir::bytecode::Section::kProperties = 8 , mlir::bytecode::Section::kNumSections = 9
}
 
enum  : uint8_t {
  mlir::bytecode::OpEncodingMask::kHasAttrs = 0b00000001 , mlir::bytecode::OpEncodingMask::kHasResults = 0b00000010 , mlir::bytecode::OpEncodingMask::kHasOperands = 0b00000100 , mlir::bytecode::OpEncodingMask::kHasSuccessors = 0b00001000 ,
  mlir::bytecode::OpEncodingMask::kHasInlineRegions = 0b00010000 , mlir::bytecode::OpEncodingMask::kHasUseListOrders = 0b00100000 , mlir::bytecode::OpEncodingMask::kHasProperties = 0b01000000
}
 

Functions

template<typename OperandT >
static uint64_t mlir::bytecode::getUseID (OperandT &val, unsigned ownerID)
 Get the unique ID of a value use. More...