Lines Matching refs:spirv_inst_iter
31 struct spirv_inst_iter { struct
50 spirv_inst_iter() {} in spirv_inst_iter() argument
52 …spirv_inst_iter(std::vector<uint32_t>::const_iterator zero, std::vector<uint32_t>::const_iterator … in spirv_inst_iter() function
54 bool operator==(spirv_inst_iter const &other) const { return it == other.it; }
56 bool operator!=(spirv_inst_iter const &other) const { return it != other.it; }
58 spirv_inst_iter operator++(int) { // x++
59 spirv_inst_iter ii = *this; argument
64 spirv_inst_iter operator++() { // ++x;
70 spirv_inst_iter &operator*() { return *this; }
71 spirv_inst_iter const &operator*() const { return *this; }
134 auto itr = spirv_inst_iter(src.begin(), src.begin() + 5); in PreprocessShaderBinary()
135 auto itrend = spirv_inst_iter(src.begin(), src.end()); in PreprocessShaderBinary()
190 …spirv_inst_iter begin() const { return spirv_inst_iter(words.begin(), words.begin() + 5); } // Fi… in begin()
191 …spirv_inst_iter end() const { return spirv_inst_iter(words.begin(), words.end()); } // Ju… in end()
193 …spirv_inst_iter at(unsigned offset) const { return spirv_inst_iter(words.begin(), words.begin() + … in at()
196 spirv_inst_iter get_def(unsigned id) const { in get_def()