Lines Matching defs:blob
1539 AsmResourceBlob blob) {
1541 // handle by inserting a new resource using the provided blob.
1544 return get(type, manager.insert(blobName, std::move(blob)));
1548 if (AsmResourceBlob *blob = this->getRawHandle().getBlob())
1549 return blob->getDataAs<char>();
1613 AsmResourceBlob blob) {
1614 // Check that the blob is in the form we were expecting.
1615 assert(blob.getDataAlignment() == alignof(T) &&
1616 "alignment mismatch between expected alignment and blob alignment");
1617 assert(((blob.getData().size() % sizeof(T)) == 0) &&
1618 "size mismatch between expected element width and blob size");
1622 DenseResourceElementsAttr::get(type, blobName, std::move(blob)));
1628 if (AsmResourceBlob *blob = this->getRawHandle().getBlob())
1629 return blob->template getDataAs<T>();