Home
last modified time | relevance | path

Searched refs:key (Results 1 – 23 of 23) sorted by relevance

/art/compiler/utils/
Ddedupe_set.h73 StoreKey* Add(Thread* self, const InKey& key) { in Add() argument
78 HashType raw_hash = HashFunc()(key); in Add()
85 HashedInKey hashed_in_key(shard_hash, &key); in Add()
95 hashed_key.store_ptr = CreateStoreKey(key); in Add()
127 for (const HashedKey& key : keys_[shard]) { in DumpStats() local
128 DCHECK(key.store_ptr != nullptr); in DumpStats()
129 if (key.store_hash == last_hash) { in DumpStats()
139 last_hash = key.store_hash; in DumpStats()
148 StoreKey* CreateStoreKey(const InKey& key) { in CreateStoreKey() argument
150 allocator_.construct(ret, key.begin(), key.end(), allocator_); in CreateStoreKey()
[all …]
/art/compiler/dex/
Dglobal_value_numbering.cc156 FieldReference key = { field_info.DeclaringDexFile(), field_info.DeclaringFieldIndex(), type }; in GetFieldId() local
157 auto lb = field_index_map_.lower_bound(key); in GetFieldId()
158 if (lb != field_index_map_.end() && !field_index_map_.key_comp()(key, lb->first)) { in GetFieldId()
163 auto it = field_index_map_.PutBefore(lb, key, id); in GetFieldId()
170 ArrayLocation key = { base, index }; in GetArrayLocation() local
171 auto lb = array_location_map_.lower_bound(key); in GetArrayLocation()
172 if (lb != array_location_map_.end() && !cmp(key, lb->first)) { in GetArrayLocation()
177 auto it = array_location_map_.PutBefore(lb, key, location); in GetArrayLocation()
Dglobal_value_numbering.h87 uint64_t key = BuildKey(op, operand1, operand2, modifier); in LookupValue() local
88 ValueMap::iterator lb = global_value_map_.lower_bound(key); in LookupValue()
89 if (lb != global_value_map_.end() && lb->first == key) { in LookupValue()
93 global_value_map_.PutBefore(lb, key, res); in LookupValue()
105 uint64_t key = BuildKey(op, operand1, operand2, modifier); in HasValue() local
106 ValueMap::const_iterator it = global_value_map_.find(key); in HasValue()
Dlocal_value_numbering.cc197 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()
[all …]
Dlocal_value_numbering.h272 AliasingValues* GetAliasingValues(Map* map, const typename Map::key_type& key);
275 void UpdateAliasingValuesLoadVersion(const KeyType& key, AliasingValues* values);
280 Map* map, const typename Map::key_type& key,
284 uint16_t HandleAliasingValuesGet(Map* map, const typename Map::key_type& key,
288 bool HandleAliasingValuesPut(Map* map, const typename Map::key_type& key,
Dmir_graph_test.cc85 successor_block_info->key = 0u; // Not used by class init check elimination. in DoPrepareBasicBlocks()
Dmir_optimization_test.cc128 successor_block_info->key = 0u; // Not used by class init check elimination. in DoPrepareBasicBlocks()
Dmir_graph.cc526 successor_block_info->key = in ProcessCanSwitch()
580 successor_block_info->key = iterator.GetHandlerTypeIndex(); in ProcessCanThrow()
985 successor_block_info->key, in DumpCFG()
Dmir_graph.h487 int key; member
Dglobal_value_numbering_test.cc202 successor_block_info->key = 0u; // Not used by class init check elimination. in DoPrepareBasicBlocks()
/art/test/701-easy-div-rem/
DgenMain.py28 for key, value in variables.iteritems():
29 text = text.replace(str(key), str(value))
/art/runtime/base/
Dhash_map.h35 size_t operator()(const Key& key) const { in operator()
36 return fn_(key); in operator()
/art/runtime/
Doat_file.cc344 StringPiece key(oat_dex_file->GetDexFileLocation()); in Setup() local
345 oat_dex_files_.Put(key, oat_dex_file); in Setup()
380 StringPiece key(dex_location); in GetOatDexFile() local
383 auto primary_it = oat_dex_files_.find(key); in GetOatDexFile()
392 auto secondary_lb = secondary_oat_dex_files_.lower_bound(key); in GetOatDexFile()
393 if (secondary_lb != secondary_oat_dex_files_.end() && key == secondary_lb->first) { in GetOatDexFile()
407 string_cache_.emplace_back(key.data(), key.length()); in GetOatDexFile()
Doat.h103 const char* GetStoreValueByKey(const char* key) const;
104 bool GetStoreKeyValuePairByIndex(size_t index, const char** key, const char** value) const;
Doat.cc413 const char* OatHeader::GetStoreValueByKey(const char* key) const { in GetStoreValueByKey()
421 if (strcmp(key, ptr) == 0) { in GetStoreValueByKey()
438 bool OatHeader::GetStoreKeyValuePairByIndex(size_t index, const char** key, in GetStoreKeyValuePairByIndex() argument
452 *key = maybe_key; in GetStoreKeyValuePairByIndex()
Ddex_file.h1013 size_t operator()(const char* key) const { in operator()
1014 return ComputeModifiedUtf8Hash(key); in operator()
/art/test/055-enum-performance/src/
DMain.java123 static String basisValueOf(String key) { in basisValueOf() argument
125 if (s.equals(key)) { in basisValueOf()
/art/compiler/dex/quick/x86/
Dcall_x86.cc40 int key = keys[i]; in GenLargeSparseSwitch() local
43 OpCmpImmBranch(kCondEq, rl_src.reg, key, &block_label_list_[case_block->id]); in GenLargeSparseSwitch()
/art/oatdump/
Doatdump.cc227 const char* key; in Dump() local
229 while (oat_header.GetStoreKeyValuePairByIndex(index, &key, &value)) { in Dump()
230 os << key << " = " << value << "\n"; in Dump()
/art/runtime/verifier/
Dmethod_verifier.cc1038 int32_t key = (int32_t) switch_insns[keys_offset + targ * 2] | in CheckSwitchTargets() local
1040 if (key <= last_key) { in CheckSwitchTargets()
1042 << ", this=" << key; in CheckSwitchTargets()
1045 last_key = key; in CheckSwitchTargets()
/art/compiler/dex/quick/
Dgen_common.cc2110 int key = keys[i]; in GenSmallSparseSwitch() local
2113 OpCmpImmBranch(kCondEq, rl_src.reg, key, &block_label_list_[case_block->id]); in GenSmallSparseSwitch()
/art/compiler/llvm/
Dintrinsic_func_list.def91 // throwing instruction. The result is a switch key and this
/art/compiler/dex/portable/
Dmir_to_gbc.cc1754 int type_index = successor_block_info->key; in BlockBitcodeConversion()