Home
last modified time | relevance | path

Searched refs:extIndices (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcomposite.cpp28 bool ExtInsMatch(const std::vector<uint32_t>& extIndices, in ExtInsMatch() argument
30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch()
33 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch()
38 bool ExtInsConflict(const std::vector<uint32_t>& extIndices, in ExtInsConflict() argument
40 if (extIndices.size() - extOffset == insInst->NumInOperands() - 2) in ExtInsConflict()
42 uint32_t extNumIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsConflict()
46 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
Ddead_insert_elim_pass.cpp81 std::vector<uint32_t> extIndices; in MarkInsertChain() local
83 extIndices.clear(); in MarkInsertChain()
84 extIndices.push_back(i); in MarkInsertChain()
86 MarkInsertChain(insertChain, &extIndices, 0, &sub_visited_phis); in MarkInsertChain()
207 std::vector<uint32_t> extIndices; in EliminateDeadInsertsOnePass() local
209 user->ForEachInOperand([&icnt, &extIndices](const uint32_t* idp) { in EliminateDeadInsertsOnePass()
210 if (icnt > 0) extIndices.push_back(*idp); in EliminateDeadInsertsOnePass()
215 MarkInsertChain(&*ii, &extIndices, 0, &visited_phis); in EliminateDeadInsertsOnePass()
Dcomposite.h37 bool ExtInsMatch(const std::vector<uint32_t>& extIndices,
45 bool ExtInsConflict(const std::vector<uint32_t>& extIndices,
Ddead_insert_elim_pass.h63 std::vector<uint32_t>* extIndices, uint32_t extOffset,
/third_party/spirv-tools/source/opt/
Dcomposite.cpp28 bool ExtInsMatch(const std::vector<uint32_t>& extIndices, in ExtInsMatch() argument
30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch()
33 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch()
38 bool ExtInsConflict(const std::vector<uint32_t>& extIndices, in ExtInsConflict() argument
40 if (extIndices.size() - extOffset == insInst->NumInOperands() - 2) in ExtInsConflict()
42 uint32_t extNumIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsConflict()
46 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
Ddead_insert_elim_pass.cpp81 std::vector<uint32_t> extIndices; in MarkInsertChain() local
83 extIndices.clear(); in MarkInsertChain()
84 extIndices.push_back(i); in MarkInsertChain()
86 MarkInsertChain(insertChain, &extIndices, 0, &sub_visited_phis); in MarkInsertChain()
207 std::vector<uint32_t> extIndices; in EliminateDeadInsertsOnePass() local
209 user->ForEachInOperand([&icnt, &extIndices](const uint32_t* idp) { in EliminateDeadInsertsOnePass()
210 if (icnt > 0) extIndices.push_back(*idp); in EliminateDeadInsertsOnePass()
215 MarkInsertChain(&*ii, &extIndices, 0, &visited_phis); in EliminateDeadInsertsOnePass()
Dcomposite.h37 bool ExtInsMatch(const std::vector<uint32_t>& extIndices,
45 bool ExtInsConflict(const std::vector<uint32_t>& extIndices,
Ddead_insert_elim_pass.h63 std::vector<uint32_t>* extIndices, uint32_t extOffset,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcomposite.cpp28 bool ExtInsMatch(const std::vector<uint32_t>& extIndices, in ExtInsMatch() argument
30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch()
33 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsMatch()
38 bool ExtInsConflict(const std::vector<uint32_t>& extIndices, in ExtInsConflict() argument
40 if (extIndices.size() - extOffset == insInst->NumInOperands() - 2) in ExtInsConflict()
42 uint32_t extNumIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsConflict()
46 if (extIndices[i + extOffset] != insInst->GetSingleWordInOperand(i + 2)) in ExtInsConflict()
Ddead_insert_elim_pass.cpp81 std::vector<uint32_t> extIndices; in MarkInsertChain() local
83 extIndices.clear(); in MarkInsertChain()
84 extIndices.push_back(i); in MarkInsertChain()
86 MarkInsertChain(insertChain, &extIndices, 0, &sub_visited_phis); in MarkInsertChain()
207 std::vector<uint32_t> extIndices; in EliminateDeadInsertsOnePass() local
209 user->ForEachInOperand([&icnt, &extIndices](const uint32_t* idp) { in EliminateDeadInsertsOnePass()
210 if (icnt > 0) extIndices.push_back(*idp); in EliminateDeadInsertsOnePass()
215 MarkInsertChain(&*ii, &extIndices, 0, &visited_phis); in EliminateDeadInsertsOnePass()
Dcomposite.h37 bool ExtInsMatch(const std::vector<uint32_t>& extIndices,
45 bool ExtInsConflict(const std::vector<uint32_t>& extIndices,
Ddead_insert_elim_pass.h63 std::vector<uint32_t>* extIndices, uint32_t extOffset,