Searched refs:instPos (Results 1 – 1 of 1) sorted by relevance
725 std::vector<unsigned> instPos; in mapFnBodies() local726 instPos.reserve(unsigned(spv.size()) / 16); // initial estimate; can grow if needed. in mapFnBodies()730 [&](spv::Op, unsigned start) { instPos.push_back(start); return true; }, in mapFnBodies()743 for (unsigned entry = 0; entry < unsigned(instPos.size()); ++entry) { in mapFnBodies()744 const unsigned start = instPos[entry]; in mapFnBodies()760 if (asOpCode(instPos[i]) == spv::OpFunction) in mapFnBodies()762 … hashval = hashval * 30103 + asOpCodeHash(instPos[i]); // 30103 = semiarbitrary prime in mapFnBodies()766 if (asOpCode(instPos[i]) == spv::OpFunctionEnd) in mapFnBodies()768 … hashval = hashval * 30103 + asOpCodeHash(instPos[i]); // 30103 = semiarbitrary prime in mapFnBodies()