Lines Matching refs:spirword_t
141 typedef std::uint32_t spirword_t;
155 typedef std::vector<spirword_t> typeentry_t;
182 static unsigned opWordCount(spirword_t data) { return data >> spv::WordCountShift; }
183 static spv::Op opOpCode(spirword_t data) { return spv::Op(data & spv::OpCodeMask); }
186 spirword_t magic() const { return spv[0]; } // return magic number
187 spirword_t bound() const { return spv[3]; } // return Id bound from header
188 spirword_t bound(spirword_t b) { return spv[3] = b; };
189 spirword_t genmagic() const { return spv[2]; } // generator magic
190 spirword_t genmagic(spirword_t m) { return spv[2] = m; }
191 spirword_t schemaNum() const { return spv[4]; } // schema number from header
239 std::vector<spirword_t> spv; // SPIR words