Home
last modified time | relevance | path

Searched refs:result_id_mapping (Results 1 – 4 of 4) sorted by relevance

/third_party/spirv-tools/source/opt/
Dcompact_ids_pass.cpp29 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
53 [&result_id_mapping, &modified](Instruction* inst) { in Process()
60 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process()
77 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process()
85 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcompact_ids_pass.cpp29 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 …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcompact_ids_pass.cpp29 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 …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dcompact_ids_pass.cpp28 std::unordered_map<uint32_t, uint32_t> result_id_mapping; in Process() local
30 module->ForEachInst([&result_id_mapping, &modified] (Instruction* inst) { in Process()
36 auto it = result_id_mapping.find(id); in Process()
37 if (it == result_id_mapping.end()) { in Process()
39 static_cast<uint32_t>(result_id_mapping.size()) + 1; in Process()
40 const auto insertion_result = result_id_mapping.emplace(id, new_id); in Process()