Lines Matching refs:idMap
843 idmap_t idMap; // Map of load result IDs to what they load in forwardLoadStores() local
859 idMap[asId(start+2)] = asId(start+3); in forwardLoadStores()
866 [&](spv::Id& id) { if (idMap.find(id) != idMap.end()) id = idMap[id]; } in forwardLoadStores()
874 idMap.clear(); in forwardLoadStores()
884 idMap[asId(start+2)] = asId(start+1); in forwardLoadStores()
897 [&](spv::Id& id) { if (idMap.find(id) != idMap.end()) id = idMap[id]; } in forwardLoadStores()
910 idmap_t idMap; // Map of load result IDs to what they load in optLoadStore() local
932 idMap.erase(asId(start+3)); in optLoadStore()
940 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
942 idMap.erase(varId); in optLoadStore()
948 idMap.erase(varId); in optLoadStore()
956 idMap.erase(varId); in optLoadStore()
965 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
966 idMap[varId] = asId(start+2); in optLoadStore()
970 idMap.erase(varId); in optLoadStore()
976 idMap.erase(asId(start+3)); in optLoadStore()
984 idMap.erase(varId); in optLoadStore()
997 idMap.erase(id); in optLoadStore()
1008 idMap[asId(start+2)] = idMap[asId(start+3)]; in optLoadStore()
1022 for (const auto& idPair : idMap) { in optLoadStore()
1024 while (idMap.find(id) != idMap.end()) // Chase to end of chain in optLoadStore()
1025 id = idMap[id]; in optLoadStore()
1027 idMap[idPair.first] = id; // replace with final result in optLoadStore()
1045 if (idMap.find(id) != idMap.end()) id = idMap[id]; in optLoadStore()