Home
last modified time | relevance | path

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

/art/compiler/dex/
Dlocal_value_numbering.cc213 memory_version = Versions::StartMemoryVersion(gvn_, this, key); in UpdateAliasingValuesLoadVersion()
216 uint16_t ref_set_id = gvn_->GetRefSetId(values->store_loc_set); in UpdateAliasingValuesLoadVersion()
217 memory_version = Versions::BumpMemoryVersion(gvn_, memory_version, ref_set_id, in UpdateAliasingValuesLoadVersion()
264 res = Versions::LookupGlobalValue(gvn_, key, location, values->last_load_memory_version); in HandleAliasingValuesGet()
320 : gvn_(gvn), in LocalValueNumbering()
344 DCHECK(gvn_ == other.gvn_); in Equals()
409 *new_version = gvn_->LookupValue(kMergeBlockMemoryVersionBumpOp, 0u, 0u, id_); in NewMemoryVersion()
415 DCHECK_GE(gvn_->merge_lvns_.size(), 2u); in MergeMemoryVersions()
416 const LocalValueNumbering* cmp = gvn_->merge_lvns_[0]; in MergeMemoryVersions()
420 for (const LocalValueNumbering* lvn : gvn_->merge_lvns_) { in MergeMemoryVersions()
[all …]
Dlocal_value_numbering.h64 return gvn_->HasValue(kNoValue, s_reg, kNoValue, kNoValue, value_name); in IsSregValue()
106 DCHECK_EQ(map->count(s_reg), 0u) << PrettyMethod(gvn_->cu_->method_idx, *gvn_->cu_->dex_file) in SetOperandValueImpl()
118 res = gvn_->LookupValue(kNoValue, s_reg, kNoValue, kNoValue); in GetOperandValueImpl()
355 GlobalValueNumbering* gvn_; variable
Dlocal_value_numbering_test.cc183 EXPECT_TRUE(gvn_->Good()); in PerformLVN()
193 gvn_(), in LocalValueNumberingTest()
198 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get())); in LocalValueNumberingTest()
199 lvn_.reset(new (allocator_.get()) LocalValueNumbering(gvn_.get(), 0u, allocator_.get())); in LocalValueNumberingTest()
200 gvn_->AllowModifications(); in LocalValueNumberingTest()
209 std::unique_ptr<GlobalValueNumbering> gvn_; member in art::LocalValueNumberingTest
Dglobal_value_numbering_test.cc291 ASSERT_TRUE(gvn_ == nullptr); in DoPerformGVN()
292 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get())); in DoPerformGVN()
293 ASSERT_FALSE(gvn_->CanModify()); in DoPerformGVN()
298 LocalValueNumbering* lvn = gvn_->PrepareBasicBlock(bb); in DoPerformGVN()
304 change = (lvn != nullptr) && gvn_->FinishBasicBlock(bb); in DoPerformGVN()
305 ASSERT_TRUE(gvn_->Good()); in DoPerformGVN()
310 ASSERT_TRUE(gvn_ != nullptr); in PerformGVNCodeModifications()
311 ASSERT_TRUE(gvn_->Good()); in PerformGVNCodeModifications()
312 ASSERT_FALSE(gvn_->CanModify()); in PerformGVNCodeModifications()
313 gvn_->AllowModifications(); in PerformGVNCodeModifications()
[all …]