Home
last modified time | relevance | path

Searched refs:dead_instructions (Results 1 – 6 of 6) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Ddead_insert_elim_pass.cpp225 std::vector<Instruction*> dead_instructions; in EliminateDeadInsertsOnePass() local
234 dead_instructions.push_back(&*ii); in EliminateDeadInsertsOnePass()
239 while (!dead_instructions.empty()) { in EliminateDeadInsertsOnePass()
240 Instruction* inst = dead_instructions.back(); in EliminateDeadInsertsOnePass()
241 dead_instructions.pop_back(); in EliminateDeadInsertsOnePass()
242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass()
243 auto i = std::find(dead_instructions.begin(), dead_instructions.end(), in EliminateDeadInsertsOnePass()
245 if (i != dead_instructions.end()) { in EliminateDeadInsertsOnePass()
246 dead_instructions.erase(i); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp225 std::vector<Instruction*> dead_instructions; in ConvertLocalAccessChains() local
249 dead_instructions.push_back(&*ii); in ConvertLocalAccessChains()
261 while (!dead_instructions.empty()) { in ConvertLocalAccessChains()
262 Instruction* inst = dead_instructions.back(); in ConvertLocalAccessChains()
263 dead_instructions.pop_back(); in ConvertLocalAccessChains()
264 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains()
265 auto i = std::find(dead_instructions.begin(), dead_instructions.end(), in ConvertLocalAccessChains()
267 if (i != dead_instructions.end()) { in ConvertLocalAccessChains()
268 dead_instructions.erase(i); in ConvertLocalAccessChains()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddead_insert_elim_pass.cpp225 std::vector<Instruction*> dead_instructions; in EliminateDeadInsertsOnePass() local
234 dead_instructions.push_back(&*ii); in EliminateDeadInsertsOnePass()
239 while (!dead_instructions.empty()) { in EliminateDeadInsertsOnePass()
240 Instruction* inst = dead_instructions.back(); in EliminateDeadInsertsOnePass()
241 dead_instructions.pop_back(); in EliminateDeadInsertsOnePass()
242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass()
243 auto i = std::find(dead_instructions.begin(), dead_instructions.end(), in EliminateDeadInsertsOnePass()
245 if (i != dead_instructions.end()) { in EliminateDeadInsertsOnePass()
246 dead_instructions.erase(i); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp225 std::vector<Instruction*> dead_instructions; in ConvertLocalAccessChains() local
249 dead_instructions.push_back(&*ii); in ConvertLocalAccessChains()
261 while (!dead_instructions.empty()) { in ConvertLocalAccessChains()
262 Instruction* inst = dead_instructions.back(); in ConvertLocalAccessChains()
263 dead_instructions.pop_back(); in ConvertLocalAccessChains()
264 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains()
265 auto i = std::find(dead_instructions.begin(), dead_instructions.end(), in ConvertLocalAccessChains()
267 if (i != dead_instructions.end()) { in ConvertLocalAccessChains()
268 dead_instructions.erase(i); in ConvertLocalAccessChains()
/external/angle/third_party/spirv-tools/src/source/opt/
Ddead_insert_elim_pass.cpp225 std::vector<Instruction*> dead_instructions; in EliminateDeadInsertsOnePass() local
234 dead_instructions.push_back(&*ii); in EliminateDeadInsertsOnePass()
239 while (!dead_instructions.empty()) { in EliminateDeadInsertsOnePass()
240 Instruction* inst = dead_instructions.back(); in EliminateDeadInsertsOnePass()
241 dead_instructions.pop_back(); in EliminateDeadInsertsOnePass()
242 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in EliminateDeadInsertsOnePass()
243 auto i = std::find(dead_instructions.begin(), dead_instructions.end(), in EliminateDeadInsertsOnePass()
245 if (i != dead_instructions.end()) { in EliminateDeadInsertsOnePass()
246 dead_instructions.erase(i); in EliminateDeadInsertsOnePass()
Dlocal_access_chain_convert_pass.cpp225 std::vector<Instruction*> dead_instructions; in ConvertLocalAccessChains() local
249 dead_instructions.push_back(&*ii); in ConvertLocalAccessChains()
261 while (!dead_instructions.empty()) { in ConvertLocalAccessChains()
262 Instruction* inst = dead_instructions.back(); in ConvertLocalAccessChains()
263 dead_instructions.pop_back(); in ConvertLocalAccessChains()
264 DCEInst(inst, [&dead_instructions](Instruction* other_inst) { in ConvertLocalAccessChains()
265 auto i = std::find(dead_instructions.begin(), dead_instructions.end(), in ConvertLocalAccessChains()
267 if (i != dead_instructions.end()) { in ConvertLocalAccessChains()
268 dead_instructions.erase(i); in ConvertLocalAccessChains()