Searched refs:LocalValueNumbering (Results 1 – 7 of 7) sorted by relevance
/art/compiler/dex/ |
D | local_value_numbering.cc | 55 class LocalValueNumbering::AliasingIFieldVersions { 57 static uint16_t StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in StartMemoryVersion() 75 static uint16_t LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in LookupMergeValue() 90 static bool HasNewBaseVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in HasNewBaseVersion() 108 class LocalValueNumbering::NonAliasingArrayVersions { 110 static uint16_t StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in StartMemoryVersion() 126 static uint16_t LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in LookupMergeValue() 132 static bool HasNewBaseVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in HasNewBaseVersion() 148 class LocalValueNumbering::AliasingArrayVersions { 150 static uint16_t StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in StartMemoryVersion() [all …]
|
D | local_value_numbering.h | 34 class LocalValueNumbering { 39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator); 45 bool Equals(const LocalValueNumbering& other) const; 74 void MergeOne(const LocalValueNumbering& other, MergeType merge_type); 81 return allocator->Alloc(sizeof(LocalValueNumbering), kArenaAllocMisc); in new() 230 explicit AliasingValues(LocalValueNumbering* lvn) in AliasingValues() 279 const LocalValueNumbering* lvn, 313 bool SameMemoryVersion(const LocalValueNumbering& other) const; 320 template <typename Set, Set LocalValueNumbering::* set_ptr> 326 template <SregValueMap LocalValueNumbering::* map_ptr> [all …]
|
D | global_value_numbering.cc | 46 LocalValueNumbering* GlobalValueNumbering::PrepareBasicBlock(BasicBlock* bb, in PrepareBasicBlock() 66 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator)); in PrepareBasicBlock() 107 LocalValueNumbering::MergeType merge_type = LocalValueNumbering::kNormalMerge; in PrepareBasicBlock() 109 merge_type = LocalValueNumbering::kCatchMerge; in PrepareBasicBlock() 120 merge_type = LocalValueNumbering::kReturnMerge; in PrepareBasicBlock() 147 std::unique_ptr<const LocalValueNumbering> old_lvn(lvns_[bb->id]); in FinishBasicBlock() 199 const LocalValueNumbering* pred_lvn = merge_lvns_[i]; in NullCheckedInAllPredecessors()
|
D | global_value_numbering.h | 26 class LocalValueNumbering; variable 35 LocalValueNumbering* PrepareBasicBlock(BasicBlock* bb, 235 ScopedArenaVector<const LocalValueNumbering*> lvns_; // Owning. 236 std::unique_ptr<LocalValueNumbering> work_lvn_; 237 ScopedArenaVector<const LocalValueNumbering*> merge_lvns_; // Not owning. 239 friend class LocalValueNumbering; variable
|
D | mir_optimization.cc | 328 std::unique_ptr<LocalValueNumbering> local_valnum; in BasicBlockOpt() 332 local_valnum.reset(new (allocator.get()) LocalValueNumbering(global_valnum.get(), bb->id, in BasicBlockOpt() 1172 LocalValueNumbering* lvn = temp_gvn_->PrepareBasicBlock(bb); in ApplyGlobalValueNumbering() 1189 LocalValueNumbering* lvn = temp_gvn_->PrepareBasicBlock(bb, &allocator); in ApplyGlobalValueNumberingEnd()
|
D | local_value_numbering_test.cc | 199 lvn_.reset(new (allocator_.get()) LocalValueNumbering(gvn_.get(), 0u, allocator_.get())); in LocalValueNumberingTest() 210 std::unique_ptr<LocalValueNumbering> lvn_;
|
D | global_value_numbering_test.cc | 298 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in DoPerformGVN() 316 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVNCodeModifications()
|