/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() 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 …]
|
D | split_resolver_test.cpp | 134 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/ |
D | liveness_analyzer.cpp | 314 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 …]
|
D | liveness_analyzer.h | 61 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/ |
D | split_resolver.cpp | 49 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()
|
D | reg_alloc_graph_coloring.cpp | 43 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()
|
D | reg_alloc_resolver.cpp | 86 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()
|
D | reg_alloc_base.h | 105 if (stack_use_last_positions_[slot] > interval->GetBegin()) { in GetNextStackSlotImpl()
|
D | reg_alloc_base.cpp | 204 …ASSERT(inst->IsPhi() || inst->IsCatchPhi() || la.GetInstByLifeNumber(interval->GetBegin()) == inst… in PrepareIntervals()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | space.cpp | 98 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()
|
D | mark_stack.h | 33 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()
|
D | allocator-inl.h | 72 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()
|
D | linear_space.cpp | 94 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()
|
D | area.h | 31 uintptr_t GetBegin() const in GetBegin() function
|
D | chunk.cpp | 65 uintptr_t result = AlignUp(area->GetBegin(), MEM_ALIGN); in Expand()
|
D | dyn_chunk.h | 128 uint8_t *GetBegin() const in GetBegin() function
|
D | space.h | 155 return regionList_.GetLast()->GetBegin(); in GetAllocateAreaBegin()
|
D | region.h | 140 uintptr_t GetBegin() const in GetBegin() function 245 ASAN_UNPOISON_MEMORY_REGION(reinterpret_cast<void *>(GetBegin()), GetSize()); in Invalidate()
|
D | parallel_evacuator.cpp | 333 auto curPtr = region->GetBegin(); in UpdateNewRegionReference() 365 uintptr_t freeStart = region->GetBegin(); in UpdateAndSweepNewRegionReference()
|
D | sparse_space.cpp | 247 uintptr_t freeStart = current->GetBegin(); in FreeRegion() 279 uintptr_t curPtr = region->GetBegin(); in IterateOverObjects()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/ |
D | assembler_x64_test.cpp | 104 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/ |
D | assembler.h | 236 uint8_t *GetBegin() const in GetBegin() function 238 return buffer_.GetBegin(); in GetBegin()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | free_object.h | 39 inline uintptr_t GetBegin() const in GetBegin() function
|
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/ |
D | snapshot_test.cpp | 133 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/ |
D | assembler_module.cpp | 53 buffer_ = assembler.GetBegin(); in GenerateStubsX64() 70 buffer_ = assembler.GetBegin(); in GenerateStubsAarch64()
|