Lines Matching refs:varId
937 const spv::Id varId = asId(start+3); in optLoadStore() local
940 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
941 fnLocalVars.erase(varId); in optLoadStore()
942 idMap.erase(varId); in optLoadStore()
947 fnLocalVars.erase(varId); in optLoadStore()
948 idMap.erase(varId); in optLoadStore()
952 if (blockMap.find(varId) == blockMap.end()) { in optLoadStore()
953 blockMap[varId] = blockNum; // track block we found it in. in optLoadStore()
954 } else if (blockMap[varId] != blockNum) { in optLoadStore()
955 fnLocalVars.erase(varId); // Ignore if crosses flow control in optLoadStore()
956 idMap.erase(varId); in optLoadStore()
963 const spv::Id varId = asId(start+1); in optLoadStore() local
965 if (idMap.find(varId) == idMap.end()) { in optLoadStore()
966 idMap[varId] = asId(start+2); in optLoadStore()
969 fnLocalVars.erase(varId); in optLoadStore()
970 idMap.erase(varId); in optLoadStore()
980 if (blockMap.find(varId) == blockMap.end()) { in optLoadStore()
981 blockMap[varId] = blockNum; // track block we found it in. in optLoadStore()
982 } else if (blockMap[varId] != blockNum) { in optLoadStore()
983 fnLocalVars.erase(varId); // Ignore if crosses flow control in optLoadStore()
984 idMap.erase(varId); in optLoadStore()