MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::BytecodeWriterConfig::Impl Struct Reference

Public Member Functions

 Impl (StringRef producer)
 

Public Attributes

int64_t bytecodeVersion = bytecode::kVersion
 Version to use when writing. More...
 
bool shouldElideResourceData = false
 A flag specifying whether to elide emission of resources into the bytecode file. More...
 
llvm::StringMap< std::unique_ptr< DialectVersion > > dialectVersionMap
 A map containing dialect version information for each dialect to emit. More...
 
StringRef producer
 The producer of the bytecode. More...
 
llvm::SmallVector< std::unique_ptr< AttrTypeBytecodeWriter< Attribute > > > attributeWriterCallbacks
 Printer callbacks used to emit custom type and attribute encodings. More...
 
llvm::SmallVector< std::unique_ptr< AttrTypeBytecodeWriter< Type > > > typeWriterCallbacks
 
SmallVector< std::unique_ptr< AsmResourcePrinter > > externalResourcePrinters
 A collection of non-dialect resource printers. More...
 

Detailed Description

Definition at line 35 of file BytecodeWriter.cpp.

Constructor & Destructor Documentation

◆ Impl()

mlir::BytecodeWriterConfig::Impl::Impl ( StringRef  producer)
inline

Definition at line 36 of file BytecodeWriter.cpp.

Member Data Documentation

◆ attributeWriterCallbacks

llvm::SmallVector<std::unique_ptr<AttrTypeBytecodeWriter<Attribute> > > mlir::BytecodeWriterConfig::Impl::attributeWriterCallbacks

Printer callbacks used to emit custom type and attribute encodings.

Definition at line 54 of file BytecodeWriter.cpp.

◆ bytecodeVersion

int64_t mlir::BytecodeWriterConfig::Impl::bytecodeVersion = bytecode::kVersion

Version to use when writing.

Note: This only differs from kVersion if a specific version is set.

Definition at line 40 of file BytecodeWriter.cpp.

◆ dialectVersionMap

llvm::StringMap<std::unique_ptr<DialectVersion> > mlir::BytecodeWriterConfig::Impl::dialectVersionMap

A map containing dialect version information for each dialect to emit.

Definition at line 47 of file BytecodeWriter.cpp.

◆ externalResourcePrinters

SmallVector<std::unique_ptr<AsmResourcePrinter> > mlir::BytecodeWriterConfig::Impl::externalResourcePrinters

A collection of non-dialect resource printers.

Definition at line 59 of file BytecodeWriter.cpp.

◆ producer

StringRef mlir::BytecodeWriterConfig::Impl::producer

The producer of the bytecode.

Definition at line 50 of file BytecodeWriter.cpp.

◆ shouldElideResourceData

bool mlir::BytecodeWriterConfig::Impl::shouldElideResourceData = false

A flag specifying whether to elide emission of resources into the bytecode file.

Definition at line 44 of file BytecodeWriter.cpp.

◆ typeWriterCallbacks

llvm::SmallVector<std::unique_ptr<AttrTypeBytecodeWriter<Type> > > mlir::BytecodeWriterConfig::Impl::typeWriterCallbacks

Definition at line 56 of file BytecodeWriter.cpp.


The documentation for this struct was generated from the following file: