Home
last modified time | relevance | path

Searched full:current (Results 1 – 25 of 231) sorted by relevance

12345678910

/arkcompiler/ets_frontend/arkguard/src/utils/
DScopeAnalyzer.ts116 * kind of current scope
121 * node of current scope in ast
126 * parent scope of current scope
131 * sub scopes of current scope,
136 * symbols define in current scope
141 * labels in current scope
146 * location path description of current scope,
157 * add a sub scope to current scope
164 * add definition symbol into current scope
171 * add label to current scope
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
Dassembler_x64_test.cpp141 size_t current = 0; in HWTEST_F_L0() local
143 uint32_t value = masm.GetU8(current++); in HWTEST_F_L0()
146 value = masm.GetU8(current++); in HWTEST_F_L0()
148 value = masm.GetU8(current++); in HWTEST_F_L0()
151 value = masm.GetU8(current++); in HWTEST_F_L0()
155 value = masm.GetU8(current++); in HWTEST_F_L0()
157 value = masm.GetU8(current++); in HWTEST_F_L0()
159 value = masm.GetU8(current++); in HWTEST_F_L0()
162 value = masm.GetU8(current++); in HWTEST_F_L0()
164 value = masm.GetU8(current++); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dfree_object_list.cpp56 FreeObjectSet *current = sets_[type]; in Allocate() local
57 while (current != nullptr) { in Allocate()
58 if (current->Available() < size) { in Allocate()
59 current = current->next_; in Allocate()
65 object = current->ObtainSmallFreeObject(size); in Allocate()
67 next = current->next_; in Allocate()
68 object = current->ObtainLargeFreeObject(size); in Allocate()
70 if (current->Empty()) { in Allocate()
71 RemoveSet(current); in Allocate()
72 current->Rebuild(); in Allocate()
[all …]
Dsparse_space.cpp113 EnumerateRegions([this](Region *current) { in PrepareSweeping() argument
114 if (!current->InCollectSet()) { in PrepareSweeping()
115 IncreaseLiveObjectSize(current->AliveObject()); in PrepareSweeping()
116 current->ResetWasted(); in PrepareSweeping()
117 current->SwapRSetForConcurrentSweeping(); in PrepareSweeping()
118 AddSweepingRegion(current); in PrepareSweeping()
128 Region *current = GetSweepingRegionSafe(); in AsyncSweep() local
129 while (current != nullptr) { in AsyncSweep()
130 FreeRegion(current, isMain); in AsyncSweep()
133 AddSweptRegionSafe(current); in AsyncSweep()
[all …]
Dspace-inl.h42 Region *current = regionList_.GetFirst(); in EnumerateRegions() local
43 if (current == nullptr) { in EnumerateRegions()
49 while (current != end) { in EnumerateRegions()
50 auto next = current->GetNext(); in EnumerateRegions()
51 cb(current); in EnumerateRegions()
52 current = next; in EnumerateRegions()
55 if (current != nullptr) { in EnumerateRegions()
56 cb(current); in EnumerateRegions()
Dpartial_gc.cpp68 heap_->GetAppSpawnSpace()->EnumerateRegions([](Region *current) { in Initialize() argument
69 current->ClearMarkGCBitset(); in Initialize()
70 current->ClearCrossRegionRSet(); in Initialize()
72 heap_->EnumerateNonNewSpaceRegions([](Region *current) { in Initialize() argument
73 current->ResetAliveObject(); in Initialize()
126 heap_->GetOldSpace()->EnumerateRegions([](Region *current) { in Sweep() argument
127 current->SetRegionAliveSize(); in Sweep()
Dparallel_evacuator.cpp59 heap_->GetFromSpaceDuringEvacuation()->EnumerateRegions([this] (Region *current) { in EvacuateSpace() argument
60 AddWorkload(std::make_unique<EvacuateWorkload>(this, current)); in EvacuateSpace()
63 [this](Region *current) { in EvacuateSpace() argument
64 AddWorkload(std::make_unique<EvacuateWorkload>(this, current)); in EvacuateSpace()
191 heap_->GetNewSpace()->EnumerateRegions([&] (Region *current) { in UpdateReference() argument
192 if (current->InNewToNewSet()) { in UpdateReference()
193 AddWorkload(std::make_unique<UpdateAndSweepNewRegionWorkload>(this, current)); in UpdateReference()
196 AddWorkload(std::make_unique<UpdateNewRegionWorkload>(this, current)); in UpdateReference()
200 heap_->EnumerateOldSpaceRegions([this, &oldRegionCount] (Region *current) { in UpdateReference() argument
201 if (current->InCollectSet()) { in UpdateReference()
[all …]
Dheap_region_allocator.h38 size_t current = annoMemoryUsage_.fetch_add(bytes, std::memory_order_relaxed) + bytes; in IncreaseAnnoMemoryUsage() local
40 …while (current > max && !maxAnnoMemoryUsage_.compare_exchange_weak(max, current, std::memory_order… in IncreaseAnnoMemoryUsage()
Dfull_gc.cpp63 auto callback = [](Region *current) { in Initialize() argument
64 current->ResetAliveObject(); in Initialize()
65 current->ClearOldToNewRSet(); in Initialize()
68 heap_->GetAppSpawnSpace()->EnumerateRegions([](Region *current) { in Initialize() argument
69 current->ClearMarkGCBitset(); in Initialize()
70 current->ClearCrossRegionRSet(); in Initialize()
Dincremental_marker.cpp88 heap_->GetAppSpawnSpace()->EnumerateRegions([](Region *current) { in Initialize() argument
89 current->ClearMarkGCBitset(); in Initialize()
90 current->ClearCrossRegionRSet(); in Initialize()
92 heap_->EnumerateNonNewSpaceRegions([](Region *current) { in Initialize() argument
93 current->ResetAliveObject(); in Initialize()
Dsparse_space.h85 void FreeRegion(Region *current, bool isMain = true);
86 void FreeLiveRange(Region *current, uintptr_t freeStart, uintptr_t freeEnd, bool isMain);
166 for (Region *current : collectRegionSet_) { in EnumerateCollectRegionSet()
167 if (current != nullptr) { in EnumerateCollectRegionSet()
168 cb(current); in EnumerateCollectRegionSet()
Dconcurrent_marker.cpp135 heap_->GetAppSpawnSpace()->EnumerateRegions([](Region *current) { in InitializeMarking() argument
136 current->ClearMarkGCBitset(); in InitializeMarking()
137 current->ClearCrossRegionRSet(); in InitializeMarking()
140 heap_->EnumerateNonNewSpaceRegions([](Region *current) { in InitializeMarking() argument
141 current->ResetAliveObject(); in InitializeMarking()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h148 Text current = current_; in ParseNumber() local
167 std::string strNum(current, end_ + 1); in ParseNumber()
518 Text current = current_; in ReadNumberRange() local
519 if (*current == '0') { in ReadNumberRange()
521 current++; in ReadNumberRange()
522 } else if (*current == '-') { in ReadNumberRange()
523 current++; in ReadNumberRange()
524 if (*current == '0') { in ReadNumberRange()
526 current++; in ReadNumberRange()
530 while (current != range_) { in ReadNumberRange()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Decma_global_storage.h368 T *current = nullptr; in IterateUsageGlobal() local
370 current = next; in IterateUsageGlobal()
371 next = reinterpret_cast<T *>(current->GetNext()); in IterateUsageGlobal()
372 ASSERT(current != next); in IterateUsageGlobal()
373 callback(current); in IterateUsageGlobal()
418 NodeList<T> *current = nullptr; in ~EcmaGlobalStorage() local
420 current = next; in ~EcmaGlobalStorage()
421 next = current->GetNext(); in ~EcmaGlobalStorage()
422 current->IterateUsageGlobal([] (T *node) { in ~EcmaGlobalStorage()
426 allocator_->Delete(current); in ~EcmaGlobalStorage()
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-context.h34 * Returns current value of a token
37 * returns current value of a token
44 std::string_view token; /* current token */
48 Token::Type id = Token::Type::ID_BAD; /* current token type */
49 …Token::Type signop = Token::Type::ID_BAD; /* current token operand type (if it is an operation) */
50 panda::pandasm::Error err; /* current error */
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgraph_visitor.cpp73 Edge& current = workList_.back(); in VisitGraph() local
74 VisitTopGate(current); in VisitGraph()
105 void GraphVisitor::VisitTopGate(Edge& current) in VisitTopGate() argument
107 GateRef gate = current.GetGate(); in VisitTopGate()
114 for (size_t i = current.GetIndex(); i < numIns; i++) { in VisitTopGate()
123 current.SetIndex(i + 1); in VisitTopGate()
153 Edge current = workList_[i]; in PrintStack() local
154 GateRef gate = current.GetGate(); in PrintStack()
Dntype_hcr_lowering.cpp244 GateRef current = Circuit::NullGate(); in AddProfiling() local
246 current = maybeStateSplit; in AddProfiling()
248 current = gate; in AddProfiling()
255 … GateRef traceGate = builder_.CallRuntime(glue_, RTSTUB_ID(DebugAOTPrint), acc_.GetDep(current), in AddProfiling()
257 acc_.SetDep(current, traceGate); in AddProfiling()
264 GateRef current = Circuit::NullGate(); in AddProfiling() local
266 current = maybeStateSplit; in AddProfiling()
268 current = gate; in AddProfiling()
276 …eRef profiling = builder_.CallRuntime(glue_, RTSTUB_ID(ProfileOptimizedCode), acc_.GetDep(current), in AddProfiling()
278 acc_.SetDep(current, profiling); in AddProfiling()
/arkcompiler/runtime_core/compiler/docs/
Ddeoptimize_elimination_doc.md26 Run search recursively from current block to start block.
27 …uard is met in all ways and there should be no call instructions between current guard and found g…
29 …o replaced by `NOP` all `DeoptimizeIf` instruction which is dominated by current instruction and h…
Dvn_doc.md24 …a. If some equivalent instruction dominates current instruction, we move users from current instru…
25current instruction, we insert the instruction in the equivalent instructions vector, and also get…
26 2. If equivalent instructions weren't found, we set next `vn` to the current instruction field and …
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_field.h53 * Make BitField type that follows right after current bit range.
68 * Make Flag field that follows right after current bit range.
99 * Set 'value' to current bit range [START_BIT : START_BIT+END_BIT] within the 'stor' parameter.
117 * Encode 'value' to current bit range [START_BIT : START_BIT+END_BIT] and return it
126 * Update 'value' to current bit range [START_BIT : START_BIT+END_BIT] and return it
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.h188 …* Split block after the given instruction. Current block will contain instructions before the spli…
694 void SetCurrent(Inst *current) in SetCurrent() argument
696 current_ = current; in SetCurrent()
727 explicit InstIterator(Inst *current) : current_(current) {}; in InstIterator() argument
776 …explicit InstForwardIterator(Inst *current) : InstIterator<T, IterationDirection::FORWARD>(current in InstForwardIterator() argument
807 …explicit InstForwardIterator(Inst *current) : InstForwardIterator<IterationType::INST>(current) {}; in InstForwardIterator() argument
852 …explicit InstBackwardIterator(Inst *current) : InstIterator<T, IterationDirection::BACKWARD>(curre… in InstBackwardIterator() argument
877 …explicit InstBackwardIterator(Inst *current) : InstBackwardIterator<IterationType::ALL>(current) {} in InstBackwardIterator() argument
884 …he instructions in `IterationDirection` order, keeping next instruction in case of removing current
922 explicit InstSafeIterator(Inst *current) : InstIterator<T, D>(current) {}; in InstSafeIterator() argument
[all …]
/arkcompiler/toolchain/build/config/aosp/
Dconfig.gni53 # Defines the name the AOSP build gives to the current host CPU
63 # Defines the name the aosp build gives to the current host CPU
83 # Location of libgcc. This is only needed for the current GN toolchain, so we
84 # only need to define the current one, rather than one for every platform
/arkcompiler/runtime_core/libpandabase/mem/
Darena.h45 * @param arena - Arena which will be linked as next to the current
125 * \brief Expand arena. The new memory must be located just after the current buffer.
126 * @param extra_buff - pointer to the extra buffer located just after the current.
178 * @param arena - Arena which will be linked as next to the current
187 * @param arena - Arena which will be linked as prev to the current
/arkcompiler/ets_frontend/es2panda/parser/context/
DparserContext.h72 …explicit ParserContext(ParserContext *current, ParserStatus newStatus, util::StringView label = "") in DEFINE_BITOPS()
73 : program_(current->program_), prev_(current), label_(label) in DEFINE_BITOPS()
75 ParserStatus currentStatus = current->status_; in DEFINE_BITOPS()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp326 JSTaggedType *current = const_cast<JSTaggedType *>(thread_->GetLastLeaveFrame()); in IterateAssembleStack() local
327 IterateFrameChain(current, visitor, rangeVisitor, derivedVisitor); in IterateAssembleStack()
336 JSTaggedType *current = const_cast<JSTaggedType *>(thread_->GetCurrentSPFrame()); in IterateEcmaRuntimeCallInfo() local
337 for (FrameIterator it(current, thread_); !it.Done(); it.Advance()) { in IterateEcmaRuntimeCallInfo()
352 JSTaggedType *current = const_cast<JSTaggedType *>(thread_->GetCurrentSPFrame()); in Iterate() local
353 FrameType frameType = FrameHandler::GetFrameType(current); in Iterate()
357 current = leaveFrame; in Iterate()
365 IterateFrameChain(current, visitor, rangeVisitor, derivedVisitor); in Iterate()
371 JSTaggedType *current = start; in IterateFrameChain() local
372 for (FrameIterator it(current, thread_); !it.Done(); it.Advance<GCVisitedFlag::VISITED>()) { in IterateFrameChain()

12345678910