Lines Matching refs:InsnIterator
167 class InsnIterator class in sw::SpirvShader
170 InsnIterator(InsnIterator const &other) = default;
172 InsnIterator() = default;
174 explicit InsnIterator(InsnStore::const_iterator iter) in InsnIterator() function in sw::SpirvShader::InsnIterator
226 bool operator==(InsnIterator const &other) const in operator ==()
231 bool operator!=(InsnIterator const &other) const in operator !=()
236 InsnIterator operator*() const in operator *()
241 InsnIterator &operator++() in operator ++()
247 InsnIterator const operator++(int) in operator ++()
249 InsnIterator ret{ *this }; in operator ++()
259 InsnIterator begin() const in begin()
261 return InsnIterator{ insns.cbegin() + 5 }; in begin()
264 InsnIterator end() const in end()
266 return InsnIterator{ insns.cend() }; in end()
276 InsnIterator definition;
294 InsnIterator definition;
354 explicit Block(InsnIterator begin, InsnIterator end);
357 inline InsnIterator begin() const { return begin_; } in begin()
358 inline InsnIterator end() const { return end_; } in end()
371 InsnIterator mergeInstruction; // Structured control flow merge instruction.
372 InsnIterator branchInstruction; // Branch instruction.
380 InsnIterator begin_;
381 InsnIterator end_;
816 void DeclareType(InsnIterator insn);
818 void ProcessExecutionMode(InsnIterator it);
820 uint32_t ComputeTypeSize(InsnIterator insn);
826 void DefineResult(const InsnIterator &insn);
830 void DefineOpenCLDebugInfo100(const InsnIterator &insn);
907 Object &CreateConstant(InsnIterator it);
1167 void EmitInstructions(InsnIterator begin, InsnIterator end, EmitState *state) const;
1168 EmitResult EmitInstruction(InsnIterator insn, EmitState *state) const;
1171 EmitResult EmitVariable(InsnIterator insn, EmitState *state) const;
1172 EmitResult EmitLoad(InsnIterator insn, EmitState *state) const;
1173 EmitResult EmitStore(InsnIterator insn, EmitState *state) const;
1174 EmitResult EmitAccessChain(InsnIterator insn, EmitState *state) const;
1175 EmitResult EmitCompositeConstruct(InsnIterator insn, EmitState *state) const;
1176 EmitResult EmitCompositeInsert(InsnIterator insn, EmitState *state) const;
1177 EmitResult EmitCompositeExtract(InsnIterator insn, EmitState *state) const;
1178 EmitResult EmitVectorShuffle(InsnIterator insn, EmitState *state) const;
1179 EmitResult EmitVectorTimesScalar(InsnIterator insn, EmitState *state) const;
1180 EmitResult EmitMatrixTimesVector(InsnIterator insn, EmitState *state) const;
1181 EmitResult EmitVectorTimesMatrix(InsnIterator insn, EmitState *state) const;
1182 EmitResult EmitMatrixTimesMatrix(InsnIterator insn, EmitState *state) const;
1183 EmitResult EmitOuterProduct(InsnIterator insn, EmitState *state) const;
1184 EmitResult EmitTranspose(InsnIterator insn, EmitState *state) const;
1185 EmitResult EmitVectorExtractDynamic(InsnIterator insn, EmitState *state) const;
1186 EmitResult EmitVectorInsertDynamic(InsnIterator insn, EmitState *state) const;
1187 EmitResult EmitUnaryOp(InsnIterator insn, EmitState *state) const;
1188 EmitResult EmitBinaryOp(InsnIterator insn, EmitState *state) const;
1189 EmitResult EmitDot(InsnIterator insn, EmitState *state) const;
1190 EmitResult EmitSelect(InsnIterator insn, EmitState *state) const;
1191 EmitResult EmitExtendedInstruction(InsnIterator insn, EmitState *state) const;
1192 EmitResult EmitExtGLSLstd450(InsnIterator insn, EmitState *state) const;
1193 EmitResult EmitOpenCLDebugInfo100(InsnIterator insn, EmitState *state) const;
1194 EmitResult EmitLine(InsnIterator insn, EmitState *state) const;
1195 EmitResult EmitAny(InsnIterator insn, EmitState *state) const;
1196 EmitResult EmitAll(InsnIterator insn, EmitState *state) const;
1197 EmitResult EmitBranch(InsnIterator insn, EmitState *state) const;
1198 EmitResult EmitBranchConditional(InsnIterator insn, EmitState *state) const;
1199 EmitResult EmitSwitch(InsnIterator insn, EmitState *state) const;
1200 EmitResult EmitUnreachable(InsnIterator insn, EmitState *state) const;
1201 EmitResult EmitReturn(InsnIterator insn, EmitState *state) const;
1202 EmitResult EmitKill(InsnIterator insn, EmitState *state) const;
1203 EmitResult EmitFunctionCall(InsnIterator insn, EmitState *state) const;
1204 EmitResult EmitPhi(InsnIterator insn, EmitState *state) const;
1205 EmitResult EmitImageSampleImplicitLod(Variant variant, InsnIterator insn, EmitState *state) const;
1206 EmitResult EmitImageSampleExplicitLod(Variant variant, InsnIterator insn, EmitState *state) const;
1207 EmitResult EmitImageGather(Variant variant, InsnIterator insn, EmitState *state) const;
1208 EmitResult EmitImageFetch(InsnIterator insn, EmitState *state) const;
1209 …EmitResult EmitImageSample(ImageInstruction instruction, InsnIterator insn, EmitState *state) cons…
1210 EmitResult EmitImageQuerySizeLod(InsnIterator insn, EmitState *state) const;
1211 EmitResult EmitImageQuerySize(InsnIterator insn, EmitState *state) const;
1212 EmitResult EmitImageQueryLod(InsnIterator insn, EmitState *state) const;
1213 EmitResult EmitImageQueryLevels(InsnIterator insn, EmitState *state) const;
1214 EmitResult EmitImageQuerySamples(InsnIterator insn, EmitState *state) const;
1215 EmitResult EmitImageRead(InsnIterator insn, EmitState *state) const;
1216 EmitResult EmitImageWrite(InsnIterator insn, EmitState *state) const;
1217 EmitResult EmitImageTexelPointer(InsnIterator insn, EmitState *state) const;
1218 EmitResult EmitAtomicOp(InsnIterator insn, EmitState *state) const;
1219 EmitResult EmitAtomicCompareExchange(InsnIterator insn, EmitState *state) const;
1220 EmitResult EmitSampledImageCombineOrSplit(InsnIterator insn, EmitState *state) const;
1221 EmitResult EmitCopyObject(InsnIterator insn, EmitState *state) const;
1222 EmitResult EmitCopyMemory(InsnIterator insn, EmitState *state) const;
1223 EmitResult EmitControlBarrier(InsnIterator insn, EmitState *state) const;
1224 EmitResult EmitMemoryBarrier(InsnIterator insn, EmitState *state) const;
1225 EmitResult EmitGroupNonUniform(InsnIterator insn, EmitState *state) const;
1226 EmitResult EmitArrayLength(InsnIterator insn, EmitState *state) const;
1229 …eUnconditional(Array<SIMD::Float> &out, ImageInstruction instruction, InsnIterator insn, EmitState…
1234 void EvalSpecConstantOp(InsnIterator insn);
1235 void EvalSpecConstantUnaryOp(InsnIterator insn);
1236 void EvalSpecConstantBinaryOp(InsnIterator insn);
1255 void LoadPhi(InsnIterator insn, EmitState *state) const;
1260 …void StorePhi(Block::ID blockID, InsnIterator insn, EmitState *state, std::unordered_set<SpirvShad…
1328 void dbgBeginEmitInstruction(InsnIterator insn, EmitState *state) const;
1332 void dbgEndEmitInstruction(InsnIterator insn, EmitState *state) const;
1344 void dbgDeclareResult(const InsnIterator &insn, Object::ID resultId) const;