Lines Matching refs:size
126 // Return the size of a type in 32-bit words. This currently only
146 // returns its size in 32-bit words.
151 error("type size for ID not found");
276 if (id >= idMapL.size())
352 for (spv::Id id = 0; id < idMapL.size(); ++id) {
446 // If there's a result ID, remember the size of its type
511 if (spv.size() < header_size) {
538 if (nextInst > int(spv.size())) {
704 end = (end == 0 ? unsigned(spv.size()) : end);
707 unsigned nextInst = unsigned(spv.size());
749 instPos.reserve(unsigned(spv.size()) / 16); // initial estimate; can grow if needed.
759 // Window size for context-sensitive canonicalization values
760 // Empirical best size from a single data set. TODO: Would be a good tunable.
766 for (unsigned entry = 0; entry < unsigned(instPos.size()); ++entry) {
1433 for (unsigned word = 0; word < unsigned(spv.size()); ++word) {