Home
last modified time | relevance | path

Searched refs:LocalValueNumbering (Results 1 – 10 of 10) sorted by relevance

/art/compiler/dex/
Dlocal_value_numbering.cc57 class LocalValueNumbering::AliasingIFieldVersions {
59 static uint16_t StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in StartMemoryVersion()
77 static uint16_t LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in LookupMergeValue()
92 static bool HasNewBaseVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in HasNewBaseVersion()
110 class LocalValueNumbering::NonAliasingArrayVersions {
113 const LocalValueNumbering* lvn ATTRIBUTE_UNUSED, in StartMemoryVersion()
129 static uint16_t LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in LookupMergeValue()
136 const LocalValueNumbering* lvn ATTRIBUTE_UNUSED, in HasNewBaseVersion()
152 class LocalValueNumbering::AliasingArrayVersions {
154 static uint16_t StartMemoryVersion(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, in StartMemoryVersion()
[all …]
Dglobal_value_numbering.cc48 LocalValueNumbering* GlobalValueNumbering::PrepareBasicBlock(BasicBlock* bb, in PrepareBasicBlock()
71 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator)); in PrepareBasicBlock()
106 LocalValueNumbering::MergeType merge_type = LocalValueNumbering::kNormalMerge; in PrepareBasicBlock()
108 merge_type = LocalValueNumbering::kCatchMerge; in PrepareBasicBlock()
112 merge_type = LocalValueNumbering::kReturnMerge; in PrepareBasicBlock()
138 std::unique_ptr<const LocalValueNumbering> old_lvn(lvns_[bb->id]); in FinishBasicBlock()
170 const LocalValueNumbering* pred_lvn = merge_lvns_[i]; in NullCheckedInAllPredecessors()
195 const LocalValueNumbering* pred_lvn = merge_lvns_[i]; in DivZeroCheckedInAllPredecessors()
Dlocal_value_numbering.h34 class LocalValueNumbering : public DeletableArenaObject<kArenaAllocMisc> {
39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator);
45 bool Equals(const LocalValueNumbering& other) const;
81 void MergeOne(const LocalValueNumbering& other, MergeType merge_type);
242 explicit AliasingValues(LocalValueNumbering* lvn) in AliasingValues()
291 const LocalValueNumbering* lvn,
316 void HandleInvokeArgs(const MIR* mir, const LocalValueNumbering* mir_lvn);
329 bool SameMemoryVersion(const LocalValueNumbering& other) const;
336 template <typename Set, Set LocalValueNumbering::* set_ptr>
342 template <SregValueMap LocalValueNumbering::* map_ptr>
[all …]
Dglobal_value_numbering.h29 class LocalValueNumbering; variable
66 LocalValueNumbering* PrepareBasicBlock(BasicBlock* bb,
85 const LocalValueNumbering* GetLvn(BasicBlockId bb_id) const;
244 ScopedArenaVector<const LocalValueNumbering*> lvns_; // Owning.
245 std::unique_ptr<LocalValueNumbering> work_lvn_;
246 ScopedArenaVector<const LocalValueNumbering*> merge_lvns_; // Not owning.
248 friend class LocalValueNumbering; variable
255 inline const LocalValueNumbering* GlobalValueNumbering::GetLvn(BasicBlockId bb_id) const { in GetLvn()
Dgvn_dead_code_elimination.h28 class LocalValueNumbering; variable
104 void UpdateInitialVRegValue(int v_reg, bool wide, const LocalValueNumbering* lvn);
156 const LocalValueNumbering* lvn_;
Dmir_optimization.cc479 std::unique_ptr<LocalValueNumbering> local_valnum; in BasicBlockOpt()
484 local_valnum.reset(new (allocator.get()) LocalValueNumbering(global_valnum.get(), bb->id, in BasicBlockOpt()
1380 LocalValueNumbering* lvn = temp_.gvn.gvn->PrepareBasicBlock(bb); in ApplyGlobalValueNumbering()
1399 LocalValueNumbering* lvn = temp_.gvn.gvn->PrepareBasicBlock(bb, &allocator); in ApplyGlobalValueNumberingEnd()
Dlocal_value_numbering_test.cc201 lvn_.reset(new (allocator_.get()) LocalValueNumbering(gvn_.get(), 0u, allocator_.get())); in PerformLVN()
238 std::unique_ptr<LocalValueNumbering> lvn_;
Dglobal_value_numbering_test.cc328 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in DoPerformGVN()
345 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVNCodeModifications()
1639 const LocalValueNumbering* loop = gvn_->GetLvn(4); in TEST_F()
Dgvn_dead_code_elimination_test.cc364 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVN()
381 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVNCodeModifications()
Dgvn_dead_code_elimination.cc211 const LocalValueNumbering* lvn) { in UpdateInitialVRegValue()