Lines Matching refs:values
213 AliasingValues* values) { in UpdateAliasingValuesLoadVersion() argument
214 if (values->last_load_memory_version == kNoValue) { in UpdateAliasingValuesLoadVersion()
217 uint16_t memory_version = values->memory_version_before_stores; in UpdateAliasingValuesLoadVersion()
221 if (!values->store_loc_set.empty()) { in UpdateAliasingValuesLoadVersion()
222 uint16_t ref_set_id = gvn_->GetRefSetId(values->store_loc_set); in UpdateAliasingValuesLoadVersion()
224 values->last_stored_value); in UpdateAliasingValuesLoadVersion()
226 values->last_load_memory_version = memory_version; in UpdateAliasingValuesLoadVersion()
261 AliasingValues* values = GetAliasingValues(map, key); in HandleAliasingValuesGet() local
262 if (values->store_loc_set.count(location) != 0u) { in HandleAliasingValuesGet()
263 res = values->last_stored_value; in HandleAliasingValuesGet()
265 UpdateAliasingValuesLoadVersion<Versions>(key, values); in HandleAliasingValuesGet()
266 auto lb = values->load_value_map.lower_bound(location); in HandleAliasingValuesGet()
267 if (lb != values->load_value_map.end() && lb->first == location) { in HandleAliasingValuesGet()
270 res = Versions::LookupGlobalValue(gvn_, key, location, values->last_load_memory_version); in HandleAliasingValuesGet()
271 values->load_value_map.PutBefore(lb, location, res); in HandleAliasingValuesGet()
280 AliasingValues* values = GetAliasingValues(map, key); in HandleAliasingValuesPut() local
281 auto load_values_it = values->load_value_map.find(location); in HandleAliasingValuesPut()
282 if (load_values_it != values->load_value_map.end() && load_values_it->second == value) { in HandleAliasingValuesPut()
286 if (value == values->last_stored_value) { in HandleAliasingValuesPut()
287 auto store_loc_lb = values->store_loc_set.lower_bound(location); in HandleAliasingValuesPut()
288 if (store_loc_lb != values->store_loc_set.end() && *store_loc_lb == location) { in HandleAliasingValuesPut()
292 values->store_loc_set.emplace_hint(store_loc_lb, location); in HandleAliasingValuesPut()
294 UpdateAliasingValuesLoadVersion<Versions>(key, values); in HandleAliasingValuesPut()
295 values->memory_version_before_stores = values->last_load_memory_version; in HandleAliasingValuesPut()
296 values->last_stored_value = value; in HandleAliasingValuesPut()
297 values->store_loc_set.clear(); in HandleAliasingValuesPut()
298 values->store_loc_set.insert(location); in HandleAliasingValuesPut()
301 values->last_load_memory_version = kNoValue; in HandleAliasingValuesPut()
302 auto it = values->load_value_map.begin(), end = values->load_value_map.end(); in HandleAliasingValuesPut()
307 it = values->load_value_map.erase(it); in HandleAliasingValuesPut()
612 const AliasingValues* values) { in IntersectAliasingValueLocations() argument
615 auto store_it = values->store_loc_set.begin(), store_end = values->store_loc_set.end(); in IntersectAliasingValueLocations()
616 auto load_it = values->load_value_map.begin(), load_end = values->load_value_map.end(); in IntersectAliasingValueLocations()
1561 AliasingValues* values = GetAliasingValues(&non_aliasing_array_value_map_, array); in GetValueNumber() local
1563 *values = AliasingValues(this); in GetValueNumber()
1568 values->load_value_map.Put(index, value); in GetValueNumber()