MLIR
20.0.0git
|
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 | |
AsmResourceParser & | getParserFor (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... | |
A fallback map containing external resources not explicitly handled by another parser/printer.
Definition at line 419 of file AsmState.h.
AsmResourceParser & FallbackAsmResourceMap::getParserFor | ( | StringRef | key | ) |
Return a parser than can be used for parsing entries for the given identifier key.
Definition at line 1744 of file AsmPrinter.cpp.
Referenced by mlir::ParserConfig::getResourceParser().
std::vector< std::unique_ptr< AsmResourcePrinter > > FallbackAsmResourceMap::getPrinters | ( | ) |
Build a set of resource printers to print the resources within this map.
Definition at line 1752 of file AsmPrinter.cpp.
References mlir::AsmResourcePrinter::fromCallable().
Referenced by mlir::BytecodeWriterConfig::attachFallbackResourcePrinter(), and mlir::AsmState::attachFallbackResourcePrinter().