Home
last modified time | relevance | path

Searched defs:region (Results 1 – 25 of 87) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dbit_memory_region_test.cpp98 BitMemoryRegion region(data.data(), 0U, data.size() * BITS_PER_UINT64); in TEST() local
106 BitMemoryRegion region(data.data(), 0U, 130U); in TEST() local
115 BitMemoryRegion region(data.data(), 1U, 65U); in TEST() local
124 BitMemoryRegion region(data.data(), 0U, 129U); in TEST() local
133 BitMemoryRegion region(data.data(), 40U, 40U); in TEST() local
141 BitMemoryRegion region(data.data(), 2U, 20U); in TEST() local
150 BitMemoryRegion region(data.data(), 16U, 96U); in TEST() local
160 BitMemoryRegion region(data.data(), 31U, 120U); in TEST() local
/arkcompiler/runtime_core/libpandabase/tests/
Dbit_memory_region_test.cpp96 BitMemoryRegion region(data.data(), 0, data.size() * BITS_PER_UINT64); in TEST() local
104 BitMemoryRegion region(data.data(), 0, 130); in TEST() local
113 BitMemoryRegion region(data.data(), 1, 65); in TEST() local
122 BitMemoryRegion region(data.data(), 0, 129); in TEST() local
141 BitMemoryRegion region(data.data(), 40, 40); in TEST() local
149 BitMemoryRegion region(data.data(), 2, 20); in TEST() local
158 BitMemoryRegion region(data.data(), 16, 96); in TEST() local
168 BitMemoryRegion region(data.data(), 31, 120); in TEST() local
/arkcompiler/runtime_core/static_core/runtime/mem/
Dregion_space-inl.h25 explicit RegionAllocCheck(Region *region) : region_(region) in RegionAllocCheck()
42 explicit RegionIterateCheck(Region *region) : region_(region) in RegionIterateCheck()
130 void RegionPool::FreeRegion(Region *region) in FreeRegion()
144 void RegionSpace::FreeRegion(Region *region) in FreeRegion()
195 auto *region = Region::AsRegion(&(*it)); in IterateRegionsList() local
210 auto *region = GetRegion<CROSS_REGION>(object); in IsLive() local
Dregion_space.cpp234 auto *region = RegionAt(i); in AllocRegion() local
261 auto *region = RegionAt(left); in AllocLargeRegion() local
274 void RegionBlock::FreeRegion(Region *region, bool releasePages) in FreeRegion()
310 void *region = nullptr; in NewRegion() local
330 Region *RegionPool::NewRegion(void *region, RegionSpace *space, size_t regionSize, RegionFlag edenO… in NewRegion()
351 void RegionPool::PromoteYoungRegion(Region *region) in PromoteYoungRegion()
383 Region *region = nullptr; in NewRegion() local
417 void RegionSpace::PromoteYoungRegion(Region *region) in PromoteYoungRegion()
435 IterateRegions([this](Region *region) { FreeRegion(region); }); in FreeAllRegions()
442 Region *region = Region::AsRegion(&(*regionList.begin())); in GetRegionFromEmptyList() local
Dregion_allocator-inl.h80 Region *region = AllocRegion<OS_ALLOC_POLICY>(regionSize, regionType, properties); in CreateAndSetUpNewRegion() local
154 … Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>(REGION_SIZE, REGION_TYPE); in AllocRegular() local
243 Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>( in Alloc() local
262 auto *region = ObjectToRegion(object); in PinObject() local
270 auto *region = ObjectToRegion(object); in UnpinObject() local
293 Region *region = nullptr; in CreateTLAB() local
330 …Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>(REGION_SIZE, RegionFlag::IS_… in CreateRegionSizeTLAB() local
341 TLAB *RegionAllocator<AllocConfigT, LockConfigT>::CreateTLABInRegion(Region *region, size_t size) in CreateTLABInRegion()
423 void RegionAllocator<AllocConfigT, LockConfigT>::CompactSpecificRegion(Region *region, in CompactSpecificRegion()
510 void RegionAllocator<AllocConfigT, LockConfigT>::PromoteYoungRegion(Region *region, const GCObjectV… in PromoteYoungRegion()
[all …]
Drem_set-inl.h108 auto *region = AddrToRegion(ToVoidPtr(bitmap_begin_addr)); in GetDirtyRegions() local
160 auto *region = AddrToRegion(ToVoidPtr(bitmapBeginAddr)); in Iterate() local
190 void RemSet<LockConfigT>::AddRefRegion(Region *region) in AddRefRegion()
198 void RemSet<LockConfigT>::RemoveFromRegion(Region *region) in RemoveFromRegion()
209 void RemSet<LockConfigT>::RemoveRefRegion(Region *region) in RemoveRefRegion()
281 auto *region = AddrToRegion(ToVoidPtr(bitmapBeginAddr)); in IterateOverBits() local
288 bool GlobalRemSet::IterateOverUniqueRange(Region *region, MemRange range, const MemVisitor &visitor) in IterateOverUniqueRange()
Dregion_allocator.h41 auto *region = reinterpret_cast<Region *>(((ToUintPtr(object)) & ~DEFAULT_REGION_MASK)); in ObjectToRegion() local
352 void AddPromotedRegionToQueueIfPinned(Region *region) in AddPromotedRegionToQueueIfPinned()
376 void SetCurrentRegion(Region *region) in SetCurrentRegion()
419 bool IsInCurrentRegion(Region *region) in IsInCurrentRegion()
447 auto *region = regionQueue->back(); in PopFromRegionQueue() local
454 void PushToRegionQueue(Region *region) in PushToRegionQueue()
/arkcompiler/ets_runtime/ecmascript/mem/
Dparallel_evacuator.h82 …Workload(ParallelEvacuator *evacuator, Region *region) : evacuator_(evacuator), region_(region) {}; in Workload()
101 … EvacuateWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region) {} in EvacuateWorkload()
108 UpdateRSetWorkload(ParallelEvacuator *evacuator, Region *region, bool isEdenGC) in UpdateRSetWorkload()
118 …UpdateNewToEdenRSetWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, re… in UpdateNewToEdenRSetWorkload()
125 UpdateNewRegionWorkload(ParallelEvacuator *evacuator, Region *region, bool isYoungGC) in UpdateNewRegionWorkload()
135 … UpdateAndSweepNewRegionWorkload(ParallelEvacuator *evacuator, Region *region, bool isYoungGC) in UpdateAndSweepNewRegionWorkload()
Dsparse_space.cpp34 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, lo… in Initialize() local
94 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, lo… in Expand() local
169 Region *region = nullptr; in TryFillSweptRegion() local
186 void SparseSpace::AddSweepingRegion(Region *region) in AddSweepingRegion()
202 Region *region = nullptr; in GetSweepingRegionSafe() local
210 void SparseSpace::AddSweptRegionSafe(Region *region) in AddSweptRegionSafe()
220 Region *region = nullptr; in GetSweptRegionSafe() local
228 void SparseSpace::FreeRegionFromSpace(Region *region) in FreeRegionFromSpace()
248 Region *region = *iter; in TryToGetSuitableSweptRegion() local
287 EnumerateRegions([&](Region *region) { in IterateOverObjects()
[all …]
Dspace-inl.h22 void Space::AddRegion(Region *region) in AddRegion()
30 void Space::RemoveRegion(Region *region) in RemoveRegion()
Dallocator-inl.h82 void FreeListAllocator<T>::Initialize(Region *region) in Initialize()
96 void FreeListAllocator<T>::AddFree(Region *region) in AddFree()
213 inline void FreeListAllocator<T>::CollectFreeObjectSet(Region *region) in CollectFreeObjectSet()
225 inline bool FreeListAllocator<T>::MatchFreeObjectSet(Region *region, size_t size) in MatchFreeObjectSet()
239 inline void FreeListAllocator<T>::DetachFreeObjectSet(Region *region) in DetachFreeObjectSet()
Dspace.cpp62 void Space::ClearAndFreeRegion(Region *region, size_t cachedSize) in ClearAndFreeRegion()
107 EnumerateRegions([&](Region *region) { in GetMachineCodeObject()
148 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, allocSize, thread, heap_); in AllocateFort() local
174 Region *region; in Allocate() local
218 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, alignedSize, thread, heap_); in Allocate() local
250 EnumerateRegions([&](Region *region) { in IterateOverObjects()
Dparallel_evacuator-inl.h29 bool ParallelEvacuator::IsWholeRegionEvacuate(Region *region) in IsWholeRegionEvacuate()
41 bool ParallelEvacuator::WholeRegionEvacuate(Region *region) in WholeRegionEvacuate()
256 Region *region = Region::ObjectAddressToRange(object); in UpdateLocalToShareRSet() local
271 void ParallelEvacuator::SetLocalToShareRSet(ObjectSlot slot, Region *region) in SetLocalToShareRSet()
287 Region *region = Region::ObjectAddressToRange(object); in SetObjectFieldRSet() local
303 void ParallelEvacuator::SetObjectRSet(ObjectSlot slot, Region *region) in SetObjectRSet()
Dparallel_marker.cpp39 …heap_->EnumerateNewSpaceRegions([this, threadId](Region *region) {this->HandleNewToEdenRSet(thread… in ProcessNewToEden()
45 …heap_->EnumerateNewSpaceRegions([this, threadId](Region *region) {this->HandleNewToEdenRSet(thread… in ProcessNewToEdenNoMarkStack()
50 heap_->EnumerateOldSpaceRegions([this, threadId](Region *region) { in ProcessOldToNew()
58 heap_->EnumerateOldSpaceRegions([this, threadId](Region *region) { in ProcessOldToNewNoMarkStack()
63 void Marker::ProcessOldToNew(uint32_t threadId, Region *region) in ProcessOldToNew()
65 heap_->EnumerateOldSpaceRegions([this, threadId](Region *region) { in ProcessOldToNew()
73 heap_->EnumerateSnapshotSpaceRegions([this, threadId](Region *region) { in ProcessSnapshotRSet()
81 heap_->EnumerateSnapshotSpaceRegions([this, threadId](Region *region) { in ProcessSnapshotRSetNoMarkStack()
138 Region *region = Region::ObjectAddressToRange(obj); in ProcessMarkStack() local
184 Region *region = Region::ObjectAddressToRange(obj); in ProcessIncrementalMarkStack() local
Dlinear_space.cpp104 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, lo… in Expand() local
129 EnumerateRegions([&](Region *region) { in IterateOverObjects()
198 auto region = AllocRegion(); in Initialize() local
270 auto region = new (ToVoidPtr(mem)) Region(localHeap_->GetNativeAreaAllocator(), mem, begin, end, in AllocRegion() local
278 Region *region = AllocRegion(); in Expand() local
353 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, lo… in Initialize() local
383 bool SemiSpace::SwapRegion(Region *region, SemiSpace *fromSpace) in SwapRegion()
Djit_fort.cpp68 …JitFortRegion *region = new JitFortRegion(nullptr, mem, end, RegionSpaceFlag::IN_MACHINE_CODE_SPAC… in InitRegions() local
181 auto region = regionList_.GetFirst(); in UpdateFreeSpace() local
192 void JitFort::CollectFreeRanges(JitFortRegion *region) in CollectFreeRanges()
249 JitFortRegion *region = GetRegionList(); in ObjectAddressToRange() local
Dfree_object_list.cpp148 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
160 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
187 JitFortRegion *region = jitFort_->ObjectAddressToRange(start); in Free() local
199 JitFortRegion *region = jitFort_->ObjectAddressToRange(start); in Free() local
Dparallel_marker-inl.h132 inline void NonMovableMarker::HandleNewToEdenRSet(uint32_t threadId, Region *region) in HandleNewToEdenRSet()
149 inline void NonMovableMarker::HandleOldToNewRSet(uint32_t threadId, Region *region) in HandleOldToNewRSet()
239 inline void MovableMarker::HandleNewToEdenRSet(uint32_t threadId, Region *region) in HandleNewToEdenRSet()
258 inline void MovableMarker::HandleOldToNewRSet(uint32_t threadId, Region *region) in HandleOldToNewRSet()
338 Region *region = Region::ObjectAddressToRange(object); in UpdateLocalToShareRSet() local
356 void MovableMarker::SetLocalToShareRSet(ObjectSlot slot, Region *region) in SetLocalToShareRSet()
426 Region *region = Region::ObjectAddressToRange(object); in ShouldBePromoted() local
512 Region *region = Region::ObjectAddressToRange(object); in EvacuateObject() local
532 inline bool CompressGCMarker::NeedEvacuate(Region *region) in NeedEvacuate()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dglobal_schedule.cpp35 for (auto region : fcdg->GetAllRegions()) { in Run() local
56 bool GlobalSchedule::CheckCondition(CDGRegion &region) in CheckCondition()
74 void GlobalSchedule::DoGlobalSchedule(CDGRegion &region) in DoGlobalSchedule()
114 void GlobalSchedule::InitInCDGNode(CDGRegion &region, CDGNode &cdgNode, MemPool &cdgNodeMp) in InitInCDGNode()
126 void GlobalSchedule::PrepareCommonSchedInfo(CDGRegion &region, CDGNode &cdgNode, MemPool &cdgNodeMp) in PrepareCommonSchedInfo()
169 void GlobalSchedule::ClearCDGNodeInfo(CDGRegion &region, CDGNode &cdgNode, MemPool *cdgNodeMp) in ClearCDGNodeInfo()
Dlocal_schedule.cpp31 for (auto region : fcdg->GetAllRegions()) { in Run() local
61 void LocalSchedule::DoLocalScheduleForRegion(CDGRegion &region) in DoLocalScheduleForRegion()
Ddata_dep_analysis.cpp21 void DataDepAnalysis::Run(CDGRegion &region) in Run()
67 …ataDepAnalysis::InitInfoInRegion(MemPool &regionMp, MapleAllocator &regionAlloc, CDGRegion &region) in InitInfoInRegion()
108 void DataDepAnalysis::BuildSpecialInsnDependency(Insn &insn, CDGNode &cdgNode, CDGRegion &region, M… in BuildSpecialInsnDependency()
171 void DataDepAnalysis::GenerateDataDepGraphDotOfRegion(CDGRegion &region) in GenerateDataDepGraphDotOfRegion()
Dcontrol_dep_analysis.cpp219 auto *region = cdgMemPool.New<CDGRegion>(CDGRegionId(lastRegionId++), cdgAlloc); in ComputeGeneralNonLinearRegions() local
247 auto *region = cdgMemPool.New<CDGRegion>(CDGRegionId(lastRegionId++), cdgAlloc); in ComputeGeneralNonLinearRegions() local
297 auto *region = cdgMemPool.New<CDGRegion>(CDGRegionId(lastRegionId++), cdgAlloc); in CreateRegionForSingleBB() local
328 bool ControlDepAnalysis::AddRegionNodesInTopologicalOrder(CDGRegion &region, CDGNode &root, in AddRegionNodesInTopologicalOrder()
457 CDGRegion *region = FindExistRegion(*parentNode); in CreateAndDivideRegion() local
488 for (auto region : allRegions) { in FindExistRegion() local
581 auto *region = cdgMemPool.New<CDGRegion>(CDGRegionId(lastRegionId++), cdgAlloc); in CreateFCDGRegion() local
646 Dominance *ControlDepAnalysis::ComputePdomInRegion(CDGRegion &region, std::vector<BB *> &nonUniform… in ComputePdomInRegion()
762 bool ControlDepAnalysis::IsInDifferentSCCNode(CDGRegion &region, std::vector<BB *> &regionCFG, uint… in IsInDifferentSCCNode()
832 void ControlDepAnalysis::GetEquivalentNodesInRegion(CDGRegion &region, CDGNode &cdgNode, in GetEquivalentNodesInRegion()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_space.cpp152 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, sH… in Expand() local
163 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, sH… in AllocateDeserializeRegion() local
173 for (auto region : allocateRegions) { in MergeDeserializeAllocateRegions() local
246 Region *region = nullptr; in TryFillSweptRegion() local
261 void SharedSparseSpace::AddSweepingRegion(Region *region) in AddSweepingRegion()
277 Region *region = nullptr; in GetSweepingRegionSafe() local
285 void SharedSparseSpace::AddSweptRegionSafe(Region *region) in AddSweptRegionSafe()
294 Region *region = nullptr; in GetSweptRegionSafe() local
322 void SharedSparseSpace::DetachFreeObjectSet(Region *region) in DetachFreeObjectSet()
336 EnumerateRegions([&](Region *region) { in IterateOverObjects()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dg1-allocator.h182 void AddPromotedRegionToQueueIfPinned(Region *region) in AddPromotedRegionToQueueIfPinned()
187 …void CompactRegion(Region *region, const GCObjectVisitor &deathChecker, const ObjectVisitorEx &mov… in CompactRegion()
194 …void PromoteYoungRegion(Region *region, const GCObjectVisitor &deathChecker, const ObjectVisitor &… in PromoteYoungRegion()
210 void PushToOldRegionQueue(Region *region) in PushToOldRegionQueue()
/arkcompiler/ets_runtime/ecmascript/tests/
Dread_only_space_test.cpp109 auto *region = Region::ObjectAddressToRange(object); in HWTEST_F_L0() local
138 auto *region = Region::ObjectAddressToRange(object); in HWTEST_F_L0() local
157 auto *region = Region::ObjectAddressToRange(string.GetObject<TaggedObject>()); in HWTEST_F_L0() local

1234