Lines Matching defs:spec
293 /// Combines a data layout spec into the given lists of entries organized by
297 combineOneSpec(DataLayoutSpecInterface spec,
300 // A missing spec should be fine.
301 if (!spec)
306 spec.bucketEntriesByType(newEntriesForType, newEntriesForID);
354 if (any_of(specs, [](DataLayoutSpecInterface spec) {
355 return !llvm::isa<DataLayoutSpecAttr>(spec);
362 for (DataLayoutSpecInterface spec : specs)
363 if (failed(combineOneSpec(spec, entriesForType, entriesForID)))
407 /// dl-spec-attr ::= `#dlti.` `dl_spec` `<` entry-list `>`
431 /// dev-spec-attr ::= `#dlti.` `target_device_spec` `<` entry-list `>`
455 return emitError() << "non-string key of DLTI system spec";
464 << " is not a DLTI device spec";
477 /// sys-spec-attr ::= `#dlti.` `target_system_spec` `<` entry-list `>`
479 /// entry ::= (quoted-string `=` dev-spec-attr) | dl-entry-attr