Lines Matching defs:resource
133 return entry.emitError() << "unknown 'resource' key '" << entry.getKey()
159 "mlir-elide-resource-strings-if-larger",
457 /// Print a reference to the given resource that is owned by the given
459 void printResourceHandle(const AsmDialectResourceHandle &resource);
1885 /// Return the non-dialect resource printers.
1916 /// A collection of non-dialect resource printers.
2192 const AsmDialectResourceHandle &resource) {
2193 auto *interface = cast<OpAsmDialectInterface>(resource.getDialect());
2194 os << interface->getResourceKey(resource);
2195 state.getDialectResources()[resource.getDialect()].insert(resource);
2276 // We choose to use a dense resource ElementsAttr literal with conspicuous
2911 void AsmPrinter::printResourceHandle(const AsmDialectResourceHandle &resource) {
2913 impl->printResourceHandle(resource);
3271 /// This class represents a resource builder implementation for the MLIR
3312 /// Print the resource sections for the file metadata dictionary.
3377 // Emit the top-level resource entry if we haven't yet.
3383 // Emit the parent resource entry if we haven't yet.