Home
last modified time | relevance | path

Searched refs:GetBegin (Results 1 – 25 of 29) sorted by relevance

12

/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()
343 …PECT_EQ(const1->GetRanges()[0], LiveRange(b0_lifetime.GetBegin() + 4, phi0->GetRanges()[0].GetBegi… in TEST_F()
344 …PECT_EQ(const2->GetRanges()[0], LiveRange(b0_lifetime.GetBegin() + 6, add->GetRanges()[0].GetBegin in TEST_F()
345 …EXPECT_EQ(phi0->GetRanges()[0], LiveRange(b2_lifetime.GetBegin(), mul->GetRanges()[0].GetBegin())); in TEST_F()
346 …EXPECT_EQ(phi0->GetRanges()[1], LiveRange(b4_lifetime.GetBegin(), add->GetRanges()[0].GetBegin())); in TEST_F()
347 …EXPECT_EQ(phi1->GetRanges()[0], LiveRange(b2_lifetime.GetBegin(), sub->GetRanges()[0].GetBegin())); in TEST_F()
348 … EXPECT_EQ(cmp->GetRanges()[0], LiveRange(b2_lifetime.GetBegin() + 2, b2_lifetime.GetBegin() + 4)); 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()
351 … EXPECT_EQ(add->GetRanges()[0], LiveRange(b4_lifetime.GetBegin() + 2, b4_lifetime.GetBegin() + 4)); in TEST_F()
[all …]
Dsplit_resolver_test.cpp134 SplitAssignReg(SplitAssignSlot(param, add->GetBegin(), 0), add->GetEnd(), 1); in TEST_F()
216 SplitAssignSlot(param, call->GetBegin(), 0); in TEST_F()
258 SplitAssignSlot(param, call->GetBegin(), 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()
483 SplitAssignReg(SplitAssignSlot(param0, addi->GetBegin(), 0), add->GetBegin(), 0); in TEST_F()
484 SplitAssignReg(SplitAssignSlot(param1, addi->GetBegin(), 1), add->GetBegin(), 1); in TEST_F()
527 SplitAssignSlot(param0, mul->GetBegin(), 0); in TEST_F()
588 SplitAssignSlot(param0, mul->GetBegin(), 0); in TEST_F()
687 SplitAssignSlot(param0, add->GetBegin() + 2, 0); in TEST_F()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.cpp314 inst_life_number = std::min(inst_life_number, GetBlockLiveRange(pred).GetBegin()); in ProcessBlockLiveInstructions()
319 … auto current_live_range = LiveRange {GetBlockLiveRange(block).GetBegin(), inst_life_number}; in ProcessBlockLiveInstructions()
336 … interval->AppendGroupRange({GetBlockLiveRange(block).GetBegin(), loop_end_position}); in ProcessBlockLiveInstructions()
528 … [](const auto &lhs, const auto &rhs) { return lhs->GetBegin() < rhs->GetBegin(); }); in DumpLocationsUsage()
589 ASSERT(ln > GetBegin() && ln <= GetEnd()); in SplitAt()
601 if (range.GetBegin() > ln) { 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()
[all …]
Dliveness_analyzer.h61 LifeNumber GetBegin() const in GetBegin() function
121 ASSERT(live_range.GetEnd() >= live_range.GetBegin()); in AppendRange()
123 if (live_ranges_.empty() || live_range.GetEnd() < live_ranges_.front().GetBegin()) { in AppendRange()
132 live_ranges_.front().SetBegin(live_range.GetBegin()); in AppendRange()
140 ASSERT(live_ranges_.front().GetBegin() == live_range.GetBegin()); in AppendRange()
156 ASSERT(loop_range.GetBegin() == live_ranges_.front().GetBegin()); in AppendGroupRange()
165 } else if (live_ranges_.front().Contains(live_ranges_[i].GetBegin())) { in AppendGroupRange()
199 LifeNumber GetBegin() const in GetBegin() function
202 return GetRanges().front().GetBegin(); in GetBegin()
215 if (range.GetBegin() <= position && position < range.GetEnd()) { in SplitCover()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dsplit_resolver.cpp49 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings()
54 …"Connect siblings for inst v" << interval->GetInst()->GetId() << " at point: " << curr->GetBegin(); in ConnectSiblings()
57 auto inst = liveness_->GetInstByLifeNumber(curr->GetBegin() + 1U); in ConnectSiblings()
71 auto succ_begin = liveness_->GetBlockLiveRange(block).GetBegin(); in ProcessBlock()
75 if (interval->GetBegin() == succ_begin) { in ProcessBlock()
Dreg_alloc_graph_coloring.cpp43 auto range_start = current_interval->GetBegin(); in BuildIG()
67 if (intersection == current_interval->GetBegin()) { in BuildIG()
338 … [](const auto &lhs, const auto &rhs) { return lhs->GetBegin() < rhs->GetBegin(); }); in AddRange()
399 if (next->GetBegin() <= interval->GetBegin()) { in Presplit()
422 auto split = interval->SplitAt(interval->GetBegin() + 1, GetGraph()->GetAllocator()); in Presplit()
Dreg_alloc_resolver.cpp86 auto pre_ins_ln = liveness_->GetInstLifeIntervals(inst)->GetBegin() - 1U; in ResolveInputs()
190 auto dst_ln = liveness_->GetInstLifeIntervals(user)->GetBegin(); in FillSaveStateRootsMask()
210 auto udst_ln = liveness_->GetInstLifeIntervals(explicit_test_user)->GetBegin(); in FillSaveStateRootsMask()
Dreg_alloc_base.h105 if (stack_use_last_positions_[slot] > interval->GetBegin()) { in GetNextStackSlotImpl()
Dreg_alloc_base.cpp204 …ASSERT(inst->IsPhi() || inst->IsCatchPhi() || la.GetInstByLifeNumber(interval->GetBegin()) == inst… in PrepareIntervals()
/arkcompiler/ets_runtime/ecmascript/mem/
Dspace.cpp98 ASAN_UNPOISON_MEMORY_REGION(reinterpret_cast<void *>(region->GetBegin()), objectSize); in Allocate()
100 InvokeAllocationInspector(region->GetBegin(), objectSize); in Allocate()
102 return region->GetBegin(); in Allocate()
128 uintptr_t curPtr = region->GetBegin(); in IterateOverObjects()
Dmark_stack.h33 uintptr_t GetBegin() const in GetBegin() function
112 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()
84 auto begin = region->GetBegin(); in AddFree()
106 uintptr_t begin = object->GetBegin(); in Allocate()
161 return freeObject->GetBegin(); in LookupSuitableFreeObject()
Dlinear_space.cpp94 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Expand()
111 …allocator_.Reset(currentRegion->GetBegin(), currentRegion->GetEnd(), currentRegion->GetHighWaterMa… in ResetAllocator()
119 auto curPtr = region->GetBegin(); in IterateOverObjects()
169 allocator_.Reset(region->GetBegin(), region->GetEnd()); in Initialize()
Darea.h31 uintptr_t GetBegin() const in GetBegin() function
Dchunk.cpp65 uintptr_t result = AlignUp(area->GetBegin(), MEM_ALIGN); in Expand()
Ddyn_chunk.h128 uint8_t *GetBegin() const in GetBegin() function
Dspace.h155 return regionList_.GetLast()->GetBegin(); in GetAllocateAreaBegin()
Dregion.h140 uintptr_t GetBegin() const in GetBegin() function
245 ASAN_UNPOISON_MEMORY_REGION(reinterpret_cast<void *>(GetBegin()), GetSize()); in Invalidate()
Dparallel_evacuator.cpp333 auto curPtr = region->GetBegin(); in UpdateNewRegionReference()
365 uintptr_t freeStart = region->GetBegin(); in UpdateAndSweepNewRegionReference()
Dsparse_space.cpp247 uintptr_t freeStart = current->GetBegin(); in FreeRegion()
279 uintptr_t curPtr = region->GetBegin(); in IterateOverObjects()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
Dassembler_x64_test.cpp104 uint8_t *byteSp = assemlber->GetBegin(); in DisassembleChunk()
182 masm.GetBegin(), masm.GetCurrentPosition()); in HWTEST_F_L0()
263 masm.GetBegin(), masm.GetCurrentPosition()); in HWTEST_F_L0()
325 masm.GetBegin(), masm.GetCurrentPosition()); in HWTEST_F_L0()
404 masm.GetBegin(), masm.GetCurrentPosition()); in HWTEST_F_L0()
471 masm.GetBegin(), masm.GetCurrentPosition()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/
Dassembler.h236 uint8_t *GetBegin() const in GetBegin() function
238 return buffer_.GetBegin(); in GetBegin()
/arkcompiler/ets_runtime/ecmascript/
Dfree_object.h39 inline uintptr_t GetBegin() const in GetBegin() function
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
Dsnapshot_test.cpp133 auto constpool1 = reinterpret_cast<ConstantPool *>(beginRegion->GetBegin()); in HWTEST_F_L0()
182 auto constpool1 = reinterpret_cast<ConstantPool *>(beginRegion->GetBegin()); in HWTEST_F_L0()
229 auto constpool = reinterpret_cast<ConstantPool *>(beginRegion->GetBegin()); in HWTEST_F_L0()
305 auto array4 = reinterpret_cast<TaggedArray *>(lastRegion->GetBegin()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dassembler_module.cpp53 buffer_ = assembler.GetBegin(); in GenerateStubsX64()
70 buffer_ = assembler.GetBegin(); in GenerateStubsAarch64()

12