Lines Matching defs:resource
37 void writeResourceHandle(const AsmDialectResourceHandle &resource) override {
38 state.number(resource.getDialect(), resource);
540 "expected dialect owning a resource to implement OpAsmDialectInterface");
542 for (const auto &resource : resources) {
543 // Check if this is a newly seen resource.
544 if (!dialectNumber.resources.insert(resource))
549 dialectNumber.asmInterface->getResourceKey(resource));
551 dialectResources.try_emplace(resource, numbering);
560 /// A dummy resource builder used to number dialect resources.
577 // TODO: We could pre-number resource key strings here as well.
601 // if there was no backing data to the resource, but we still want these
602 // resource references to roundtrip, so we number them and indicate that the