Searched refs:result_id_mapping (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | compact_ids_pass.cpp | 29 std::unordered_map<uint32_t, uint32_t>* result_id_mapping, uint32_t id) { in GetRemappedId() argument 30 auto it = result_id_mapping->find(id); in GetRemappedId() 31 if (it == result_id_mapping->end()) { in GetRemappedId() 33 static_cast<uint32_t>(result_id_mapping->size()) + 1; in GetRemappedId() 34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId() 45 std::unordered_map<uint32_t, uint32_t> result_id_mapping; in Process() local 48 [&result_id_mapping, &modified](Instruction* inst) { in Process() 55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process() 72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() 80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | compact_ids_pass.cpp | 29 std::unordered_map<uint32_t, uint32_t>* result_id_mapping, uint32_t id) { in GetRemappedId() argument 30 auto it = result_id_mapping->find(id); in GetRemappedId() 31 if (it == result_id_mapping->end()) { in GetRemappedId() 33 static_cast<uint32_t>(result_id_mapping->size()) + 1; in GetRemappedId() 34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId() 45 std::unordered_map<uint32_t, uint32_t> result_id_mapping; in Process() local 48 [&result_id_mapping, &modified](Instruction* inst) { in Process() 55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process() 72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() 80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | compact_ids_pass.cpp | 29 std::unordered_map<uint32_t, uint32_t>* result_id_mapping, uint32_t id) { in GetRemappedId() argument 30 auto it = result_id_mapping->find(id); in GetRemappedId() 31 if (it == result_id_mapping->end()) { in GetRemappedId() 33 static_cast<uint32_t>(result_id_mapping->size()) + 1; in GetRemappedId() 34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId() 45 std::unordered_map<uint32_t, uint32_t> result_id_mapping; in Process() local 48 [&result_id_mapping, &modified](Instruction* inst) { in Process() 55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process() 72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() 80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process() [all …]
|