Home
last modified time | relevance | path

Searched refs:gvn_ (Results 1 – 7 of 7) sorted by relevance

/art/compiler/dex/
Dlocal_value_numbering.cc219 memory_version = Versions::StartMemoryVersion(gvn_, this, key); in UpdateAliasingValuesLoadVersion()
222 uint16_t ref_set_id = gvn_->GetRefSetId(values->store_loc_set); in UpdateAliasingValuesLoadVersion()
223 memory_version = Versions::BumpMemoryVersion(gvn_, memory_version, ref_set_id, in UpdateAliasingValuesLoadVersion()
270 res = Versions::LookupGlobalValue(gvn_, key, location, values->last_load_memory_version); in HandleAliasingValuesGet()
326 : gvn_(gvn), in LocalValueNumbering()
351 DCHECK(gvn_ == other.gvn_); in Equals()
386 const BasicBlock* pred_bb = gvn_->GetBasicBlock(other.Id()); in MergeOne()
430 *new_version = gvn_->LookupValue(kMergeBlockMemoryVersionBumpOp, 0u, 0u, id_); in NewMemoryVersion()
436 DCHECK_GE(gvn_->merge_lvns_.size(), 2u); in MergeMemoryVersions()
437 const LocalValueNumbering* cmp = gvn_->merge_lvns_[0]; in MergeMemoryVersions()
[all …]
Dlocal_value_numbering.h56 DCHECK(!gvn_->GetMirGraph()->GetRegLocation(s_reg).wide); in GetSregValue()
61 DCHECK(gvn_->GetMirGraph()->GetRegLocation(s_reg).wide); in GetSregValueWide()
103 res = gvn_->FindValue(kNoValue, s_reg, kNoValue, kNoValue); in GetSregValueImpl()
120 res = gvn_->LookupValue(kNoValue, s_reg, kNoValue, kNoValue); in GetOperandValueImpl()
127 DCHECK(!gvn_->GetMirGraph()->GetRegLocation(s_reg).wide); in SetOperandValue()
133 DCHECK(!gvn_->GetMirGraph()->GetRegLocation(s_reg).wide); in GetOperandValue()
139 DCHECK(gvn_->GetMirGraph()->GetRegLocation(s_reg).wide); in SetOperandValueWide()
140 DCHECK(!gvn_->GetMirGraph()->GetRegLocation(s_reg).high_word); in SetOperandValueWide()
146 DCHECK(gvn_->GetMirGraph()->GetRegLocation(s_reg).wide); in GetOperandValueWide()
147 DCHECK(!gvn_->GetMirGraph()->GetRegLocation(s_reg).high_word); in GetOperandValueWide()
[all …]
Dglobal_value_numbering_test.cc321 ASSERT_TRUE(gvn_ == nullptr); in DoPerformGVN()
322 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get(), in DoPerformGVN()
328 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in DoPerformGVN()
334 change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in DoPerformGVN()
335 ASSERT_TRUE(gvn_->Good()); in DoPerformGVN()
340 ASSERT_TRUE(gvn_ != nullptr); in PerformGVNCodeModifications()
341 ASSERT_TRUE(gvn_->Good()); in PerformGVNCodeModifications()
342 gvn_->StartPostProcessing(); in PerformGVNCodeModifications()
345 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVNCodeModifications()
352 bool change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in PerformGVNCodeModifications()
[all …]
Dgvn_dead_code_elimination_test.cc357 ASSERT_TRUE(gvn_ == nullptr); in PerformGVN()
358 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get(), in PerformGVN()
364 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVN()
370 change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in PerformGVN()
371 ASSERT_TRUE(gvn_->Good()); in PerformGVN()
376 ASSERT_TRUE(gvn_ != nullptr); in PerformGVNCodeModifications()
377 ASSERT_TRUE(gvn_->Good()); in PerformGVNCodeModifications()
378 gvn_->StartPostProcessing(); in PerformGVNCodeModifications()
381 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in PerformGVNCodeModifications()
388 bool change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in PerformGVNCodeModifications()
[all …]
Dgvn_dead_code_elimination.h151 const GlobalValueNumbering* const gvn_; variable
Dlocal_value_numbering_test.cc199 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get(), in PerformLVN()
201 lvn_.reset(new (allocator_.get()) LocalValueNumbering(gvn_.get(), 0u, allocator_.get())); in PerformLVN()
206 EXPECT_TRUE(gvn_->Good()); in PerformLVN()
216 gvn_(), in LocalValueNumberingTest()
237 std::unique_ptr<GlobalValueNumbering> gvn_; member in art::LocalValueNumberingTest
Dgvn_dead_code_elimination.cc447 : gvn_(gvn), in GvnDeadCodeElimination()
448 mir_graph_(gvn_->GetMirGraph()), in GvnDeadCodeElimination()
463 lvn_ = gvn_->GetLvn(bb->id); in Apply()
1044 RegLocation raw_dest = gvn_->GetMirGraph()->GetRawDest(mir); in RecordMIR()