/arkcompiler/ets_frontend/arkguard/src/utils/ |
D | ScopeAnalyzer.ts | 220 let current: Scope = { 239 current.parent?.addChild(current); 240 return current; 243 current.children.push(child); 247 current.defs.add(def); 251 current.labels.push(label); 259 return current.loc ? sym.name : current.loc + '#' + sym.name; 263 if (!current.labels.includes(label)) { 267 let index: number = current.labels.findIndex((lb: Label) => { 271 return current.loc ? label.name : current.loc + '#' + index + label.name; [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/ |
D | assembler_x64_test.cpp | 141 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/base/ |
D | json_parser.h | 148 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/mem/ |
D | free_object_list.cpp | 56 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 …]
|
D | sparse_space.cpp | 113 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 …]
|
D | space-inl.h | 42 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()
|
D | partial_gc.cpp | 68 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()
|
D | parallel_evacuator.cpp | 59 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 …]
|
D | full_gc.cpp | 63 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()
|
D | heap_region_allocator.h | 38 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()
|
D | incremental_marker.cpp | 88 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()
|
D | concurrent_marker.cpp | 135 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()
|
D | sparse_space.h | 85 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()
|
D | concurrent_sweeper.cpp | 147 void ConcurrentSweeper::ClearRSetInRange(Region *current, uintptr_t freeStart, uintptr_t freeEnd) in ClearRSetInRange() argument 150 current->AtomicClearSweepingRSetInRange(freeStart, freeEnd); in ClearRSetInRange() 152 current->ClearOldToNewRSetInRange(freeStart, freeEnd); in ClearRSetInRange() 154 current->ClearCrossRegionRSetInRange(freeStart, freeEnd); in ClearRSetInRange()
|
D | native_area_allocator.h | 84 size_t current = nativeMemoryUsage_.fetch_add(bytes, std::memory_order_relaxed) + bytes; in IncreaseNativeMemoryUsage() local 86 …while (current > max && !maxNativeMemoryUsage_.compare_exchange_weak(max, current, std::memory_ord… in IncreaseNativeMemoryUsage()
|
D | linear_space.cpp | 117 auto current = GetCurrentRegion(); in IterateOverObjects() local 121 if (region == current) { in IterateOverObjects() 211 EnumerateRegions([&last](Region *current) { in SetWaterLine() argument 212 if (current != last) { in SetWaterLine() 213 current->SetGCFlag(RegionGCFlags::BELOW_AGE_MARK); in SetWaterLine()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | graph_visitor.cpp | 73 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()
|
D | ntype_hcr_lowering.cpp | 244 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/ets_runtime/ecmascript/ |
D | ecma_global_storage.h | 368 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/ets_frontend/es2panda/parser/context/ |
D | parserContext.h | 72 …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/runtime_core/compiler/optimizer/ir/ |
D | basicblock.h | 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 922 explicit InstSafeIterator(Inst *current) : InstIterator<T, D>(current) {}; in InstSafeIterator() argument 923 …explicit InstSafeIterator(Inst *current, Inst *follower) : InstIterator<T, D>(current), follower_(… in InstSafeIterator() argument 980 explicit InstSafeIterator(Inst *current) in InstSafeIterator() argument [all …]
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | frame_handler.cpp | 326 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()
|
/arkcompiler/runtime_core/compiler/docs/ |
D | deoptimize_elimination_doc.md | 26 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…
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 94 inline Local(const Local<S> ¤t) : address_(reinterpret_cast<uintptr_t>(*current)) in Local() argument 99 Local(const EcmaVM *vm, const Global<T> ¤t); 101 Local(const EcmaVM *vm, const CopyableGlobal<T> ¤t); 179 CopyableGlobal(const EcmaVM *vm, const Local<S> ¤t); 181 CopyableGlobal(const EcmaVM *vm, const Local<T> ¤t); 277 Global(const EcmaVM *vm, const Local<S> ¤t); 279 Global(const EcmaVM *vm, const Global<S> ¤t); 363 inline Local<T> Escape(Local<T> current) in Escape() argument 367 *(reinterpret_cast<T *>(escapeHandle_)) = **current; in Escape() 1511 Global<T>::Global(const EcmaVM *vm, const Local<S> ¤t) : vm_(vm) in Global() argument [all …]
|
/arkcompiler/toolchain/build/config/aosp/ |
D | config.gni | 53 # 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
|