Home
last modified time | relevance | path

Searched refs:GetEnd (Results 1 – 25 of 35) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.h70 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 …]
Dliveness_analyzer.cpp287 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/
Dliveness_analyzer_test.cpp342 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 …]
Dsplit_resolver_test.cpp134 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()
Dlife_intervals_test.cpp61 ASSERT_EQ(actual_range.GetEnd(), expected_lns.second); in CheckRanges()
/arkcompiler/ets_runtime/ecmascript/
Dweak_vector.h50 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()
Dtagged_queue.h64 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
Dweak_vector.cpp34 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()
Djs_finalization_registry.cpp40 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()
Dfree_object.h44 inline uintptr_t GetEnd() const in GetEnd() function
/arkcompiler/ets_runtime/ecmascript/mem/
Dmark_stack.h112 ResetBegin(currentArea_->GetBegin(), currentArea_->GetEnd()); in BeginMarking()
131 ResetTop(currentArea_->GetBegin(), currentArea_->GetEnd()); in PopBack()
161 ResetBegin(currentArea_->GetBegin(), currentArea_->GetEnd()); in Extend()
Dallocator-inl.h72 bpAllocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize()
85 auto end = region->GetEnd(); in AddFree()
107 uintptr_t end = object->GetEnd(); in Allocate()
Darea.h36 uintptr_t GetEnd() const in GetEnd() function
Dlinear_space.cpp94 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()
Dchunk.cpp67 end_ = area->GetEnd(); in Expand()
Dallocator.h55 uintptr_t GetEnd() const in GetEnd() function
Dtlab_allocator-inl.h119 if (buffer == youngAllocator_.GetEnd()) { in ExpandYoung()
Dspace.h160 return regionList_.GetLast()->GetEnd(); in GetAllocateAreaEnd()
Dsparse_space.cpp260 uintptr_t freeEnd = current->GetEnd(); in FreeRegion()
280 uintptr_t endPtr = region->GetEnd(); in IterateOverObjects()
/arkcompiler/ets_runtime/ecmascript/tests/
Dweak_vector_test.cpp65 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/
Dsplit_resolver.cpp49 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings()
118 auto src_split = src_interval->FindSiblingAt(src_liveness.GetEnd() - 1U); in ConnectSpiltFromPredBlock()
Dreg_alloc_base.h110 stack_use_last_positions_[slot] = interval->GetEnd(); in GetNextStackSlotImpl()
Dreg_alloc_graph_coloring.cpp46 …while (!active_nodes.empty() && active_nodes.front()->GetLifeIntervals()->GetEnd() <= range_start)… in BuildIG()
80 return lhs->GetLifeIntervals()->GetEnd() <= rhs->GetLifeIntervals()->GetEnd(); in BuildIG()
Dreg_alloc_resolver.cpp105 if (sibling->GetEnd() == pre_ins_ln) { in ResolveInputs()
/arkcompiler/ets_runtime/ecmascript/ic/
Dproto_change_details.cpp59 for (uint32_t i = 0; i < array->GetEnd(); i++) { in CheckHole()

12