Lines Matching refs:varId
948 const spv::Id varId = asId(start+3); in optLoadStore() local
951 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
952 fnLocalVars.erase(varId); in optLoadStore()
953 idMap.erase(varId); in optLoadStore()
958 fnLocalVars.erase(varId); in optLoadStore()
959 idMap.erase(varId); in optLoadStore()
963 if (blockMap.find(varId) == blockMap.end()) { in optLoadStore()
964 blockMap[varId] = blockNum; // track block we found it in. in optLoadStore()
965 } else if (blockMap[varId] != blockNum) { in optLoadStore()
966 fnLocalVars.erase(varId); // Ignore if crosses flow control in optLoadStore()
967 idMap.erase(varId); in optLoadStore()
974 const spv::Id varId = asId(start+1); in optLoadStore() local
976 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
977 idMap[varId] = asId(start+2); in optLoadStore()
980 fnLocalVars.erase(varId); in optLoadStore()
981 idMap.erase(varId); in optLoadStore()
991 if (blockMap.find(varId) == blockMap.end()) { in optLoadStore()
992 blockMap[varId] = blockNum; // track block we found it in. in optLoadStore()
993 } else if (blockMap[varId] != blockNum) { in optLoadStore()
994 fnLocalVars.erase(varId); // Ignore if crosses flow control in optLoadStore()
995 idMap.erase(varId); in optLoadStore()