Lines Matching refs:key
197 Map* map, const typename Map::key_type& key) { in GetAliasingValues() argument
198 auto lb = map->lower_bound(key); in GetAliasingValues()
199 if (lb == map->end() || map->key_comp()(key, lb->first)) { in GetAliasingValues()
200 lb = map->PutBefore(lb, key, AliasingValues(this)); in GetAliasingValues()
206 void LocalValueNumbering::UpdateAliasingValuesLoadVersion(const KeyType& key, in UpdateAliasingValuesLoadVersion() argument
213 memory_version = Versions::StartMemoryVersion(gvn_, this, key); in UpdateAliasingValuesLoadVersion()
227 Map* map, const typename Map::key_type& key, in AliasingValuesMergeGet() argument
233 auto it = map->find(key); in AliasingValuesMergeGet()
235 uint16_t start_version = Versions::StartMemoryVersion(gvn, lvn, key); in AliasingValuesMergeGet()
236 value_name = Versions::LookupGlobalValue(gvn, key, location, start_version); in AliasingValuesMergeGet()
244 … value_name = Versions::LookupGlobalValue(gvn, key, location, it->second.last_load_memory_version); in AliasingValuesMergeGet()
251 uint16_t LocalValueNumbering::HandleAliasingValuesGet(Map* map, const typename Map::key_type& key, in HandleAliasingValuesGet() argument
255 AliasingValues* values = GetAliasingValues(map, key); in HandleAliasingValuesGet()
259 UpdateAliasingValuesLoadVersion<Versions>(key, values); in HandleAliasingValuesGet()
264 res = Versions::LookupGlobalValue(gvn_, key, location, values->last_load_memory_version); in HandleAliasingValuesGet()
272 bool LocalValueNumbering::HandleAliasingValuesPut(Map* map, const typename Map::key_type& key, in HandleAliasingValuesPut() argument
274 AliasingValues* values = GetAliasingValues(map, key); in HandleAliasingValuesPut()
288 UpdateAliasingValuesLoadVersion<Versions>(key, values); in HandleAliasingValuesPut()
490 for (const auto& key : least_entries_lvn->*set_ptr) { in IntersectSets() local
493 if (lvn != least_entries_lvn && (lvn->*set_ptr).count(key) == 0u) { in IntersectSets()
499 (this->*set_ptr).emplace_hint((this->*set_ptr).end(), key); in IntersectSets()
746 const typename Map::key_type& key = entry.first; in MergeAliasingValues() local
748 auto it = (this->*map_ptr).PutBefore(hint, key, AliasingValues(this)); in MergeAliasingValues()
752 bool same_version = !Versions::HasNewBaseVersion(gvn_, this, key); in MergeAliasingValues()
757 auto it = (lvn->*map_ptr).find(key); in MergeAliasingValues()
769 auto it = (lvn->*map_ptr).find(key); in MergeAliasingValues()
798 auto it = (lvn->*map_ptr).find(key); in MergeAliasingValues()
812 Versions::LookupMergeBlockValue(gvn_, id_, key); in MergeAliasingValues()
817 auto it = (lvn->*map_ptr).find(key); in MergeAliasingValues()
840 value_name = Versions::LookupMergeValue(gvn_, lvn, key, location); in MergeAliasingValues()
857 value_name = Versions::LookupMergeLocationValue(gvn_, id_, key, location); in MergeAliasingValues()
971 EscapedArrayClobberKey key = { reg, type }; in IsNonAliasingArray() local
972 return escaped_array_clobber_set_.find(key) == escaped_array_clobber_set_.end(); in IsNonAliasingArray()
990 RangeCheckKey key = { array, index }; in HandleRangeCheck() local
991 auto lb = range_checked_.lower_bound(key); in HandleRangeCheck()
992 if (lb != range_checked_.end() && !RangeCheckKeyComparator()(key, *lb)) { in HandleRangeCheck()
1001 range_checked_.insert(lb, key); in HandleRangeCheck()
1414 RangeCheckKey key = { array, index }; in GetValueNumber() local
1415 range_checked_.insert(key); in GetValueNumber()