Home
last modified time | relevance | path

Searched refs:marker (Results 1 - 25 of 46) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dgenerational-gc-base-inl.h26 void GenerationalGC<LanguageConfig>::MarkStack(Marker *marker, GCMarkingStackType *stack, in MarkStack() argument
38 ASSERT(marker->IsMarked(object)); in MarkStack()
47 static_cast<Marker *>(marker)->MarkInstance(stack, object, objectClass, refPred...); in MarkStack()
53 NO_THREAD_SAFETY_ANALYSIS void GenerationalGC<LanguageConfig>::MarkImpl(Marker *marker, in MarkImpl() argument
61 this->VisitClassRoots([this, marker, objectsStack](const GCRoot &gcRoot) { in MarkImpl()
62 if (marker->MarkIfNotMarked(gcRoot.GetObjectHeader())) { in MarkImpl()
69 MarkStack(marker, objectsStack, markPreprocess, refPred); in MarkImpl()
72 auto visitor = [marker, objectsStack](ObjectHeader *str) { in MarkImpl()
73 if (marker->MarkIfNotMarked(str)) { in MarkImpl()
81 MarkStack(marker, objectsStac in MarkImpl()
91 VisitCardTableConcurrent(Marker *marker, GCMarkingStackType *objectsStack, const ReferenceCheckPredicateT &refPred, const MemRangeChecker &memRangeChecker, const GC::MarkPreprocess &markPreprocess) VisitCardTableConcurrent() argument
[all...]
H A Dgenerational-gc-base.h67 NO_THREAD_SAFETY_ANALYSIS void MarkImpl(Marker *marker, GCMarkingStackType *objectsStack,
75 void MarkStack(Marker *marker, GCMarkingStackType *stack, const GC::MarkPreprocess &markPreprocess,
288 void VisitCardTableConcurrent(Marker *marker, GCMarkingStackType *objectsStack,
H A Dgc_marker.h335 explicit NoAtomicGCMarkerScope(Marker *marker) in NoAtomicGCMarkerScope() argument
337 ASSERT(marker != nullptr); in NoAtomicGCMarkerScope()
338 gcMarker_ = marker; in NoAtomicGCMarkerScope()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dloop_transform.h72 bool LoopVisitLRN(Loop *loop, Marker marker) in LoopVisitLRN() argument
78 result &= LoopVisitLRN(innerLoop, marker); in LoopVisitLRN()
82 return VisitLoop(loop, marker); in LoopVisitLRN()
88 bool VisitBlockInLoop(BasicBlock *block, Loop *loop, Marker marker) in VisitBlockInLoop() argument
92 if (!block->IsMarked(marker) && block->IsLoopHeader()) { in VisitBlockInLoop()
97 if (block->IsMarked(marker) && !block->IsLoopHeader()) { in VisitBlockInLoop()
105 if (!block->IsMarked(marker) && block == back_edge) { in VisitBlockInLoop()
110 if (block->IsMarked(marker) && block != back_edge) { in VisitBlockInLoop()
120 bool VisitLoop(Loop *loop, [[maybe_unused]] Marker marker) in VisitLoop() argument
128 if (!VisitBlockInLoop(block, loop, marker)) { in VisitLoop()
[all...]
H A Dloop_idioms.cpp88 bool CanReplaceLoop(Loop *loop, Marker marker) in CanReplaceLoop() argument
93 if (inst->IsMarked(marker)) { in CanReplaceLoop()
136 Marker marker = holder.GetMarker(); in TryTransformArrayInitIdiom() local
137 store->SetMarker(marker); in TryTransformArrayInitIdiom()
138 loopInfo.update->SetMarker(marker); in TryTransformArrayInitIdiom()
139 loopInfo.index->SetMarker(marker); in TryTransformArrayInitIdiom()
140 loopInfo.ifImm->SetMarker(marker); in TryTransformArrayInitIdiom()
141 loopInfo.ifImm->GetInput(0).GetInst()->SetMarker(marker); in TryTransformArrayInitIdiom()
143 if (!CanReplaceLoop(loop, marker)) { in TryTransformArrayInitIdiom()
H A Dbranch_elimination.cpp244 bool AllPredecessorsMarked(BasicBlock *block, Marker marker) in AllPredecessorsMarked() argument
252 if (!pred->IsMarked(marker)) { in AllPredecessorsMarked()
256 block->SetMarker(marker); in AllPredecessorsMarked()
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_full_gc.cpp64 SharedGCMovableMarker *marker = sHeap_->GetSharedGCMovableMarker(); in Mark() local
66 marker->MarkRoots(DAEMON_THREAD_INDEX, SharedMarkType::NOT_CONCURRENT_MARK, VMRootVisitType::UPDATE_ROOT); in Mark()
67 marker->DoMark<SharedMarkType::NOT_CONCURRENT_MARK>(DAEMON_THREAD_INDEX); in Mark()
68 marker->MergeBackAndResetRSetWorkListHandler(); in Mark()
163 auto marker = reinterpret_cast<SharedGCMovableMarker *>(sHeap_->GetSharedGCMovableMarker()); in HasEvacuated() local
164 return marker->NeedEvacuate(region); in HasEvacuated()
H A Dshared_gc.cpp79 SharedGCMarker *marker = sHeap_->GetSharedGCMarker(); in Mark() local
80 marker->MarkRoots(DAEMON_THREAD_INDEX, SharedMarkType::NOT_CONCURRENT_MARK); in Mark()
81 marker->DoMark<SharedMarkType::NOT_CONCURRENT_MARK>(DAEMON_THREAD_INDEX); in Mark()
82 marker->MergeBackAndResetRSetWorkListHandler(); in Mark()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dtimeout.py86 marker = item.get_closest_marker("timeout")
87 if marker:
89 raise RuntimeError("timeout marker can only be used by Trio tests")
91 seconds = marker.kwargs.get("seconds", default_seconds)
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dloop_unswitcher.cpp222 bool trueCond, Marker marker) in EstimateUnswitchInstructionsCount()
224 if (bb->IsMarked(marker)) { in EstimateUnswitchInstructionsCount()
227 bb->SetMarker(marker); in EstimateUnswitchInstructionsCount()
235 count += EstimateUnswitchInstructionsCount(bb->GetSuccsBlocks()[0], backEdge, unswitchInst, trueCond, marker); in EstimateUnswitchInstructionsCount()
238 count += EstimateUnswitchInstructionsCount(succ, backEdge, unswitchInst, trueCond, marker); in EstimateUnswitchInstructionsCount()
241 count += EstimateUnswitchInstructionsCount(succ, backEdge, unswitchInst, trueCond, marker); in EstimateUnswitchInstructionsCount()
244 count += EstimateUnswitchInstructionsCount(succ, backEdge, unswitchInst, trueCond, marker); in EstimateUnswitchInstructionsCount()
221 EstimateUnswitchInstructionsCount(BasicBlock *bb, const BasicBlock *backEdge, const Inst *unswitchInst, bool trueCond, Marker marker) EstimateUnswitchInstructionsCount() argument
H A Danalysis.cpp59 bool FindBlockBetween(BasicBlock *dominateBb, BasicBlock *currentBb, Marker marker) in FindBlockBetween() argument
64 if (currentBb->SetMarker(marker)) { in FindBlockBetween()
71 if (FindBlockBetween<T>(dominateBb, pred, marker)) { in FindBlockBetween()
137 MarkerHolder marker(graph); in HasOsrEntryBetween()
138 return FindBlockBetween<IsOsrEntryBlock>(dominateBb, bb, marker.GetMarker()); in HasOsrEntryBetween()
145 MarkerHolder marker(bb->GetGraph()); in HasTryBlockBetween()
146 return FindBlockBetween<IsTryBlock>(dominateInst->GetBasicBlock(), bb, marker.GetMarker()); in HasTryBlockBetween()
354 bool CanRemoveOverflowCheck(Inst *inst, Marker marker) in CanRemoveOverflowCheck() argument
356 if (inst->SetMarker(marker)) { in CanRemoveOverflowCheck()
397 canRemove = CanRemoveOverflowCheck(userInst, marker); in CanRemoveOverflowCheck()
872 FindInstBetween(Inst *domInst, BasicBlock *currentBb, Marker marker) FindInstBetween() argument
[all...]
H A Dmarker.h86 // returns true if the marker was set before, otherwise set marker and return false
99 // returns true if the marker was set before, otherwise false
108 // unset marker and returns true if the marker was set before, otherwise false
121 for (unsigned int &marker : markers_) {
122 marker = UNDEF_MARKER;
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dfull_gc.cpp68 auto marker = reinterpret_cast<CompressGCMarker*>(heap_->GetCompressGCMarker()); in RunPhasesForAppSpawn() local
69 marker->SetAppSpawn(true); in RunPhasesForAppSpawn()
71 marker->SetAppSpawn(false); in RunPhasesForAppSpawn()
194 auto marker = reinterpret_cast<CompressGCMarker*>(heap_->GetCompressGCMarker()); in HasEvacuated() local
195 return marker->NeedEvacuate(region); in HasEvacuated()
H A Dincremental_marker.h99 explicit RecursionScope(IncrementalMarker* marker) : marker_(marker) in RecursionScope() argument
H A Dmem_controller.cpp210 void MemController::RecordAfterConcurrentMark(MarkType markType, const ConcurrentMarker *marker) in RecordAfterConcurrentMark() argument
212 double duration = marker->GetDuration(); in RecordAfterConcurrentMark()
214 recordedConcurrentMarks_.Push(MakeBytesAndDuration(marker->GetHeapObjectSize(), duration)); in RecordAfterConcurrentMark()
216 recordedSemiConcurrentMarks_.Push(MakeBytesAndDuration(marker->GetHeapObjectSize(), duration)); in RecordAfterConcurrentMark()
218 recordedEdenConcurrentMarks_.Push(MakeBytesAndDuration(marker->GetHeapObjectSize(), duration)); in RecordAfterConcurrentMark()
H A Dconcurrent_marker.h34 // CONFIG_DISABLE means concurrent marker is disabled by options or macros and cannot be changed.
131 explicit RecursionScope(ConcurrentMarker* marker) : marker_(marker) in RecursionScope() argument
H A Dpartial_gc.cpp104 auto marker = heap_->GetConcurrentMarker(); in Finish() local
105 marker->Reset(false); in Finish()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
H A Dir_builder.cpp400 static void MarkNormalControlFlow(BasicBlock *block, Marker marker) in MarkNormalControlFlow() argument
402 block->SetMarker(marker); in MarkNormalControlFlow()
404 if (!succ->IsMarked(marker)) { in MarkNormalControlFlow()
405 MarkNormalControlFlow(succ, marker); in MarkNormalControlFlow()
410 void IrBuilder::MarkTryCatchBlocks(Marker marker) in MarkTryCatchBlocks() argument
414 if (bb->IsMarked(marker)) { in MarkTryCatchBlocks()
451 auto marker = marker_holder.GetMarker(); in ResolveTryCatchBlocks() local
452 MarkNormalControlFlow(GetGraph()->GetStartBlock(), marker); in ResolveTryCatchBlocks()
455 MarkTryCatchBlocks(marker); in ResolveTryCatchBlocks()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
H A Dbranch_elimination.cpp180 bool AllPredecessorsMarked(BasicBlock *block, Marker marker) in AllPredecessorsMarked() argument
188 if (!pred->IsMarked(marker)) { in AllPredecessorsMarked()
192 block->SetMarker(marker); in AllPredecessorsMarked()
H A Dtry_catch_resolving.h45 bool DFS(BasicBlock *block, Marker marker, uint32_t try_id);
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dmarker.h86 // returns true if the marker was set before, otherwise set marker and return false
99 // returns true if the marker was set before, otherwise false
108 // unset marker and returns true if the marker was set before, otherwise false
121 for (unsigned int &marker : markers_) {
122 marker = UNDEF_MARKER;
H A Dbasicblock.cpp749 bool BlocksPathDfsSearch(Marker marker, BasicBlock *block, const BasicBlock *target_block, in BlocksPathDfsSearch() argument
752 ASSERT(marker != UNDEF_MARKER); in BlocksPathDfsSearch()
756 block->SetMarker(marker); in BlocksPathDfsSearch()
759 if (!succ_block->IsMarked(marker) && succ_block != exclude_block) { in BlocksPathDfsSearch()
760 if (BlocksPathDfsSearch(marker, succ_block, target_block, exclude_block)) { in BlocksPathDfsSearch()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Ddominators_tree.cpp199 auto marker = marker_holder.GetMarker(); in IsPathBetweenBlocks() local
200 return BlocksPathDfsSearch(marker, start_block, target_block, exclude_block); in IsPathBetweenBlocks()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Ddominators_tree.cpp193 auto marker = markerHolder.GetMarker(); in IsPathBetweenBlocks() local
194 return BlocksPathDfsSearch(marker, startBlock, targetBlock, excludeBlock); in IsPathBetweenBlocks()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
H A Dir_builder.cpp582 static void MarkNormalControlFlow(BasicBlock *block, Marker marker) in MarkNormalControlFlow() argument
584 block->SetMarker(marker); in MarkNormalControlFlow()
586 if (!succ->IsMarked(marker)) { in MarkNormalControlFlow()
587 MarkNormalControlFlow(succ, marker); in MarkNormalControlFlow()
592 void IrBuilder::MarkTryCatchBlocks(Marker marker) in MarkTryCatchBlocks() argument
596 if (bb->IsMarked(marker)) { in MarkTryCatchBlocks()
633 auto marker = markerHolder.GetMarker(); in ResolveTryCatchBlocks() local
634 MarkNormalControlFlow(GetGraph()->GetStartBlock(), marker); in ResolveTryCatchBlocks()
637 MarkTryCatchBlocks(marker); in ResolveTryCatchBlocks()

Completed in 14 milliseconds

12