Home
last modified time | relevance | path

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

123

/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
131 BitMemoryRegion region(data.data(), 40, 40); in TEST() local
139 BitMemoryRegion region(data.data(), 2, 20); in TEST() local
148 BitMemoryRegion region(data.data(), 16, 96); in TEST() local
158 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()
114 void RegionPool::FreeRegion(Region *region) in FreeRegion()
128 void RegionSpace::FreeRegion(Region *region) in FreeRegion()
179 auto *region = Region::AsRegion(&(*it)); in IterateRegionsList() local
194 auto *region = GetRegion<CROSS_REGION>(object); in IsLive() local
Dregion_space.cpp194 auto *region = RegionAt(i); in AllocRegion() local
221 auto *region = RegionAt(left); in AllocLargeRegion() local
234 void RegionBlock::FreeRegion(Region *region, bool releasePages) in FreeRegion()
270 void *region = nullptr; in NewRegion() local
290 Region *RegionPool::NewRegion(void *region, RegionSpace *space, size_t regionSize, RegionFlag edenO… in NewRegion()
311 void RegionPool::PromoteYoungRegion(Region *region) in PromoteYoungRegion()
343 Region *region = nullptr; in NewRegion() local
377 void RegionSpace::PromoteYoungRegion(Region *region) in PromoteYoungRegion()
391 IterateRegions([this](Region *region) { FreeRegion(region); }); in FreeAllRegions()
398 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
203 Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>( in Alloc() local
222 auto *region = ObjectToRegion(object); in PinObject() local
230 auto *region = ObjectToRegion(object); in UnpinObject() local
244 Region *region = nullptr; in CreateTLAB() local
281 …Region *region = this->template CreateAndSetUpNewRegion<AllocConfigT>(REGION_SIZE, RegionFlag::IS_… in CreateRegionSizeTLAB() local
292 TLAB *RegionAllocator<AllocConfigT, LockConfigT>::CreateTLABInRegion(Region *region, size_t size) in CreateTLABInRegion()
374 void RegionAllocator<AllocConfigT, LockConfigT>::CompactSpecificRegion(Region *region, in CompactSpecificRegion()
461 void RegionAllocator<AllocConfigT, LockConfigT>::PromoteYoungRegion(Region *region, const GCObjectV… in PromoteYoungRegion()
[all …]
Drem_set-inl.h110 auto *region = AddrToRegion(ToVoidPtr(bitmap_begin_addr)); in Iterate() local
140 void RemSet<LockConfigT>::AddRefRegion(Region *region) in AddRefRegion()
148 void RemSet<LockConfigT>::RemoveFromRegion(Region *region) in RemoveFromRegion()
159 void RemSet<LockConfigT>::RemoveRefRegion(Region *region) in RemoveRefRegion()
Dregion_allocator.h41 auto *region = reinterpret_cast<Region *>(((ToUintPtr(object)) & ~DEFAULT_REGION_MASK)); in ObjectToRegion() local
371 void SetCurrentRegion(Region *region) in SetCurrentRegion()
421 bool IsInCurrentRegion(Region *region) in IsInCurrentRegion()
455 Region *region = nullptr; in PopFromRegionQueue() local
475 void PushToRegionQueue(Region *region) in PushToRegionQueue()
/arkcompiler/ets_runtime/ecmascript/mem/
Dsparse_space.cpp37 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, in Initialize() local
93 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand() local
165 Region *region = nullptr; in TryFillSweptRegion() local
181 void SparseSpace::AddSweepingRegion(Region *region) in AddSweepingRegion()
197 Region *region = nullptr; in GetSweepingRegionSafe() local
205 void SparseSpace::AddSweptRegionSafe(Region *region) in AddSweptRegionSafe()
214 Region *region = nullptr; in GetSweptRegionSafe() local
222 void SparseSpace::FreeRegionFromSpace(Region *region) in FreeRegionFromSpace()
241 Region *region = *iter; in TryToGetSuitableSweptRegion() local
280 EnumerateRegions([&](Region *region) { in IterateOverObjects()
[all …]
Dparallel_evacuator.h78 …Workload(ParallelEvacuator *evacuator, Region *region) : evacuator_(evacuator), region_(region) {}; in Workload()
97 … EvacuateWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region) {} in EvacuateWorkload()
104 … UpdateRSetWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region) {} in UpdateRSetWorkload()
111 …UpdateNewRegionWorkload(ParallelEvacuator *evacuator, Region *region) : Workload(evacuator, region… in UpdateNewRegionWorkload()
118 UpdateAndSweepNewRegionWorkload(ParallelEvacuator *evacuator, Region *region) in UpdateAndSweepNewRegionWorkload()
Dspace-inl.h22 void Space::AddRegion(Region *region) in AddRegion()
30 void Space::RemoveRegion(Region *region) in RemoveRegion()
Dallocator-inl.h75 void FreeListAllocator::Initialize(Region *region) in Initialize()
87 void FreeListAllocator::AddFree(Region *region) in AddFree()
182 inline void FreeListAllocator::CollectFreeObjectSet(Region *region) in CollectFreeObjectSet()
193 inline bool FreeListAllocator::MatchFreeObjectSet(Region *region, size_t size) in MatchFreeObjectSet()
206 inline void FreeListAllocator::DetachFreeObjectSet(Region *region) in DetachFreeObjectSet()
Dparallel_evacuator-inl.h28 bool ParallelEvacuator::IsWholeRegionEvacuate(Region *region) in IsWholeRegionEvacuate()
143 Region *region = Region::ObjectAddressToRange(object); in SetObjectFieldRSet() local
157 void ParallelEvacuator::SetObjectRSet(ObjectSlot slot, Region *region) in SetObjectRSet()
182 void ParallelEvacuator::AddWorkload(std::unique_ptr<Workload> region) in AddWorkload()
Dheap_region_allocator.cpp67 Region *region = new (ToVoidPtr(mem)) Region(thread, mem, begin, end, flags); in AllocateAlignedRegion() local
72 void HeapRegionAllocator::FreeRegion(Region *region, size_t cachedSize) in FreeRegion()
Dlinear_space.cpp98 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand() local
123 EnumerateRegions([&](Region *region) { in IterateOverObjects()
172 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Initialize() local
191 bool SemiSpace::SwapRegion(Region *region, SemiSpace *fromSpace) in SwapRegion()
Dspace.cpp64 void Space::ClearAndFreeRegion(Region *region, size_t cachedSize) in ClearAndFreeRegion()
108 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, alignedSize, thread); in Allocate() local
140 EnumerateRegions([&](Region *region) { in IterateOverObjects()
Dparallel_evacuator.cpp105 std::unique_ptr<Workload> region = GetWorkloadSafe(); in EvacuateSpace() local
121 void ParallelEvacuator::EvacuateRegion(TlabAllocator *allocator, Region *region, in EvacuateRegion()
347 void ParallelEvacuator::UpdateRSet(Region *region) in UpdateRSet()
369 void ParallelEvacuator::UpdateNewRegionReference(Region *region) in UpdateNewRegionReference()
402 void ParallelEvacuator::UpdateAndSweepNewRegionReference(Region *region) in UpdateAndSweepNewRegionReference()
456 std::unique_ptr<Workload> region = GetWorkloadSafe(); in ProcessWorkloads() local
Dfree_object_list.cpp124 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
136 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(start)); in Free() local
Dverification.cpp28 Region *region = Region::ObjectAddressToRange(obj); in LogErrorForObjSlot() local
55 Region *region = Region::ObjectAddressToRange(obj); in LogErrorForObj() local
258 auto region = Region::ObjectAddressToRange(object); in operator ()() local
/arkcompiler/ets_runtime/ecmascript/tests/
Dread_only_space_test.cpp116 auto *region = Region::ObjectAddressToRange(object); in HWTEST_F_L0() local
145 auto *region = Region::ObjectAddressToRange(object); in HWTEST_F_L0() local
164 auto *region = Region::ObjectAddressToRange(string.GetObject<TaggedObject>()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgraph_linearizer.cpp62 auto region = linearizer_->FindPredRegion(state); in Run() local
540 size_t Push(GateRegion *region, size_t depth) in Push()
556 GateRegion *region; member
581 auto region = linearizer_->GateToRegion(fixedGate); in InitializeFixedGate() local
694 auto region = GetCommonDominatorOfAllUses(curGate); in ComputeLowerBoundAndScheduleGate() local
708 GateRegion* GetUpperBoundRegion(GateRegion* region) in GetUpperBoundRegion()
723 bool CheckRegionDomLoopExist(GateRegion* region, GraphLinearizer::LoopInfo* loopInfo) in CheckRegionDomLoopExist()
736 void ScheduleGate(GateRef gate, GateRegion* region) in ScheduleGate()
756 GateRegion* region = nullptr; in GetCommonDominatorOfAllUses() local
794 GateRegion* region = linearizer_->GateToRegion(gate); in ScheduleFixedGate() local
[all …]
Dgraph_linearizer.h366 void AddFixedGateToRegion(GateRef gate, GateRegion* region) in AddFixedGateToRegion()
382 void AddRootGateToRegion(GateRef gate, GateRegion* region) in AddRootGateToRegion()
395 void BindGate(GateRef gate, GateRegion* region) in BindGate()
404 GateRegion* region = GateToRegion(gate); in IsScheduled() local
438 LoopInfo* GetLoopInfo(GateRegion *region) in GetLoopInfo()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dcard_handler.cpp33 auto *region = AddrToRegion(startAddress); in Handle() local
Dg1-allocator.h181 …void CompactRegion(Region *region, const GCObjectVisitor &deathChecker, const ObjectVisitorEx &mov… in CompactRegion()
188 …void PromoteYoungRegion(Region *region, const GCObjectVisitor &deathChecker, const ObjectVisitor &… in PromoteYoungRegion()
Dg1-gc.cpp61 Region *region = ObjectToRegion(object); in CalcLiveBytesMarkPreprocess() local
70 Region *region = ObjectToRegion(object); in CalcLiveBytesNotAtomicallyMarkPreprocess() local
141 void G1GC<LanguageConfig>::DoRegionCompacting(Region *region, bool useGcWorkers, in DoRegionCompacting()
177 ScopedRegionCollectionInfo(const GC *gc, const char *title, const Region *region, bool isYoung, in ScopedRegionCollectionInfo()
208 auto region = regionInfo.region_; in operator <<() local
230 void G1GC<LanguageConfig>::RegionPromotionImpl(Region *region, const ObjectVisitor &movedObjectSave… in RegionPromotionImpl()
267 void G1GC<LanguageConfig>::IterateOverRefsInMemRange(const MemRange &memRange, Region *region, Hand… in IterateOverRefsInMemRange()
308 Region *region = ObjectToRegion(objectHeader); in operator ()() local
454 void G1GC<LanguageConfig>::RegionCompactingImpl(Region *region, const ObjectVisitor &movedObjectSav… in RegionCompactingImpl()
571 Region *region = data->first; in WorkerTaskProcessing() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/code_info/
Dcode_info.cpp48 auto region = GetRootsStackMask(stackMap); in Dump() local

123