Lines Matching refs:idMap
877 idmap_t idMap; // Map of load result IDs to what they load in forwardLoadStores() local
893 idMap[asId(start+2)] = asId(start+3); in forwardLoadStores()
900 [&](spv::Id& id) { if (idMap.find(id) != idMap.end()) id = idMap[id]; } in forwardLoadStores()
908 idMap.clear(); in forwardLoadStores()
918 idMap[asId(start+2)] = asId(start+1); in forwardLoadStores()
931 [&](spv::Id& id) { if (idMap.find(id) != idMap.end()) id = idMap[id]; } in forwardLoadStores()
944 idmap_t idMap; // Map of load result IDs to what they load in optLoadStore() local
966 idMap.erase(asId(start+3)); in optLoadStore()
974 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
976 idMap.erase(varId); in optLoadStore()
982 idMap.erase(varId); in optLoadStore()
990 idMap.erase(varId); in optLoadStore()
999 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
1000 idMap[varId] = asId(start+2); in optLoadStore()
1004 idMap.erase(varId); in optLoadStore()
1010 idMap.erase(asId(start+3)); in optLoadStore()
1018 idMap.erase(varId); in optLoadStore()
1031 idMap.erase(id); in optLoadStore()
1042 idMap[asId(start+2)] = idMap[asId(start+3)]; in optLoadStore()
1056 for (const auto& idPair : idMap) { in optLoadStore()
1058 while (idMap.find(id) != idMap.end()) // Chase to end of chain in optLoadStore()
1059 id = idMap[id]; in optLoadStore()
1061 idMap[idPair.first] = id; // replace with final result in optLoadStore()
1079 if (idMap.find(id) != idMap.end()) id = idMap[id]; in optLoadStore()