| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | monitor_test.cpp | 69 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/ |
| D | js_thread_state_test.cpp | 112 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/ |
| D | index.test.ts | 25 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/ |
| D | appState.test.ts | 23 const initialState: RootState = store.getState(); 31 const state = store.getState(); 37 const state = store.getState(); 43 const state = store.getState();
|
| D | code.ts | 30 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/ |
| D | ets_object.cpp | 82 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/ |
| D | mcr_lowering.cpp | 166 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 …]
|
| D | state_split_linearizer.cpp | 151 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()
|
| D | dead_code_elimination.cpp | 44 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()
|
| D | typed_hcr_lowering.cpp | 315 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 …]
|
| D | async_function_lowering.cpp | 74 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()
|
| D | loop_peeling.cpp | 24 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()
|
| D | number_speculative_lowering.cpp | 302 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 …]
|
| D | post_schedule.cpp | 211 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 …]
|
| D | ntype_bytecode_lowering.cpp | 175 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()
|
| D | ntype_hcr_lowering.cpp | 71 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()
|
| D | number_speculative_retype.cpp | 610 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/ |
| D | crossing_map.cpp | 73 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/ |
| D | ets_object_state_info.cpp | 32 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/ |
| D | pgo_state.cpp | 59 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/ |
| D | escape.cpp | 275 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/ |
| D | mutator_lock.cpp | 64 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/ |
| D | loop_optimization_test.cpp | 81 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/ |
| D | overlayModuleInfo.taihe | 20 @get GetState(): i32;
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | mark_word.cpp | 24 LOG_IF(GetState() != STATE_HASHED, DEBUG, RUNTIME) << "Wrong State"; in GetHash()
|