Searched refs:lvn (Results 1 – 4 of 4) sorted by relevance
/art/compiler/dex/ |
D | local_value_numbering.cc | 57 static uint16_t StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in StartMemoryVersion() argument 61 lvn->global_memory_version_, lvn->unresolved_ifield_version_[type]); in StartMemoryVersion() 75 static uint16_t LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in LookupMergeValue() argument 79 if (lvn->IsNonAliasingIField(base, field_id, type)) { in LookupMergeValue() 81 auto lb = lvn->non_aliasing_ifield_value_map_.find(loc); in LookupMergeValue() 82 return (lb != lvn->non_aliasing_ifield_value_map_.end()) in LookupMergeValue() 87 gvn, lvn, &lvn->aliasing_ifield_value_map_, field_id, base); in LookupMergeValue() 90 static bool HasNewBaseVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in HasNewBaseVersion() argument 93 return lvn->unresolved_ifield_version_[type] == lvn->merge_new_memory_version_ || in HasNewBaseVersion() 94 lvn->global_memory_version_ == lvn->merge_new_memory_version_; in HasNewBaseVersion() [all …]
|
D | local_value_numbering.h | 230 explicit AliasingValues(LocalValueNumbering* lvn) in AliasingValues() 233 store_loc_set(std::less<uint16_t>(), lvn->null_checked_.get_allocator()), in AliasingValues() 235 load_value_map(std::less<uint16_t>(), lvn->null_checked_.get_allocator()) { in AliasingValues() 279 const LocalValueNumbering* lvn,
|
D | mir_optimization.cc | 1158 LocalValueNumbering* lvn = temp_gvn_->PrepareBasicBlock(bb); in ApplyGlobalValueNumbering() local 1159 if (lvn != nullptr) { in ApplyGlobalValueNumbering() 1161 lvn->GetValueNumber(mir); in ApplyGlobalValueNumbering() 1164 bool change = (lvn != nullptr) && temp_gvn_->FinishBasicBlock(bb); in ApplyGlobalValueNumbering() 1175 LocalValueNumbering* lvn = temp_gvn_->PrepareBasicBlock(bb, &allocator); in ApplyGlobalValueNumberingEnd() local 1176 if (lvn != nullptr) { in ApplyGlobalValueNumberingEnd() 1178 lvn->GetValueNumber(mir); in ApplyGlobalValueNumberingEnd()
|
D | global_value_numbering_test.cc | 298 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in DoPerformGVN() local 299 if (lvn != nullptr) { in DoPerformGVN() 301 value_names_[mir - mirs_] = lvn->GetValueNumber(mir); in DoPerformGVN() 304 change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in DoPerformGVN() 316 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVNCodeModifications() local 317 if (lvn != nullptr) { in PerformGVNCodeModifications() 319 uint16_t value_name = lvn->GetValueNumber(mir); in PerformGVNCodeModifications() 323 bool change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in PerformGVNCodeModifications()
|