MLIR  19.0.0git
Classes | Public Member Functions | List of all members
mlir::FallbackAsmResourceMap Class Reference

A fallback map containing external resources not explicitly handled by another parser/printer. More...

#include "mlir/IR/AsmState.h"

Classes

struct  OpaqueAsmResource
 This class represents an opaque resource. More...
 

Public Member Functions

AsmResourceParsergetParserFor (StringRef key)
 Return a parser than can be used for parsing entries for the given identifier key. More...
 
std::vector< std::unique_ptr< AsmResourcePrinter > > getPrinters ()
 Build a set of resource printers to print the resources within this map. More...
 

Detailed Description

A fallback map containing external resources not explicitly handled by another parser/printer.

Definition at line 412 of file AsmState.h.

Member Function Documentation

◆ getParserFor()

AsmResourceParser & FallbackAsmResourceMap::getParserFor ( StringRef  key)

Return a parser than can be used for parsing entries for the given identifier key.

Definition at line 1736 of file AsmPrinter.cpp.

Referenced by mlir::ParserConfig::getResourceParser().

◆ getPrinters()

std::vector< std::unique_ptr< AsmResourcePrinter > > FallbackAsmResourceMap::getPrinters ( )

Build a set of resource printers to print the resources within this map.

Definition at line 1744 of file AsmPrinter.cpp.

Referenced by mlir::BytecodeWriterConfig::attachFallbackResourcePrinter(), and mlir::AsmState::attachFallbackResourcePrinter().


The documentation for this class was generated from the following files: