Home
last modified time | relevance | path

Searched full:getstate (Results 1 – 25 of 105) sorted by relevance

12345

/arkcompiler/runtime_core/static_core/runtime/tests/
Dmonitor_test.cpp69 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
71 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_UNLOCKED); in TEST_F()
80 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
82 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
84 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
86 ASSERT_TRUE(header->AtomicGetMark().GetState() == MarkWord::STATE_UNLOCKED); in TEST_F()
96 ASSERT_TRUE(header1->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
97 ASSERT_TRUE(header2->AtomicGetMark().GetState() == MarkWord::STATE_UNLOCKED); in TEST_F()
99 ASSERT_TRUE(header1->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
100 ASSERT_TRUE(header2->AtomicGetMark().GetState() == MarkWord::STATE_LIGHT_LOCKED); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_thread_state_test.cpp112 result &= (i->GetAssociatedJSThread()->GetState() == expectedState); in CheckAllThreadsState()
147 ecmascript::ThreadState mainState = thread->GetState(); in HWTEST_F_L0()
150 EXPECT_TRUE(thread->GetState() == ecmascript::ThreadState::CREATED); in HWTEST_F_L0()
152 EXPECT_TRUE(thread->GetState() == mainState); in HWTEST_F_L0()
155 EXPECT_TRUE(thread->GetState() == ecmascript::ThreadState::RUNNING); in HWTEST_F_L0()
157 EXPECT_TRUE(thread->GetState() == mainState); in HWTEST_F_L0()
160 EXPECT_TRUE(thread->GetState() == ecmascript::ThreadState::NATIVE); in HWTEST_F_L0()
162 EXPECT_TRUE(thread->GetState() == mainState); in HWTEST_F_L0()
165 EXPECT_TRUE(thread->GetState() == ecmascript::ThreadState::WAIT); in HWTEST_F_L0()
167 EXPECT_TRUE(thread->GetState() == mainState); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/
Dindex.test.ts25 const state = store.getState();
36 expect(store.getState().appState.theme).toBe('dark');
41 expect(store.getState().options.isLoading).toBe(true);
45 expect(store.getState().options.options).toEqual(mockOptions);
50 expect(store.getState().syntax.isLoading).toBe(true);
54 expect(store.getState().syntax.syntax).toEqual(mockSyntax);
59 expect(store.getState().code.isRunLoading).toBe(true);
62 expect(store.getState().code.isCompileLoading).toBe(true);
65 expect(store.getState().code.code).toBe('new code');
71 expect(store.getState().logs.compileOut).toEqual(mockCompileLogs);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/actions/
DappState.test.ts23 const initialState: RootState = store.getState();
31 const state = store.getState();
37 const state = store.getState();
43 const state = store.getState();
Dcode.ts30 const state: RootState = thunkAPI.getState() as RootState;
61 const state: RootState = thunkAPI.getState() as RootState;
98 const state: RootState = thunkAPI.getState() as RootState;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_object.cpp82 switch (currentMarkWord.GetState()) { in TryGetHashCode()
110 … LOG(FATAL, RUNTIME) << "Error on TryGetHashCode(): invalid state " << currentMarkWord.GetState(); in TryGetHashCode()
123 switch (currentMarkWord.GetState()) { in TryGetInteropIndex()
133 …OG(FATAL, RUNTIME) << "Error on TryGetInteropCode(): invalid state " << currentMarkWord.GetState(); in TryGetInteropIndex()
145 switch (currentMarkWord.GetState()) { in TrySetInteropIndex()
164 …OG(FATAL, RUNTIME) << "Error on TrySetInteropCode(): invalid state " << currentMarkWord.GetState(); in TrySetInteropIndex()
176 switch (currentMarkWord.GetState()) { in TryDropInteropIndex()
185 …G(FATAL, RUNTIME) << "Error on TryDropInteropCode(): invalid state " << currentMarkWord.GetState(); in TryDropInteropIndex()
197 switch (currentMarkWord.GetState()) { in TryCheckIfHasInteropIndex()
216 LOG(FATAL, RUNTIME) << "Invalid state " << currentMarkWord.GetState(); in TryCheckIfHasInteropIndex()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dmcr_lowering.cpp166 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), *result); in LowerConvertHoleAsUndefined()
213 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerStoreConstOffset()
226 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerStoreHClassConstOffset()
238 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerHeapObjectCheck()
246 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LowerTaggedIsHeapObject()
254 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LowerIsMarkerCellValid()
293 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LowerIsSpecificObjectType()
312 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerArrayGuardianCheck()
324 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerHClassStableArrayCheck()
338 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerMathHClassConsistencyCheck()
[all …]
Dstate_split_linearizer.cpp151 replacement_.SetState(curRegion->GetState()); in VisitRegion()
171 auto stateInput = acc_.GetState(currentGate); in ProcessStateDepend()
214 auto currentState = curRegion->GetState(); in TryInsertRelay()
217 acc_.GetState(curGate) != currentState) { in TryInsertRelay()
230 auto currentState = curRegion->GetState(); in TryLoadDependStart()
257 auto currentState = curRegion->GetState(); in ConnectStateDepend()
264 auto stateInput = acc_.GetState(currentState, i); in ConnectStateDepend()
293 auto currentState = regionEdge.to->GetState(); in ConnectPendingRegionEdges()
294 auto stateInput = acc_.GetState(currentState, regionEdge.index); in ConnectPendingRegionEdges()
Ddead_code_elimination.cpp44 auto state = acc_.GetState(gate); in StateIsDead()
57 auto stateInput = acc_.GetState(gate); in EliminateDependSelector()
104 ReplaceGate(*it, acc_.GetState(gate)); in EliminateBranch()
171 GateRef loopExit = acc_.GetState(gate); in TryFindAndDeleteLoopExit()
186 return acc_.GetState(gate); in DeleteLoopExit()
Dtyped_hcr_lowering.cpp315 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerIntCheck()
326 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerDoubleCheck()
337 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerNumberCheck()
348 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerBooleanCheck()
364 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerStableArrayCheck()
457 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerTypedArrayCheck()
473 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerInternStringKeyCheck()
485 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerStringKeyCheck()
497 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerEcmaStringCheck()
510 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerInternStringCheck()
[all …]
Dasync_function_lowering.cpp74 GateRef stateGate = accessor_.GetState(resumeGate); in RebuildGeneratorCfg()
77 suspendGate = accessor_.GetState(suspendGate); in RebuildGeneratorCfg()
81 auto stateInGate = accessor_.GetState(resumeGate); in RebuildGeneratorCfg()
137 GateRef resumeStateGate = accessor_.GetState(resumeGate); in RebuildGeneratorCfg()
157 stateInGate = accessor_.GetState(stateInGate); in RebuildGeneratorCfg()
169 stateInGate = accessor_.GetState(stateInGate); in RebuildGeneratorCfg()
178 GateRef loopBeginFirstState = accessor_.GetState(prevLoopBeginGate); in UpdateValueSelector()
273 GateRef gate = accessor_.GetState(curGate, idx); in CheckResumeInLoopBody()
Dloop_peeling.cpp24 GateRef copyExit = GetCopy(acc_.GetState(exit)); in CopyLoopExit()
57 (acc_.IsSelector(gate) && acc_.GetState(gate) == loopInfo_->loopHead)) { in CopyLoopBody()
119 GateRef stateBack = acc_.GetState(loopInfo_->loopHead, 1); // 1: index of state back in CopyLoopHeader()
138 copies_[gate] = GetCopy(acc_.GetState(gate)); in Peel()
166 copies_[gate] = acc_.GetState(gate); in SetCopy()
169 if (acc_.IsSelector(gate) && acc_.GetState(gate) == loopInfo_->loopHead) { in SetCopy()
Dnumber_speculative_lowering.cpp302 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberCalculate()
321 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberCompare()
333 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberShift()
345 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberLogical()
365 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberDiv()
390 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberMultiply()
419 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberMod()
442 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberMonocular()
453 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitNumberNot()
465 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in VisitIsTrueOrFalse()
[all …]
Dpost_schedule.cpp211 GateRef stateIn = acc_.GetState(currentBBState, 0); in ReplaceBBState()
307 GateRef ifFalse = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGate()
323 GateRef ifTrue = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGate()
370 GateRef merge = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGate()
375 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), *result); in LoweringHeapAllocAndPrepareScheduleGate()
440 GateRef ifFalse = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGateForCMCGC()
456 GateRef ifTrue = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGateForCMCGC()
503 GateRef merge = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGateForCMCGC()
508 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), *result); in LoweringHeapAllocAndPrepareScheduleGateForCMCGC()
552 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LoweringHeapAllocate()
[all …]
Dntype_bytecode_lowering.cpp175 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LowerLdLexVar()
199 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LowerStLexVar()
211 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), array); in LowerNTypedCreateEmptyArray()
235 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), array); in LowerNTypedCreateArrayWithBuffer()
246 ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), arguments); in LowerNTypedCopyRestArgs()
257 ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), arguments); in LowerNTypedGetUnmappedArgs()
341 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), result); in LowerLdLocalMoudleVar()
372 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), value); in LowerLdExternalMoudleVar()
382 …ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate… in LowerStModuleVar()
Dntype_hcr_lowering.cpp71 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), array); in LowerCreateEmptyArray()
81 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), array); in LowerCreateArrayWithOwn()
134 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), array); in LowerCreateArrayWithBuffer()
179 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), newGate); in LowerCreateArguments()
186 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), newGate); in LowerCreateArguments()
330 acc_.ReplaceGate(gate, builder_.GetState(), builder_.GetDepend(), Circuit::NullGate()); in LowerStoreModuleVar()
355 ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), *result); in LowerLdLocalModuleVar()
365 ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), value); in LowerLdExternalModuleVar()
Dnumber_speculative_retype.cpp610 auto merge = acc_.GetState(gate); in VisitPhi()
618 auto state = acc_.GetState(merge, i); in VisitPhi()
622 acc_.ReplaceStateIn(merge, builder_.GetState(), i); in VisitPhi()
782 acc_.ReplaceStateIn(gate, builder_.GetState()); in VisitIntMonocular()
805 acc_.ReplaceStateIn(gate, builder_.GetState()); in VisitDoubleMonocular()
835 acc_.ReplaceStateIn(gate, builder_.GetState()); in VisitIsTrueOrFalse()
860 acc_.ReplaceStateIn(gate, builder_.GetState()); in VisitNumberNot()
883 acc_.ReplaceStateIn(gate, builder_.GetState()); in VisitBooleanJump()
913 acc_.ReplaceStateIn(gate, builder_.GetState()); in VisitNumberRelated()
1122 acc_.ReplaceStateIn(gate, builder_.GetState()); in ConvertForIntOperator()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/
Dcrossing_map.cpp73 CrossingMapElement::STATE state = GetMapElement(firstMapNum)->GetState(); in AddObject()
130 switch (GetMapElement(lastCrossedBorderMap)->GetState()) { in UpdateCrossedBorderOnAdding()
154 ASSERT(GetMapElement(firstMapNum)->GetState() == CrossingMapElement::STATE::STATE_INITIALIZED || in RemoveObject()
155 …GetMapElement(firstMapNum)->GetState() == CrossingMapElement::STATE::STATE_INITIALIZED_AND_CROSSED… in RemoveObject()
180 … if (GetMapElement(nextObjMapNum)->GetState() == CrossingMapElement::STATE::STATE_UNINITIALIZED) { in RemoveObject()
202 switch (GetMapElement(crossedBorderMap)->GetState()) { in UpdateCrossedBorderOnRemoving()
209 … CrossingMapElement::STATE prevMapState = GetMapElement(crossedBorderMap - 1U)->GetState(); in UpdateCrossedBorderOnRemoving()
286 CrossingMapElement::STATE state = GetMapElement(mapNum)->GetState(); in FindObjInMap()
300 … while (GetMapElement(currentMap)->GetState() == CrossingMapElement::STATE::STATE_CROSSED_BORDER) { in FindObjInMap()
304 … ASSERT(GetMapElement(currentMap)->GetState() != CrossingMapElement::STATE::STATE_UNINITIALIZED); in FindObjInMap()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_object_state_info.cpp32 ASSERT(markWord.GetState() == EtsMarkWord::STATE_USE_INFO); in DeflateInternal()
51 auto state = markWord.GetState(); in TryAddNewInfo()
68 ASSERT(newMarkWord.GetState() == EtsMarkWord::STATE_USE_INFO); in TryAddNewInfo()
87 ASSERT(markWord.GetState() == EtsMarkWord::STATE_USE_INFO); in TryReadEtsHash()
108 ASSERT(markWord.GetState() == EtsMarkWord::STATE_USE_INFO); in TryReadInteropIndex()
131 ASSERT(markWord.GetState() == EtsMarkWord::STATE_USE_INFO); in TryDropInteropIndex()
151 ASSERT(markWord.GetState() == EtsMarkWord::STATE_USE_INFO); in TryResetInteropIndex()
169 ASSERT(markWord.GetState() == EtsMarkWord::STATE_USE_INFO); in TryCheckIfInteropIndexIsValid()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_state.cpp59 State PGOState::GetState() const in GetState() function in panda::ecmascript::pgo::PGOState
67 PrintStateChange(GetState(), state); in SetState()
92 State state = GetState(); in StateIsStop()
98 State state = GetState(); in StateIsStart()
104 State state = GetState(); in StateIsSave()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Descape.cpp275 VirtualState *GetState(const StateOwner &inst) const in GetState() function in ark::compiler::EscapeAnalysis::BasicBlockState
478 auto predState = parent_->GetState(predBlock); in CheckStatesAndInsertIntoBuffer()
494 auto commonId = parent_->GetState(predsBlocks.front())->GetStateId(inst); in MergeState()
501 auto predId = parent_->GetState(predBlock)->GetStateId(inst); in MergeState()
510 … parent_->GetState(block->GetDominator())->GetStateId(inst) != EscapeAnalysis::MATERIALIZED_ID; in MergeState()
523 … parent_->GetState(block->GetPredsBlocks().front())->GetStateById(commonId)->GetInst(), commonId); in MergeState()
536 ASSERT(parent_->GetState(pred)->GetStateById(stateToMerge) != nullptr); in MergeFields()
537 for (auto &field : parent_->GetState(pred)->GetStateById(stateToMerge)->GetFields()) { in MergeFields()
550 … auto mergeState = parent_->GetState(block->GetPredsBlocks().front())->GetStateById(stateToMerge); in MergeFields()
554 auto predState = parent_->GetState(predBlock)->GetStateById(stateToMerge); in MergeFields()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dmutator_lock.cpp64 return GetState() != MutatorLockState::UNLOCKED; in HasLock()
67 MutatorLock::MutatorLockState MutatorLock::GetState() const in GetState() function in panda::ecmascript::MutatorLock
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dloop_optimization_test.cpp81 auto loopBegin = builder.GetState(); in HWTEST_F_L0()
155 auto loopBegin = builder.GetState(); in HWTEST_F_L0()
156 auto loopEntry = acc.GetState(loopBegin); in HWTEST_F_L0()
206 auto loopBegin = builder.GetState(); in HWTEST_F_L0()
207 auto loopEntry = acc.GetState(loopBegin); in HWTEST_F_L0()
/arkcompiler/runtime_core/taihe/test/ani_bundlemanager/idl/
DoverlayModuleInfo.taihe20 @get GetState(): i32;
/arkcompiler/runtime_core/static_core/runtime/
Dmark_word.cpp24 LOG_IF(GetState() != STATE_HASHED, DEBUG, RUNTIME) << "Wrong State"; in GetHash()

12345