Searched refs:spirword_t (Results 1 – 2 of 2) sorted by relevance
146 typedef std::uint32_t spirword_t; typedef160 typedef std::vector<spirword_t> typeentry_t;192 static unsigned opWordCount(spirword_t data) { return data >> spv::WordCountShift; } in opWordCount()193 static spv::Op opOpCode(spirword_t data) { return spv::Op(data & spv::OpCodeMask); } in opOpCode()196 spirword_t magic() const { return spv[0]; } // return magic number in magic()197 spirword_t bound() const { return spv[3]; } // return Id bound from header in bound()198 spirword_t bound(spirword_t b) { return spv[3] = b; }; in bound()199 spirword_t genmagic() const { return spv[2]; } // generator magic in genmagic()200 spirword_t genmagic(spirword_t m) { return spv[2] = m; } in genmagic()201 spirword_t schemaNum() const { return spv[4]; } // schema number from header in schemaNum()[all …]
334 spirword_t maxBound = 0; in mapRemainder()