|
MLIR 22.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. | |
| std::vector< std::unique_ptr< AsmResourcePrinter > > | getPrinters () |
| Build a set of resource printers to print the resources within this map. | |
A fallback map containing external resources not explicitly handled by another parser/printer.
Definition at line 421 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 1875 of file AsmPrinter.cpp.
| std::vector< std::unique_ptr< AsmResourcePrinter > > FallbackAsmResourceMap::getPrinters | ( | ) |
Build a set of resource printers to print the resources within this map.
Definition at line 1883 of file AsmPrinter.cpp.
References mlir::AsmResourcePrinter::fromCallable(), and mlir::AsmResourceParser::getName().
Referenced by mlir::AsmState::attachFallbackResourcePrinter(), and mlir::BytecodeWriterConfig::attachFallbackResourcePrinter().