/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
D | liveness_analyzer.h | 70 LifeNumber GetEnd() const in GetEnd() function 103 if (live_range.GetEnd() != 0) { in LifeIntervals() 121 ASSERT(live_range.GetEnd() >= live_range.GetBegin()); in AppendRange() 123 if (live_ranges_.empty() || live_range.GetEnd() < live_ranges_.front().GetBegin()) { in AppendRange() 131 } else if (live_range.GetEnd() <= live_ranges_.front().GetEnd()) { in AppendRange() 141 live_ranges_.front().SetEnd(live_range.GetEnd()); in AppendRange() 158 live_ranges_.front().SetEnd(std::max(loop_range.GetEnd(), live_ranges_.front().GetEnd())); in AppendGroupRange() 166 ASSERT(live_ranges_[i].GetEnd() > live_ranges_.front().GetEnd()); in AppendGroupRange() 167 live_ranges_.front().SetEnd(live_ranges_[i].GetEnd()); in AppendGroupRange() 189 ASSERT(live_ranges_.front().GetEnd() >= from); in StartFrom() [all …]
|
D | liveness_analyzer.cpp | 287 loop_end = std::max(loop_end, GetBlockLiveRange(back_edge).GetEnd()); in GetLoopEnd() 351 live_range.SetEnd(live_range.GetEnd() + 1); in GetPropagatedLiveRange() 589 ASSERT(ln > GetBegin() && ln <= GetEnd()); in SplitAt() 599 for (auto &range = live_ranges_.back(); range.GetEnd() > ln; range = live_ranges_.back()) { in SplitAt() 604 split_child->AppendRange(ln, range.GetEnd()); in SplitAt() 606 if (range.GetBegin() != range.GetEnd()) { in SplitAt() 641 if (head->GetBegin() <= ln && ln <= head->GetEnd()) { in FindSiblingAt() 651 (range.GetBegin() <= GetBegin() && GetBegin() <= range.GetEnd()) || in Intersects() 653 (range.GetBegin() <= GetEnd() && GetEnd() <= range.GetEnd()) || in Intersects() 655 (GetBegin() <= range.GetBegin() && range.GetEnd() <= GetEnd()); in Intersects() [all …]
|
/arkcompiler/runtime_core/compiler/tests/ |
D | liveness_analyzer_test.cpp | 342 EXPECT_EQ(const0->GetRanges()[0], LiveRange(b0_lifetime.GetBegin() + 2, b3_lifetime.GetEnd())); in TEST_F() 349 EXPECT_EQ(mul->GetRanges()[0], LiveRange(b3_lifetime.GetBegin() + 2, b3_lifetime.GetEnd())); in TEST_F() 350 EXPECT_EQ(sub->GetRanges()[0], LiveRange(b3_lifetime.GetBegin() + 4, b3_lifetime.GetEnd())); in TEST_F() 391 EXPECT_EQ(null_check->GetRanges()[0].GetEnd() - null_check->GetRanges()[0].GetBegin(), 2U); in TEST_F() 392 EXPECT_EQ(bounds_check->GetRanges()[0].GetEnd() - bounds_check->GetRanges()[0].GetBegin(), 2U); in TEST_F() 393 EXPECT_EQ(len_array->GetRanges()[0].GetEnd() - len_array->GetRanges()[0].GetBegin(), 2U); in TEST_F() 419 EXPECT_TRUE(par0_lifetime->GetEnd() == null_check_lifetime->GetEnd()); in TEST_F() 420 EXPECT_TRUE(par1_lifetime->GetEnd() == null_check_lifetime->GetEnd()); in TEST_F() 421 EXPECT_TRUE(par2_lifetime->GetEnd() == null_check_lifetime->GetBegin()); in TEST_F() 481 EXPECT_EQ(mul->GetEnd(), inner_loop_back.GetEnd()); in TEST_F() [all …]
|
D | split_resolver_test.cpp | 134 SplitAssignReg(SplitAssignSlot(param, add->GetBegin(), 0), add->GetEnd(), 1); in TEST_F() 385 SplitAssignSlot(param, bb3.GetEnd(), 0); in TEST_F() 429 SplitAssignReg(SplitAssignSlot(param0, call->GetBegin(), 0), call->GetEnd(), 0); in TEST_F() 430 SplitAssignReg(SplitAssignSlot(param1, call->GetBegin(), 1), call->GetEnd(), 1); in TEST_F() 1155 …SplitAssignSlot(la->GetInstLifeIntervals(&INS(0)), la->GetInstLifeIntervals(&INS(6))->GetEnd(), 0); in TEST_F() 1210 SplitAssignReg(SplitAssignSlot(p0, la->GetInstLifeIntervals(&INS(5))->GetEnd(), 0), in TEST_F() 1212 SplitAssignReg(SplitAssignSlot(p1, la->GetInstLifeIntervals(&INS(5))->GetEnd(), 1), in TEST_F()
|
D | life_intervals_test.cpp | 61 ASSERT_EQ(actual_range.GetEnd(), expected_lns.second); in CheckRanges()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | weak_vector.h | 50 inline uint32_t GetEnd() const in GetEnd() function 57 return GetEnd() == GetCapacity(); in Full() 62 return GetEnd() == 0; in Empty() 85 uint32_t end = GetEnd(); in Iterate()
|
D | tagged_queue.h | 64 uint32_t end = queue->GetEnd().GetArrayLength(); in Push() 98 uint32_t end = queue->GetEnd().GetArrayLength(); in PushFixedQueue() 107 return GetStart() == GetEnd(); in Empty() 124 return JSTaggedValue(Get(GetEnd().GetArrayLength() - 1)); in Back() 133 uint32_t end = GetEnd().GetArrayLength(); in Size() 188 inline JSTaggedValue GetEnd() const in GetEnd() function
|
D | weak_vector.cpp | 34 uint32_t end = GetEnd(); in Delete() 132 for (uint32_t i = 0; i < vec->GetEnd(); i++) { in CheckHole() 143 uint32_t end = GetEnd(); in PushBack()
|
D | js_finalization_registry.cpp | 40 for (uint32_t i = 0; i < GetEnd(); i++) { in IsEmpty() 147 uint32_t cellVectLen = cellVect->GetEnd(); in DealCallBackOfMap() 182 uint32_t noUnregisterLen = noUnregister->GetEnd(); in CleanupFinalizationRegistry()
|
D | free_object.h | 44 inline uintptr_t GetEnd() const in GetEnd() function
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | mark_stack.h | 112 ResetBegin(currentArea_->GetBegin(), currentArea_->GetEnd()); in BeginMarking() 131 ResetTop(currentArea_->GetBegin(), currentArea_->GetEnd()); in PopBack() 161 ResetBegin(currentArea_->GetBegin(), currentArea_->GetEnd()); in Extend()
|
D | allocator-inl.h | 72 bpAllocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize() 85 auto end = region->GetEnd(); in AddFree() 107 uintptr_t end = object->GetEnd(); in Allocate()
|
D | area.h | 36 uintptr_t GetEnd() const in GetEnd() function
|
D | linear_space.cpp | 94 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Expand() 111 …allocator_.Reset(currentRegion->GetBegin(), currentRegion->GetEnd(), currentRegion->GetHighWaterMa… in ResetAllocator() 169 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize()
|
D | chunk.cpp | 67 end_ = area->GetEnd(); in Expand()
|
D | allocator.h | 55 uintptr_t GetEnd() const in GetEnd() function
|
D | tlab_allocator-inl.h | 119 if (buffer == youngAllocator_.GetEnd()) { in ExpandYoung()
|
D | space.h | 160 return regionList_.GetLast()->GetEnd(); in GetAllocateAreaEnd()
|
D | sparse_space.cpp | 260 uintptr_t freeEnd = current->GetEnd(); in FreeRegion() 280 uintptr_t endPtr = region->GetEnd(); in IterateOverObjects()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | weak_vector_test.cpp | 65 EXPECT_EQ(weakVector->GetEnd(), 0U); in HWTEST_F_L0() 129 EXPECT_EQ(newWeakVector->GetEnd(), 0U); in HWTEST_F_L0() 160 EXPECT_EQ(weakVector->GetEnd(), pushWeakVectorCapacity); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | split_resolver.cpp | 49 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings() 118 auto src_split = src_interval->FindSiblingAt(src_liveness.GetEnd() - 1U); in ConnectSpiltFromPredBlock()
|
D | reg_alloc_base.h | 110 stack_use_last_positions_[slot] = interval->GetEnd(); in GetNextStackSlotImpl()
|
D | reg_alloc_graph_coloring.cpp | 46 …while (!active_nodes.empty() && active_nodes.front()->GetLifeIntervals()->GetEnd() <= range_start)… in BuildIG() 80 return lhs->GetLifeIntervals()->GetEnd() <= rhs->GetLifeIntervals()->GetEnd(); in BuildIG()
|
D | reg_alloc_resolver.cpp | 105 if (sibling->GetEnd() == pre_ins_ln) { in ResolveInputs()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | proto_change_details.cpp | 59 for (uint32_t i = 0; i < array->GetEnd(); i++) { in CheckHole()
|