/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | liveness_analyzer.h | 71 LifeNumber GetEnd() const in GetEnd() function in ark::compiler::LiveRange 107 if (liveRange.GetEnd() != 0) { in LifeIntervals() 125 ASSERT(liveRange.GetEnd() >= liveRange.GetBegin()); in AppendRange() 127 if (liveRanges_.empty() || liveRange.GetEnd() < liveRanges_.back().GetBegin()) { in AppendRange() 135 } else if (liveRange.GetEnd() <= liveRanges_.back().GetEnd()) { in AppendRange() 145 liveRanges_.back().SetEnd(liveRange.GetEnd()); in AppendRange() 164 firstRange.SetEnd(std::max(loopRange.GetEnd(), firstRange.GetEnd())); in AppendGroupRange() 171 ASSERT(liveRanges_.back().GetEnd() > firstRang in AppendGroupRange() 211 LifeNumber GetEnd() const GetEnd() function in ark::compiler::LifeIntervals [all...] |
H A D | live_registers.cpp | 48 maxLn = std::max(maxLn, split->GetEnd()); 62 if (em->GetEnd() < midpoint) { in PartitionLeftSplit() 64 leftMaxLn = std::max(leftMaxLn, em->GetEnd()); in PartitionLeftSplit() 82 rightMaxLn = std::max(rightMaxLn, em->GetEnd()); in PartitionRightSplit() 132 [](LifeIntervals *l, LifeIntervals *r) { return l->GetEnd() > r->GetEnd(); }); in BuildIntervalsTree()
|
H A D | live_registers.h | 59 LifeIntervalsIt GetEnd() const in GetEnd() function in ark::compiler::LifeIntervalsTreeNode 123 for (auto i = node->GetBegin(); i < node->GetEnd(); i++) { in VisitIntervals() 128 if (ln > interval->GetEnd()) { in VisitIntervals()
|
H A D | liveness_analyzer.cpp | 347 loopEnd = std::max(loopEnd, GetBlockLiveRange(backEdge).GetEnd()); in GetLoopEnd() 411 interval->AppendRange({instLifeNumber, GetBlockLiveRange(block).GetEnd()}); in ProcessOpcodeLiveOut() 445 liveRange.SetEnd(liveRange.GetEnd() + 1); in GetPropagatedLiveRange() 455 liveRange.SetEnd(GetBlockLiveRange(inst->GetBasicBlock()).GetEnd()); in GetPropagatedLiveRange() 508 GetInstLifeIntervals(input)->AppendRange(liveRange.GetBegin(), liveRange.GetEnd() + 1U); in SetInputRange() 849 ASSERT(ln > GetBegin() && ln <= GetEnd()); in SplitAt() 864 while (i > 0 && liveRanges_[i - 1].GetEnd() <= ln) { in SplitAt() 895 } else if (use < GetEnd() - 1) { in SplitAroundUses() 926 if (head->GetBegin() <= ln && ln <= head->GetEnd()) { in FindSiblingAt() 936 (range.GetBegin() <= GetBegin() && GetBegin() <= range.GetEnd()) || in Intersects() [all...] |
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
H A D | liveness_analyzer.h | 70 LifeNumber GetEnd() const in GetEnd() function in panda::compiler::LiveRange 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 in AppendGroupRange() 205 LifeNumber GetEnd() const GetEnd() function in panda::compiler::LifeIntervals [all...] |
H A 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() 590 ASSERT(ln > GetBegin() && ln <= GetEnd()); in SplitAt() 601 for (auto &range = live_ranges_.back(); range.GetEnd() > ln; range = live_ranges_.back()) { in SplitAt() 606 split_child->AppendRange(ln, range.GetEnd()); in SplitAt() 608 if (range.GetBegin() != range.GetEnd()) { in SplitAt() 643 if (head->GetBegin() <= ln && ln <= head->GetEnd()) { in FindSiblingAt() 653 (range.GetBegin() <= GetBegin() && GetBegin() <= range.GetEnd()) || in Intersects() 655 (range.GetBegin() <= GetEnd() && GetEnd() < in Intersects() [all...] |
/arkcompiler/runtime_core/compiler/tests/ |
H A 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() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A 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 in panda::ecmascript::TaggedQueue
|
H A D | weak_vector.h | 51 inline uint32_t GetEnd() const in GetEnd() function in panda::ecmascript::WeakVector 58 return GetEnd() == GetCapacity(); in Full() 63 return GetEnd() == 0; in Empty() 86 uint32_t end = GetEnd();
|
H A D | weak_vector.cpp | 40 uint32_t end = GetEnd(); in Delete() 138 for (uint32_t i = 0; i < vec->GetEnd(); i++) { in CheckHole() 149 uint32_t end = GetEnd(); in PushBack()
|
H A D | free_object.h | 46 inline uintptr_t GetEnd() const in GetEnd() function in panda::ecmascript::FreeObject
|
H A D | js_finalization_registry.cpp | 39 for (uint32_t i = 0; i < GetEnd(); i++) { in IsEmpty() 146 uint32_t cellVectLen = cellVect->GetEnd(); in DealCallBackOfMap() 181 uint32_t noUnregisterLen = noUnregister->GetEnd(); in CleanupFinalizationRegistry()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | liveness_analyzer_test.cpp | 319 EXPECT_EQ(const0->GetRanges()[0U], LiveRange(b0Lifetime.GetBegin() + 2U, b3Lifetime.GetEnd())); in TEST_F() 326 EXPECT_EQ(mul->GetRanges()[0U], LiveRange(b3Lifetime.GetBegin() + 2U, b3Lifetime.GetEnd())); in TEST_F() 327 EXPECT_EQ(sub->GetRanges()[0U], LiveRange(b3Lifetime.GetBegin() + 4U, b3Lifetime.GetEnd())); in TEST_F() 368 EXPECT_EQ(nullCheck->GetRanges()[0U].GetEnd() - nullCheck->GetRanges()[0U].GetBegin(), 2U); in TEST_F() 369 EXPECT_EQ(boundsCheck->GetRanges()[0U].GetEnd() - boundsCheck->GetRanges()[0U].GetBegin(), 2U); in TEST_F() 370 EXPECT_EQ(lenArray->GetRanges()[0U].GetEnd() - lenArray->GetRanges()[0U].GetBegin(), 2U); in TEST_F() 396 EXPECT_TRUE(par0Lifetime->GetEnd() == nullCheckLifetime->GetEnd()); in TEST_F() 397 EXPECT_TRUE(par1Lifetime->GetEnd() == nullCheckLifetime->GetEnd()); in TEST_F() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | condition_chain.h | 83 BlockIterator GetEnd() in GetEnd() function in ark::compiler::ConditionChain 98 BlockConstIterator GetEnd() const in GetEnd() function in ark::compiler::ConditionChain
|
H A D | condition_chain_cache.cpp | 32 for (auto it0 = chain0->GetBegin(); it0 != chain0->GetEnd(); ++it0) { in Contains() 36 for (auto it1 = chain1->GetBegin(); it1 != chain1->GetEnd(); ++it1) { in Contains()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | mark_stack.h | 110 ResetBegin(currentArea_->GetBegin(), currentArea_->GetEnd()); in BeginMarking() 129 ResetTop(currentArea_->GetBegin(), currentArea_->GetEnd()); in PopBack() 159 ResetBegin(currentArea_->GetBegin(), currentArea_->GetEnd()); in Extend()
|
H A D | regexp_cached_chunk.cpp | 27 end_ = currentArea_->GetEnd(); in RegExpCachedChunk()
|
H A D | linear_space.cpp | 107 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Expand() 123 allocator_.Reset(currentRegion->GetBegin(), currentRegion->GetEnd(), currentRegion->GetHighWaterMark()); in ResetAllocator() 201 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize() 291 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Expand() 352 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize()
|
H A D | area.h | 36 uintptr_t GetEnd() const in GetEnd() function in panda::ecmascript::Area
|
H A D | allocator-inl.h | 84 bpAllocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize() 99 auto end = region->GetEnd(); in AddFree() 124 uintptr_t end = object->GetEnd(); in Allocate()
|
H A D | chunk.cpp | 69 end_ = area->GetEnd(); in Expand()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | weak_vector_test.cpp | 29 * @tc.desc: Check whether the returned value through "Create" function is within expectations by "GetEnd" 41 EXPECT_EQ(weakVector->GetEnd(), 0U); in HWTEST_F_L0() 105 EXPECT_EQ(newWeakVector->GetEnd(), 0U); in HWTEST_F_L0() 136 EXPECT_EQ(weakVector->GetEnd(), pushWeakVectorCapacity); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
H A D | split_resolver.cpp | 49 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings() 118 auto srcEndPos = srcLiveness.GetEnd() - 1U; in ConnectSplitFromPredBlock()
|
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
H A D | shared_space.cpp | 176 region->SetHighWaterMark(region->GetEnd()); in MergeDeserializeAllocateRegions() 315 uintptr_t freeEnd = current->GetEnd(); in FreeRegion() 337 uintptr_t endPtr = region->GetEnd(); in IterateOverObjects() 523 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Expand() 559 uintptr_t endPtr = region->GetEnd(); in IterateOverObjects()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
H A D | split_resolver.cpp | 47 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings() 116 auto src_split = src_interval->FindSiblingAt(src_liveness.GetEnd() - 1U); in ConnectSpiltFromPredBlock()
|