/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | typed_array_lowering_test.cpp | 48 GateAccessor acc(&circuit); in HWTEST_F_L0() 55 acc.SetMachineType(loadLength, MachineType::I32); in HWTEST_F_L0() 56 acc.SetGateType(loadLength, GateType::NJSValue()); in HWTEST_F_L0() 65 EXPECT_EQ(acc.GetOpCode(loadLength), OpCode::NOP); in HWTEST_F_L0() 66 auto result = acc.GetValueIn(convert, 0); in HWTEST_F_L0() 67 EXPECT_EQ(acc.GetOpCode(result), OpCode::LOAD_CONST_OFFSET); in HWTEST_F_L0() 68 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 77 GateAccessor acc(&circuit); in HWTEST_F_L0() 85 acc.SetMachineType(loadElement, MachineType::I32); in HWTEST_F_L0() 86 acc in HWTEST_F_L0() [all...] |
H A D | dead_code_elimination_test.cpp | 44 GateAccessor acc(&circuit); in HWTEST_F_L0() 45 auto depend = acc.GetDependRoot(); in HWTEST_F_L0() 58 EXPECT_TRUE(acc.IsNop(ifBranch)); in HWTEST_F_L0() 59 EXPECT_TRUE(acc.IsNop(ifTrue)); in HWTEST_F_L0() 60 EXPECT_TRUE(acc.IsNop(ifFalse)); in HWTEST_F_L0() 61 EXPECT_TRUE(acc.IsNop(trueReturn)); in HWTEST_F_L0() 62 EXPECT_TRUE(acc.IsNop(falseReturn)); in HWTEST_F_L0() 73 GateAccessor acc(&circuit); in HWTEST_F_L0() 74 auto entry = acc.GetStateRoot(); in HWTEST_F_L0() 75 auto depend = acc in HWTEST_F_L0() [all...] |
H A D | meta_data_equal_test.cpp | 54 GateAccessor acc(&circuit); in HWTEST_F_L0() 64 EXPECT_FALSE(acc.MetaDataValueEqu(stringGate1, stringGate2)); in HWTEST_F_L0() 68 EXPECT_TRUE(acc.MetaDataValueEqu(stringGate1, stringGate3)); in HWTEST_F_L0() 77 GateAccessor acc(&circuit); in HWTEST_F_L0() 87 EXPECT_TRUE(acc.MetaDataValueEqu(constantValue1, constantValue2)); in HWTEST_F_L0() 93 EXPECT_FALSE(acc.MetaDataValueEqu(constantValue3, constantValue4)); in HWTEST_F_L0() 101 EXPECT_TRUE(acc.MetaDataValueEqu(constantValue5, constantValue6)); in HWTEST_F_L0() 109 EXPECT_TRUE(acc.MetaDataValueEqu(ConstGateNJSValue2, ConstGateUndefined)); in HWTEST_F_L0() 118 GateAccessor acc(&circuit); in HWTEST_F_L0() 125 EXPECT_FALSE(acc in HWTEST_F_L0() [all...] |
H A D | loop_optimization_test.cpp | 66 GateAccessor acc(&circuit); in HWTEST_F_L0() 82 EXPECT_TRUE(acc.IsLoopHead(loopBegin)); in HWTEST_F_L0() 84 acc.SetMachineType(loadLength, MachineType::I32); in HWTEST_F_L0() 85 acc.SetGateType(loadLength, GateType::NJSValue()); in HWTEST_F_L0() 87 acc.SetMachineType(cmp, MachineType::I1); in HWTEST_F_L0() 91 acc.SetMachineType(loadElement, MachineType::I32); in HWTEST_F_L0() 92 acc.SetGateType(loadElement, GateType::NJSValue()); in HWTEST_F_L0() 94 acc.SetMachineType(sumAdd, MachineType::I32); in HWTEST_F_L0() 97 acc.SetMachineType(indexInc, MachineType::I32); in HWTEST_F_L0() 110 if (acc in HWTEST_F_L0() [all...] |
H A D | combined_pass_visitor_test.cpp | 49 GateAccessor acc(&circuit); in HWTEST_F_L0() 50 auto entry = acc.GetStateRoot(); in HWTEST_F_L0() 51 auto depend = acc.GetDependRoot(); in HWTEST_F_L0() 74 EXPECT_TRUE(acc.IsNop(merge)); in HWTEST_F_L0() 75 EXPECT_TRUE(acc.IsNop(valueSelector)); in HWTEST_F_L0() 76 EXPECT_TRUE(acc.GetValueIn(load1, 0) == arg1); in HWTEST_F_L0() 77 EXPECT_TRUE(acc.IsNop(load2)); in HWTEST_F_L0() 78 EXPECT_TRUE(acc.GetState(circuitReturn) == load1); in HWTEST_F_L0()
|
H A D | constant_folding_test.cpp | 63 GateAccessor acc(&circuit); in HWTEST_F_L0() 82 EXPECT_EQ(acc.GetOpCode(acc.GetValueIn(convert, 0)), OpCode::CONSTANT); in HWTEST_F_L0() 83 EXPECT_TRUE(acc.GetInt32FromConstant(acc.GetValueIn(convert, 0)) == 21); in HWTEST_F_L0()
|
H A D | instruction_combine_test.cpp | 67 GateAccessor acc(&circuit); in HWTEST_F_L0() 86 EXPECT_EQ(acc.IsConstantValue(result, 3), true); in HWTEST_F_L0() 95 EXPECT_EQ(acc.IsConstantValue(result, static_cast<uint64_t>(9223372036854775808ULL)), true); in HWTEST_F_L0() 128 GateAccessor acc(&circuit); in HWTEST_F_L0() 147 EXPECT_EQ(acc.IsConstantValue(result, 3), true); in HWTEST_F_L0() 157 EXPECT_EQ(acc.IsConstantValue(result, static_cast<uint64_t>(-2147483648)), true); in HWTEST_F_L0() 214 GateAccessor acc(&circuit); in HWTEST_F_L0() 233 EXPECT_EQ(acc.IsConstantValue(result, (int64_t)-1), true); in HWTEST_F_L0() 244 EXPECT_EQ(acc.IsConstantValue(result, static_cast<uint64_t>(9223372036854775807)), true); in HWTEST_F_L0() 252 EXPECT_EQ(acc in HWTEST_F_L0() [all...] |
H A D | global_value_numbering_test.cpp | 52 GateAccessor acc(&circuit); in HWTEST_F_L0() 78 GateAccessor acc(&circuit); in HWTEST_F_L0() 92 acc.DeleteGate(add1); in HWTEST_F_L0() 102 GateAccessor acc(&circuit); in HWTEST_F_L0() 125 GateAccessor acc(&circuit); in HWTEST_F_L0() 145 EXPECT_TRUE(acc.GetValueIn(add3, 0) == acc.GetValueIn(add3, 1)); in HWTEST_F_L0() 155 GateAccessor acc(&circuit); in HWTEST_F_L0() 191 GateAccessor acc(&circuit); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | scheduler.cpp | 49 GateAccessor acc(const_cast<Circuit*>(circuit)); in CalculateDominatorTree() 56 auto startGate = acc.GetStateRoot(); in CalculateDominatorTree() 57 acc.SetMark(startGate, MarkCode::VISITED); in CalculateDominatorTree() 64 if (acc.GetOpCode(curGate) != OpCode::LOOP_BACK) { in CalculateDominatorTree() 65 auto uses = acc.Uses(curGate); in CalculateDominatorTree() 67 if (useIt.GetIndex() < acc.GetStateCount(*useIt) && in CalculateDominatorTree() 68 acc.IsState(*useIt) && acc.GetMark(*useIt) == MarkCode::NO_MARK) { in CalculateDominatorTree() 69 acc.SetMark(*useIt, MarkCode::VISITED); in CalculateDominatorTree() 97 acc in CalculateDominatorTree() [all...] |
H A D | interpreter_stub.cpp | 52 GateRef acc = TaggedArgument(static_cast<size_t>(InterpreterHandlerInputs::ACC)); \
57 GenerateCircuitImpl(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, callback); \
63 GateRef acc, GateRef hotnessCounter, \
100 // Dispatch(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, offset)
102 DISPATCH_BASE(profileTypeInfo, acc, hotnessCounter, offset)
108 // Dispatch(glue, sp, pc, constpool, *varProfileTypeInfo, acc, *varHotnessCounter, offset)
110 DISPATCH_BASE(*varProfileTypeInfo, acc, *varHotnessCounter, offset)
127 DispatchLast(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter) \
171 CheckException(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, \
179 CheckExceptionWithJump(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounte [all...] |
H A D | interpreter_stub-inl.h | 394 void InterpreterStubBuilder::SetFrameState(GateRef glue, GateRef sp, GateRef function, GateRef acc, in SetFrameState() argument 399 SetAccToFrame(glue, state, acc); in SetFrameState() 676 GateRef acc, GateRef hotnessCounter, GateRef format) in Dispatch() 681 DispatchBase(target, glue, sp, newPc, constpool, profileTypeInfo, acc, hotnessCounter); in Dispatch() 686 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchLast() 689 DispatchBase(target, glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter); in DispatchLast() 694 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchDebugger() 698 auto args = { glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter }; in DispatchDebugger() 704 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchDebuggerLast() 707 auto args = { glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounte in DispatchDebuggerLast() 675 Dispatch(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef format) Dispatch() argument 685 DispatchLast(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchLast() argument 693 DispatchDebugger(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchDebugger() argument 703 DispatchDebuggerLast(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchDebuggerLast() argument 718 DispatchWithId(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef index) DispatchWithId() argument 731 CheckException(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, GateRef offset) CheckException() argument 749 CheckPendingException(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, GateRef offset) CheckPendingException() argument 767 CheckExceptionWithVar(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, GateRef offset) CheckExceptionWithVar() argument 787 CheckExceptionWithJump(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef res, Label *jump) CheckExceptionWithJump() argument [all...] |
H A D | graph_linearizer.h | 44 void SetVisited(GateAccessor& acc) in SetVisited() argument 46 acc.SetMark(state_, MarkCode::VISITED); in SetVisited() 49 void SetFinished(GateAccessor& acc) in SetFinished() argument 51 acc.SetMark(state_, MarkCode::FINISHED); in SetFinished() 54 bool IsUnvisited(GateAccessor& acc) const in IsUnvisited() 56 return acc.GetMark(state_) == MarkCode::NO_MARK; in IsUnvisited() 59 bool IsVisited(GateAccessor& acc) const in IsVisited() 61 return acc.GetMark(state_) == MarkCode::VISITED; in IsVisited() 64 bool IsFinished(GateAccessor& acc) const in IsFinished() 66 return acc in IsFinished() [all...] |
H A D | interpreter_stub.h | 174 inline void SetFrameState(GateRef glue, GateRef sp, GateRef function, GateRef acc,
181 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
184 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
187 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
190 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter,
199 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef format);
201 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef index);
203 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter);
205 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter);
207 GateRef profileTypeInfo, GateRef acc, GateRe [all...] |
H A D | circuit_builder_helper.cpp | 53 GateAccessor acc(circuit); in Environment() 54 entry_ = Label(NewLabel(this, acc.GetIn(hir, 0))); in Environment() 57 auto dependEntry = acc.GetDep(hir); in Environment() 59 for (size_t i = 2; i < acc.GetNumIns(hir); i++) { in Environment() 60 inputList_.emplace_back(acc.GetIn(hir, i)); in Environment() 118 GateAccessor acc(env_->GetCircuit()); in ReadVariable() 119 if (!acc.IsNop(result)) { in ReadVariable()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 100 CheckExceptionWithJump(glue, sp, res, acc, jump) 103 CheckExceptionWithJumpAndReturn(glue, sp, res, acc, jump) 106 CheckExceptionWithVar(glue, sp, res, acc) 112 CheckPendingException(glue, sp, res, acc) 140 DispatchLast(glue, sp, acc) \ 143 DispatchLast(glue, sp, acc) \ 152 GateRef acc = GetAccFromFrame(frame); \ 169 GateRef acc = GetAccFromFrame(frame); \ 260 result = builder.StoreObjByName(glue, receiver, 0, stringIdInfo, acc, profileTypeInfo, slotId, callback); \ 265 result = DefineField(glue, receiver, propKey, acc); \ 301 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 324 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 343 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStToGlobalRecordImm16ID16, ACC)); GenerateCircuit() local 403 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineGetunmappedargs, ACC)); GenerateCircuit() local 465 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 485 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineGetpropiterator, ACC)); GenerateCircuit() local 499 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 512 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 525 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 537 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 556 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 709 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 722 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 736 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 750 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 779 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 795 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 816 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 849 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 872 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 891 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 910 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 928 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 942 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineNewobjapplyImm8V8, ACC)); GenerateCircuit() local 953 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineNewobjapplyImm16V8, ACC)); GenerateCircuit() local 963 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineNewlexenvImm8, ACC)); GenerateCircuit() local 987 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineNewlexenvwithnameImm8Id16, ACC)); GenerateCircuit() local 1143 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 1152 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineTypeofImm8, ACC)); GenerateCircuit() local 1161 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineTypeofImm16, ACC)); GenerateCircuit() local 1171 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineTonumberImm8, ACC)); GenerateCircuit() local 1192 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineTonumericImm8, ACC)); GenerateCircuit() local 1245 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineIsinImm8V8, ACC)); GenerateCircuit() local 1262 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1286 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineIstrue, ACC)); GenerateCircuit() local 1296 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeIstruePrefImm8, ACC)); GenerateCircuit() local 1306 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineIsfalse, ACC)); GenerateCircuit() local 1316 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeIsfalsePrefImm8, ACC)); GenerateCircuit() local 1343 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1377 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1475 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1489 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineSupercallarrowrangeImm8Imm8V8, ACC)); GenerateCircuit() local 1511 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1540 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1561 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDefinemethodImm8Id16Imm8, ACC)); GenerateCircuit() local 1586 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDefinemethodImm16Id16Imm8, ACC)); GenerateCircuit() local 1616 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1642 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1651 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineSupercallspreadImm8V8, ACC)); GenerateCircuit() local 1733 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineApplyImm8V8V8, ACC)); GenerateCircuit() local 1752 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1788 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1814 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1878 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1915 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1934 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1949 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1964 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1980 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 1995 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2008 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2044 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2085 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2098 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineResumegenerator, ACC)); GenerateCircuit() local 2132 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineGetresumemod, ACC)); GenerateCircuit() local 2158 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineGettemplateobjectImm8, ACC)); GenerateCircuit() local 2168 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineGettemplateobjectImm16, ACC)); GenerateCircuit() local 2182 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2191 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineSetobjectwithprotoImm8V8, ACC)); GenerateCircuit() local 2207 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDelobjpropV8, ACC)); GenerateCircuit() local 2218 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineAsyncfunctionawaituncaughtV8, ACC)); GenerateCircuit() local 2229 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCopydatapropertiesV8, ACC)); GenerateCircuit() local 2240 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStarrayspreadV8V8, ACC)); GenerateCircuit() local 2252 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineSetobjectwithprotoImm16V8, ACC)); GenerateCircuit() local 2272 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2286 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2301 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2316 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2333 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2370 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2401 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineLdsuperbyvalueImm8V8, ACC)); GenerateCircuit() local 2412 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineLdsuperbyvalueImm16V8, ACC)); GenerateCircuit() local 2425 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 2439 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 2456 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2485 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2511 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 2541 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2570 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2587 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2597 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineAsyncfunctionresolveV8, ACC)); GenerateCircuit() local 2609 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineAsyncfunctionrejectV8, ACC)); GenerateCircuit() local 2621 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCopyrestargsImm8, ACC)); GenerateCircuit() local 2702 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStlexvarImm4Imm4, ACC)); GenerateCircuit() local 2737 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStmodulevarImm8, ACC)); GenerateCircuit() local 2752 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2772 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2790 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2806 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2820 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStglobalvarImm16Id16, ACC)); GenerateCircuit() local 2863 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2884 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2905 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2925 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 2969 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3013 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3029 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3042 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStsuperbynameImm8Id16V8, ACC)); GenerateCircuit() local 3059 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStsuperbynameImm16Id16V8, ACC)); GenerateCircuit() local 3085 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStconsttoglobalrecordImm16Id16, ACC)); GenerateCircuit() local 3107 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3156 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3207 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3256 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3305 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3330 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3459 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineStlexvarImm8Imm8, ACC)); GenerateCircuit() local 3493 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineAsyncgeneratorrejectV8, ACC)); GenerateCircuit() local 3505 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineSetgeneratorstateImm8, ACC)); GenerateCircuit() local 3516 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineGetasynciteratorImm8, ACC)); GenerateCircuit() local 3526 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineLdPrivatePropertyImm8Imm16Imm16, ACC)); GenerateCircuit() local 3546 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3558 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineTestInImm8Imm16Imm16, ACC)); GenerateCircuit() local 3585 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 3596 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineThrowPrefNone, ACC)); GenerateCircuit() local 3624 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3707 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3723 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3732 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideNewlexenvPrefImm16, ACC)); GenerateCircuit() local 3757 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3775 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3788 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideNewlexenvwithnamePrefImm16Id16, ACC)); GenerateCircuit() local 3809 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3823 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3842 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 3932 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4017 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideCallrangePrefImm16V8, ACC)); GenerateCircuit() local 4047 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4079 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideCallthisrangePrefImm16V8, ACC)); GenerateCircuit() local 4114 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4161 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4178 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4200 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4227 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4237 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideSupercallarrowrangePrefImm16V8, ACC)); GenerateCircuit() local 4250 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineThrowIfsupernotcorrectcallPrefImm8, ACC)); GenerateCircuit() local 4266 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4281 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4305 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineThrowIfsupernotcorrectcallPrefImm16, ACC)); GenerateCircuit() local 4321 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4337 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4366 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4380 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4418 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4442 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4457 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4513 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4535 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideStlexvarPrefImm16Imm16, ACC)); GenerateCircuit() local 4575 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4613 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4634 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideStmodulevarPrefImm16, ACC)); GenerateCircuit() local 4653 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4681 GateRef acc = GetAccFromFrame(GetFrame(sp)); GenerateCircuit() local 4733 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4768 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedResumegeneratorPrefV8, ACC)); GenerateCircuit() local 4804 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineWideStpatchvarPrefImm16, ACC)); GenerateCircuit() local 4814 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedGetresumemodePrefV8, ACC)); GenerateCircuit() local 4847 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4860 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4882 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 4991 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5006 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5015 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedSetobjectwithprotoPrefV8V8, ACC)); GenerateCircuit() local 5052 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5069 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5102 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5116 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5230 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedStmodulevarPrefId32, ACC)); GenerateCircuit() local 5297 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedStconsttoglobalrecordPrefId32, ACC)); GenerateCircuit() local 5314 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedStlettoglobalrecordPrefId32, ACC)); GenerateCircuit() local 5331 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedStclasstoglobalrecordPrefId32, ACC)); GenerateCircuit() local 5358 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedCreateobjecthavingmethodPrefImm16, ACC)); GenerateCircuit() local 5376 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineDeprecatedDynamicimportPrefV8, ACC)); GenerateCircuit() local 5388 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeNotifyConcurrentResultPrefNone, ACC)); GenerateCircuit() local 5405 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5428 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5444 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeDefineFieldByValuePrefImm8V8V8, ACC)); GenerateCircuit() local 5458 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeDefineFieldByIndexPrefImm8Imm32V8, ACC)); GenerateCircuit() local 5472 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeToPropertyKeyPrefNone, ACC)); GenerateCircuit() local 5487 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5503 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeDefinePrivatePropertyPrefImm8Imm16Imm16V8, ACC)); GenerateCircuit() local 5522 GateRef acc = TaggedArgument(PARAM_INDEX(BaselineCallRuntimeCallInitPrefImm8V8, ACC)); GenerateCircuit() local 5577 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5604 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5717 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local 5824 GateRef acc = PtrArgument(PARAM_INDEX(BaselineExceptionHandler, ACC)); GenerateCircuit() local 5881 GateRef acc = GetAccFromFrame(frame); GenerateCircuit() local [all...] |
H A D | baseline_stubs-inl.h | 33 void BaselineStubBuilder::CheckExceptionWithVar(GateRef glue, GateRef sp, GateRef res, GateRef acc)
in CheckExceptionWithVar() argument 41 DispatchLast(glue, sp, acc);
in CheckExceptionWithVar() 42 Return(acc);
in CheckExceptionWithVar() 59 GateRef acc = GetAccFromFrame(frame);
in CheckException() local 60 DispatchLast(glue, sp, acc);
in CheckException() 78 GateRef acc = GetAccFromFrame(frame);
in CheckExceptionReturn() local 79 DispatchLast(glue, sp, acc);
in CheckExceptionReturn() 80 Return(acc);
in CheckExceptionReturn() 88 void BaselineStubBuilder::CheckExceptionWithJump(GateRef glue, GateRef sp, GateRef res, GateRef acc, Label *jump)
in CheckExceptionWithJump() argument 96 DispatchLast(glue, sp, acc);
in CheckExceptionWithJump() 105 CheckExceptionWithJumpAndReturn(GateRef glue, GateRef sp, GateRef res, GateRef acc, Label *jump) CheckExceptionWithJumpAndReturn() argument 123 CheckPendingException(GateRef glue, GateRef sp, GateRef res, GateRef acc) CheckPendingException() argument 140 DispatchLast(GateRef glue, GateRef sp, GateRef acc) DispatchLast() argument [all...] |
H A D | baseline_stubs.h | 37 inline void CheckExceptionWithVar(GateRef glue, GateRef sp, GateRef res, GateRef acc); 40 inline void CheckExceptionWithJump(GateRef glue, GateRef sp, GateRef res, GateRef acc, Label *jump); 41 inline void CheckExceptionWithJumpAndReturn(GateRef glue, GateRef sp, GateRef res, GateRef acc, Label *jump); 42 inline void CheckPendingException(GateRef glue, GateRef sp, GateRef res, GateRef acc); 43 inline void DispatchLast(GateRef glue, GateRef sp, GateRef acc);
|
H A D | baseline_stub_builder.h | 44 void CheckExceptionWithVar(GateRef acc, GateRef res) in CheckExceptionWithVar() argument 56 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in CheckExceptionWithVar() 62 void CheckException(GateRef acc, GateRef res) in CheckException() argument 70 (void) acc; in CheckException() 79 void CheckExceptionWithJump(GateRef acc, GateRef res, Label *jump) in CheckExceptionWithJump() argument 87 Return(acc); in CheckExceptionWithJump() 120 GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) in DispatchLast() 123 DispatchBase(target, glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter); in DispatchLast() 128 GateRef acc, GateRef hotnessCounter, GateRef format) in Dispatch() 133 DispatchBase(target, glue, sp, newPc, constpool, profileTypeInfo, acc, hotnessCounte in Dispatch() 119 DispatchLast(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter) DispatchLast() argument 127 Dispatch(GateRef glue, GateRef sp, GateRef pc, GateRef constpool, GateRef profileTypeInfo, GateRef acc, GateRef hotnessCounter, GateRef format) Dispatch() argument [all...] |
/arkcompiler/runtime_core/static_core/runtime/bridge/ |
H A D | bridge.cpp | 75 auto acc = frame->GetAcc(); in InvokeInterpreter() local 77 res = GetVRegValue(acc.template AsVRegRef<true>()); in InvokeInterpreter() 79 res = GetVRegValue(acc.AsVRegRef()); in InvokeInterpreter() 99 // if we have an deoptimization occurred in the CallStatic, we must not copy acc from CallStatic, in InvokeInterpreter() 100 // because acc contain result of the NewObject in InvokeInterpreter() 104 frame->GetAcc() = acc; in InvokeInterpreter() 108 frame->GetAcc() = acc; in InvokeInterpreter() 112 acc = frame->GetAcc(); in InvokeInterpreter() 114 res = GetVRegValue(acc.template AsVRegRef<true>()); in InvokeInterpreter() 116 res = GetVRegValue(acc in InvokeInterpreter() [all...] |
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter_assembly.cpp | 75 #define SAVE_ACC() (GET_ASM_FRAME(sp)->acc = acc) // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) 77 #define RESTORE_ACC() (acc = GET_ASM_FRAME(sp)->acc) // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) 83 GET_ASM_FRAME(sp)->acc = JSTaggedValue::Exception(); \ 183 #define GET_ACC() (acc) // NOLINT(cppcoreguidelines-macro-usage) 184 #define SET_ACC(val) (acc = val) // NOLINT(cppcoreguidelines-macro-usage) 262 auto acc = reinterpret_cast<InterpreterEntry>(entry)(thread->GetGlueAddr(), in Execute() local 276 thread->CheckJSTaggedType(JSTaggedValue(acc).GetRawData()); in Execute() 278 return JSTaggedValue(acc); in Execute() 305 auto acc = reinterpret_cast<GeneratorReEnterInterpEntry>(entry)(thread->GetGlueAddr(), context.GetTaggedType()); GeneratorReEnterInterpreter() local 309 HandleMovV4V4( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMovV4V4() argument 321 HandleMovV8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMovV8V8() argument 333 HandleMovV16V16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMovV16V16() argument 345 HandleLdaStrId16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdaStrId16() argument 356 HandleJmpImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJmpImm8() argument 366 HandleJmpImm16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJmpImm16() argument 376 HandleJmpImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJmpImm32() argument 386 HandleJeqzImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJeqzImm8() argument 402 HandleJeqzImm16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJeqzImm16() argument 418 HandleJeqzImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJeqzImm32() argument 434 HandleJnezImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJnezImm8() argument 450 HandleJnezImm16( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJnezImm16() argument 466 HandleJnezImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleJnezImm32() argument 482 HandleLdaV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdaV8() argument 493 HandleStaV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleStaV8() argument 503 HandleLdaiImm32( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdaiImm32() argument 513 HandleFldaiImm64( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleFldaiImm64() argument 523 HandleReturn( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleReturn() argument 551 HandleReturnundefined( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleReturnundefined() argument 580 HandleLdnan( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdnan() argument 589 HandleLdinfinity( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdinfinity() argument 598 HandleLdundefined( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdundefined() argument 607 HandleLdnull( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdnull() argument 616 HandleLdsymbol( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdsymbol() argument 627 HandleLdglobal( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdglobal() argument 639 HandleLdtrue( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdtrue() argument 648 HandleLdfalse( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLdfalse() argument 657 HandleGetunmappedargs( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetunmappedargs() argument 673 HandleAsyncfunctionenter( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleAsyncfunctionenter() argument 685 HandleTonumberImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleTonumberImm8() argument 704 HandleNegImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleNegImm8() argument 728 HandleNotImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleNotImm8() argument 752 HandleIncImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleIncImm8() argument 779 HandleDecImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleDecImm8() argument 806 HandleThrow( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrow() argument 816 HandleTypeofImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleTypeofImm8() argument 826 HandleGetpropiterator( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetpropiterator() argument 838 HandleResumegenerator( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleResumegenerator() argument 854 HandleGetresumemode( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetresumemode() argument 870 HandleGetiteratorImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetiteratorImm8() argument 884 HandleGetasynciteratorImm8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleGetasynciteratorImm8() argument 898 HandleThrowConstassignmentPrefV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrowConstassignmentPrefV8() argument 910 HandleThrowPatternnoncoerciblePrefNone( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrowPatternnoncoerciblePrefNone() argument 921 HandleThrowIfnotobjectPrefV8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleThrowIfnotobjectPrefV8() argument 940 HandleCloseiteratorImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleCloseiteratorImm8V8() argument 955 HandleAdd2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleAdd2Imm8V8() argument 991 HandleSub2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleSub2Imm8V8() argument 1025 HandleMul2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMul2Imm8V8() argument 1047 HandleDiv2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleDiv2Imm8V8() argument 1070 HandleMod2Imm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleMod2Imm8V8() argument 1093 HandleEqImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleEqImm8V8() argument 1117 HandleNoteqImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleNoteqImm8V8() argument 1142 HandleLessImm8V8( JSThread *thread, const uint8_t *pc, JSTaggedType *sp, JSTaggedValue constpool, JSTaggedValue profileTypeInfo, JSTaggedValue acc, int16_t hotnessCounter) HandleLessImm8V8() argument [all...] |
H A D | interpreter-inl.h | 133 #define SAVE_ACC() (GET_FRAME(sp)->acc = acc) // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) 135 #define RESTORE_ACC() (acc = GET_FRAME(sp)->acc) // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) 142 #define GET_ACC() (acc) // NOLINT(cppcoreguidelines-macro-usage) 143 #define SET_ACC(val) (acc = val) // NOLINT(cppcoreguidelines-macro-usage) 244 * reasons of set acc with hole: 245 * 1. acc will become illegal when new error 246 * 2. debugger logic will save acc, so illegal acc wil [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | accessor_data_test.cpp | 45 AccessorData *acc = AccessorData::Cast(accObject); in HWTEST_F_L0() local 46 EXPECT_TRUE(JSTaggedValue(acc).IsAccessorData()); in HWTEST_F_L0() 78 AccessorData *acc = AccessorData::Cast(accObject); in HWTEST_F_L0() local 79 acc->SetGetter(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 80 acc->SetSetter(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 81 EXPECT_EQ(acc->IsInternal(), false); in HWTEST_F_L0() 127 AccessorData *acc = AccessorData::Cast(accObject); in HWTEST_F_L0() local 128 acc->SetGetter(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 129 acc->SetSetter(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() 130 EXPECT_EQ(acc in HWTEST_F_L0() [all...] |
/arkcompiler/runtime_core/static_core/verification/util/ |
H A D | obj_pool.h | 188 Accessor *acc = el; in AccCount() local 189 while (acc != nullptr) { in AccCount() 191 acc = acc->next_; in AccCount() 226 Accessor *acc = accessors_[idx1]; in ShrinkToFit() local 227 while (acc != nullptr) { in ShrinkToFit() 228 acc->idx_ = idx1; in ShrinkToFit() 229 acc = acc->next_; in ShrinkToFit()
|
/arkcompiler/runtime_core/static_core/verification/util/tests/ |
H A D | lazy_test.cpp | 30 auto calcFunc = [](int acc, int val) { return acc + val; }; in TEST() 45 FoldLeft(Enumerate(ConstLazyFetch(testData)), 0, [](int acc, auto val) { return acc + std::get<0>(val); }); in TEST()
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | osr.cpp | 196 auto &acc = frame->GetAcc(); in SetOsrResult() 208 acc.SetValue(uval); in SetOsrResult() 209 acc.SetTag(interpreter::StaticVRegisterRef::PRIMITIVE_TYPE); in SetOsrResult() 212 acc.SetValue(uval); in SetOsrResult() 213 acc.SetTag(interpreter::StaticVRegisterRef::GC_OBJECT_TYPE); in SetOsrResult() 217 acc.SetValue(bit_cast<int64_t>(fval)); in SetOsrResult() 218 acc.SetTag(interpreter::StaticVRegisterRef::PRIMITIVE_TYPE); in SetOsrResult() 223 acc.SetValue(0); in SetOsrResult() 224 acc.SetTag(interpreter::StaticVRegisterRef::PRIMITIVE_TYPE); in SetOsrResult() 227 acc in SetOsrResult() [all...] |