| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_isa.yaml | 30 acc = ecma_op(acc, operand_0, ..., operands_n) 35 acc: out:top 39 acc: out:top 43 acc: out:top 47 acc: out:top 51 acc: out:top 55 acc: out:top 59 acc: out:top 63 acc: out:top 67 acc: out:top [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | dynamic_isa.h | 70 …Creates instruction with opcode LOAD_STRING. This instruction loads the string `string` into `acc`. 77 …es instruction with opcode SUB2. This instruction computes the binary operation `input0 - acc`, and 80 * @param [ in ] acc - Inst containing right operand. 83 Instruction CreateSub2(Instruction acc, Instruction input0) &&; 153 * @brief Creates instruction with opcode LDNAN. This instruction loads the `nan` into `acc`. 159 …brief Creates instruction with opcode LDINFINITY. This instruction loads the `infinity` into `acc`. 165 …ief Creates instruction with opcode LDUNDEFINED. This instruction loads the `undefined` into `acc`. 171 * @brief Creates instruction with opcode LDNULL. This instruction loads the `null` into `acc`. 177 …rief Creates instruction with opcode LDSYMBOL. This instruction loads the object `Symbol` in `acc`. 183 …ef Creates instruction with opcode LDGLOBAL. This instruction loads the object `global` into `acc`. [all …]
|
| D | dynamic_isa_impl.h | 152 inline Instruction DynamicIsa::CreateSub2(Instruction acc, Instruction input0) && in CreateSub2() argument 155 …AbckitInst *subInst = conf->cDynapi_->iCreateSub2(graph_.GetResource(), acc.GetView(), input0.GetV… in CreateSub2() 288 inline Instruction DynamicIsa::CreateGetpropiterator(Instruction acc) && in CreateGetpropiterator() argument 291 AbckitInst *inst = conf->cDynapi_->iCreateGetpropiterator(graph_.GetResource(), acc.GetView()); in CreateGetpropiterator() 296 inline Instruction DynamicIsa::CreateGetiterator(Instruction acc) && in CreateGetiterator() argument 299 AbckitInst *inst = conf->cDynapi_->iCreateGetiterator(graph_.GetResource(), acc.GetView()); in CreateGetiterator() 304 inline Instruction DynamicIsa::CreateGetasynciterator(Instruction acc) && in CreateGetasynciterator() argument 307 AbckitInst *inst = conf->cDynapi_->iCreateGetasynciterator(graph_.GetResource(), acc.GetView()); in CreateGetasynciterator() 312 inline Instruction DynamicIsa::CreateLdprivateproperty(Instruction acc, uint64_t imm0, uint64_t imm… in CreateLdprivateproperty() argument 315 …AbckitInst *inst = conf->cDynapi_->iCreateLdprivateproperty(graph_.GetResource(), acc.GetView(), i… in CreateLdprivateproperty() [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isa.yaml | 283 acc: none 297 acc: none 301 acc: none 305 acc: none 320 acc: none 324 acc: none 328 acc: none 334 acc: none 349 acc: none 360 acc = vs [all …]
|
| /arkcompiler/runtime_core/libabckit/src/ |
| D | isa_dynamic_impl_instr_1.cpp | 64 extern "C" AbckitInst *IcreateDYNAMICThrowIfsupernotcorrectcall(AbckitGraph *graph, AbckitInst *acc… in IcreateDYNAMICThrowIfsupernotcorrectcall() argument 71 LIBABCKIT_BAD_ARGUMENT(acc, nullptr); in IcreateDYNAMICThrowIfsupernotcorrectcall() 73 LIBABCKIT_WRONG_CTX(graph, acc->graph, nullptr); in IcreateDYNAMICThrowIfsupernotcorrectcall() 75 return IcreateDynThrowIfsupernotcorrectcallStatic(graph, acc, imm0); in IcreateDYNAMICThrowIfsupernotcorrectcall() 78 …ern "C" AbckitInst *IcreateDYNAMICThrowUndefinedifholewithname(AbckitGraph *graph, AbckitInst *acc, in IcreateDYNAMICThrowUndefinedifholewithname() argument 86 LIBABCKIT_BAD_ARGUMENT(acc, nullptr); in IcreateDYNAMICThrowUndefinedifholewithname() 89 LIBABCKIT_WRONG_CTX(graph, acc->graph, nullptr); in IcreateDYNAMICThrowUndefinedifholewithname() 91 return IcreateDynThrowUndefinedifholewithnameStatic(graph, acc, string); in IcreateDYNAMICThrowUndefinedifholewithname() 94 extern "C" AbckitInst *IcreateDYNAMICCallarg0(AbckitGraph *graph, AbckitInst *acc) in IcreateDYNAMICCallarg0() argument 101 LIBABCKIT_BAD_ARGUMENT(acc, nullptr); in IcreateDYNAMICCallarg0() [all …]
|
| D | isa_dynamic_impl_instr_2.cpp | 236 extern "C" AbckitInst *IcreateDYNAMICGetpropiterator(AbckitGraph *graph, AbckitInst *acc) in IcreateDYNAMICGetpropiterator() argument 243 LIBABCKIT_BAD_ARGUMENT(acc, nullptr); in IcreateDYNAMICGetpropiterator() 245 LIBABCKIT_WRONG_CTX(graph, acc->graph, nullptr); in IcreateDYNAMICGetpropiterator() 247 return IcreateDynGetpropiteratorStatic(graph, acc); in IcreateDYNAMICGetpropiterator() 250 extern "C" AbckitInst *IcreateDYNAMICGetiterator(AbckitGraph *graph, AbckitInst *acc) in IcreateDYNAMICGetiterator() argument 257 LIBABCKIT_BAD_ARGUMENT(acc, nullptr); in IcreateDYNAMICGetiterator() 259 LIBABCKIT_WRONG_CTX(graph, acc->graph, nullptr); in IcreateDYNAMICGetiterator() 261 return IcreateDynGetiteratorStatic(graph, acc); in IcreateDYNAMICGetiterator() 264 extern "C" AbckitInst *IcreateDYNAMICGetasynciterator(AbckitGraph *graph, AbckitInst *acc) in IcreateDYNAMICGetasynciterator() argument 271 LIBABCKIT_BAD_ARGUMENT(acc, nullptr); in IcreateDYNAMICGetasynciterator() [all …]
|
| D | isa_dynamic_impl_instr.h | 53 extern "C" AbckitInst *IcreateDYNAMICGetpropiterator(AbckitGraph *graph, AbckitInst *acc); 54 extern "C" AbckitInst *IcreateDYNAMICGetiterator(AbckitGraph *graph, AbckitInst *acc); 55 extern "C" AbckitInst *IcreateDYNAMICGetasynciterator(AbckitGraph *graph, AbckitInst *acc); 56 extern "C" AbckitInst *IcreateDYNAMICLdprivateproperty(AbckitGraph *graph, AbckitInst *acc, uint64_… 58 extern "C" AbckitInst *IcreateDYNAMICStprivateproperty(AbckitGraph *graph, AbckitInst *acc, uint64_… 60 extern "C" AbckitInst *IcreateDYNAMICTestin(AbckitGraph *graph, AbckitInst *acc, uint64_t imm0, uin… 61 extern "C" AbckitInst *IcreateDYNAMICDefinefieldbyname(AbckitGraph *graph, AbckitInst *acc, AbckitS… 63 extern "C" AbckitInst *IcreateDYNAMICDefinepropertybyname(AbckitGraph *graph, AbckitInst *acc, Abck… 75 extern "C" AbckitInst *IcreateDYNAMICNewobjapply(AbckitGraph *graph, AbckitInst *acc, AbckitInst *i… 87 extern "C" AbckitInst *IcreateDYNAMICAdd2(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | typed_array_lowering_test.cpp | 49 GateAccessor acc(&circuit); in HWTEST_F_L0() local 56 acc.SetMachineType(loadLength, MachineType::I32); in HWTEST_F_L0() 57 acc.SetGateType(loadLength, GateType::NJSValue()); in HWTEST_F_L0() 67 EXPECT_EQ(acc.GetOpCode(loadLength), OpCode::NOP); in HWTEST_F_L0() 68 auto result = acc.GetValueIn(convert, 0); in HWTEST_F_L0() 69 EXPECT_EQ(acc.GetOpCode(result), OpCode::LOAD_CONST_OFFSET); in HWTEST_F_L0() 70 EXPECT_EQ(acc.GetMachineType(result), MachineType::I32); in HWTEST_F_L0() 79 GateAccessor acc(&circuit); in HWTEST_F_L0() local 87 acc.SetMachineType(loadElement, MachineType::I32); in HWTEST_F_L0() 88 acc.SetGateType(loadElement, GateType::NJSValue()); in HWTEST_F_L0() [all …]
|
| D | dead_code_elimination_test.cpp | 44 GateAccessor acc(&circuit); in HWTEST_F_L0() local 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() local 74 auto entry = acc.GetStateRoot(); in HWTEST_F_L0() 75 auto depend = acc.GetDependRoot(); in HWTEST_F_L0() [all …]
|
| D | number_speculative_retype_test.cpp | 61 GateAccessor acc(&circuit); in HWTEST_F_L0() local 94 retypePhase.VisitGate(acc.GetValueIn(is_undefined_or_hole_check_gate, 0)); in HWTEST_F_L0() 97 auto input1 = acc.GetValueIn(is_undefined_or_hole_check_gate, 0); in HWTEST_F_L0() 98 auto input2 = acc.GetValueIn(is_not_undefined_or_hole_check_gate, 0); in HWTEST_F_L0() 99 EXPECT_EQ(acc.GetDstType(input1), ValueType::TAGGED_INT); in HWTEST_F_L0() 100 EXPECT_EQ(acc.GetDstType(input2), ValueType::TAGGED_INT); in HWTEST_F_L0() 101 … EXPECT_EQ(acc.IsConstantValue(input1, static_cast<uint64_t>(JSTaggedValue::VALUE_HOLE)), false); in HWTEST_F_L0() 102 … EXPECT_EQ(acc.IsConstantValue(input2, static_cast<uint64_t>(JSTaggedValue::VALUE_HOLE)), false); in HWTEST_F_L0() 106 retypePhase.VisitGate(acc.GetValueIn(ecma_object_check_gate, 0)); in HWTEST_F_L0() 108 auto input = acc.GetValueIn(ecma_object_check_gate, 0); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/mock/ |
| D | isa_api_dynamic_impl_mock.cpp | 237 AbckitInst *IcreateGetpropiterator(AbckitGraph *graph, AbckitInst *acc) in IcreateGetpropiterator() argument 242 EXPECT_TRUE(acc == DEFAULT_INST); in IcreateGetpropiterator() 246 AbckitInst *IcreateGetiterator(AbckitGraph *graph, AbckitInst *acc) in IcreateGetiterator() argument 251 EXPECT_TRUE(acc == DEFAULT_INST); in IcreateGetiterator() 255 AbckitInst *IcreateGetasynciterator(AbckitGraph *graph, AbckitInst *acc) in IcreateGetasynciterator() argument 260 EXPECT_TRUE(acc == DEFAULT_INST); in IcreateGetasynciterator() 264 AbckitInst *IcreateLdprivateproperty(AbckitGraph *graph, AbckitInst *acc, uint64_t imm0, uint64_t i… in IcreateLdprivateproperty() argument 269 EXPECT_TRUE(acc == DEFAULT_INST); in IcreateLdprivateproperty() 275 AbckitInst *IcreateStprivateproperty(AbckitGraph *graph, AbckitInst *acc, uint64_t imm0, uint64_t i… in IcreateStprivateproperty() argument 281 EXPECT_TRUE(acc == DEFAULT_INST); in IcreateStprivateproperty() [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 311 acc = ecma_op(acc, operand_0, ..., operands_n) 316 acc: out:top 321 acc: out:top 326 acc: out:top 331 acc: out:top 336 acc: out:top 341 acc: out:top 344 acc: out:top 349 acc: out:top 354 acc: out:top [all …]
|
| /arkcompiler/runtime_core/libabckit/src/adapter_static/ |
| D | ir_static.h | 168 AbckitInst *IcreateDynCallthis0Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); 169 AbckitInst *IcreateDynCallthis1Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0, Abck… 170 AbckitInst *IcreateDynCallarg0Static(AbckitGraph *graph, AbckitInst *acc); 171 AbckitInst *IcreateDynCallarg1Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); 173 AbckitInst *IcreateDynLdobjbynameStatic(AbckitGraph *graph, AbckitInst *acc, AbckitString *string); 178 AbckitInst *IcreateDynNegStatic(AbckitGraph *graph, AbckitInst *acc); 180 AbckitInst *IcreateDynAdd2Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); 181 AbckitInst *IcreateDynSub2Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); 182 AbckitInst *IcreateDynMul2Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); 183 AbckitInst *IcreateDynDiv2Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0); [all …]
|
| D | ir_static_instr_1.cpp | 51 AbckitInst *IcreateDynCallthis0Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0) in IcreateDynCallthis0Static() argument 55 …return CreateDynInst(graph, acc, input0, compiler::IntrinsicInst::IntrinsicId::DYN_CALLTHIS0_IMM8_… in IcreateDynCallthis0Static() 58 AbckitInst *IcreateDynCallthis1Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0, Abck… in IcreateDynCallthis1Static() argument 62 …return CreateDynInst(graph, acc, input0, input1, compiler::IntrinsicInst::IntrinsicId::DYN_CALLTHI… in IcreateDynCallthis1Static() 65 AbckitInst *IcreateDynCallarg0Static(AbckitGraph *graph, AbckitInst *acc) in IcreateDynCallarg0Static() argument 68 return CreateDynInst(graph, acc, compiler::IntrinsicInst::IntrinsicId::DYN_CALLARG0_IMM8); in IcreateDynCallarg0Static() 71 AbckitInst *IcreateDynCallarg1Static(AbckitGraph *graph, AbckitInst *acc, AbckitInst *input0) in IcreateDynCallarg1Static() argument 75 …return CreateDynInst(graph, acc, input0, compiler::IntrinsicInst::IntrinsicId::DYN_CALLARG1_IMM8_V… in IcreateDynCallarg1Static() 85 AbckitInst *IcreateDynLdobjbynameStatic(AbckitGraph *graph, AbckitInst *acc, AbckitString *string) in IcreateDynLdobjbynameStatic() argument 88 return CreateDynInst(graph, acc, GetStringOffset(graph, string), in IcreateDynLdobjbynameStatic() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
| D | baseline_call_signature.h | 62 GLUE, SP, ACC, STRING_ID) 74 GLUE, SP, ACC) 78 GLUE, SP, GEN_FUNC, ACC) 82 GLUE, SP, ACC) 124 GLUE, SP, ACC, FUNC) 126 GLUE, SP, ACC, FUNC) 128 GLUE, ACC, NUM_VARS, SP) 130 GLUE, SP, ACC, NUM_VARS, SCOPEID) 168 GLUE, ACC) 170 GLUE, ACC) [all …]
|
| D | baseline_stubs.cpp | 98 CheckExceptionWithJump(glue, sp, res, acc, jump) 101 CheckExceptionWithJumpAndReturn(glue, sp, res, acc, jump) 104 CheckExceptionWithVar(glue, sp, res, acc) 110 CheckPendingException(glue, sp, res, acc) 138 DispatchLast(glue, sp, acc) \ 141 DispatchLast(glue, sp, acc) \ 150 GateRef acc = GetAccFromFrame(glue, frame); \ 167 GateRef acc = GetAccFromFrame(glue, frame); \ 258 …result = builder.StoreObjByName(glue, receiver, 0, stringIdInfo, acc, profileTypeInfo, slotId, cal… 264 …result = DefineField(glue, receiver, propKey, acc); … [all …]
|
| /arkcompiler/runtime_core/libabckit/include/c/isa/ |
| D | isa_dynamic.h | 360 …ef Creates instruction with opcode LOAD_STRING. This instruction loads the string `str` into `acc`. 372 * @brief Creates instruction with opcode LDNAN. This instruction loads the `nan` into `acc`. 382 …brief Creates instruction with opcode LDINFINITY. This instruction loads the `infinity` into `acc`. 392 …ief Creates instruction with opcode LDUNDEFINED. This instruction loads the `undefined` into `acc`. 402 * @brief Creates instruction with opcode LDNULL. This instruction loads the `null` into `acc`. 412 …rief Creates instruction with opcode LDSYMBOL. This instruction loads the object `Symbol` in `acc`. 422 …ef Creates instruction with opcode LDGLOBAL. This instruction loads the object `global` into `acc`. 432 * @brief Creates instruction with opcode LDTRUE. This instruction loads `true` into `acc`. 442 * @brief Creates instruction with opcode LDFALSE. This instruction loads `false` into `acc`. 452 * @brief Creates instruction with opcode LDHOLE. This instruction loads `hole` into `acc`. [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/isa/ |
| D | isa.yaml | 44 acc = extendto32(vs.get(field)) 46 acc = vs.get(field) 51 acc = getter(vs) 59 acc: out:b32 66 acc: out:b64 73 acc: out:ref 96 vs.set(field, truncate(field, acc)) 98 vs.set(field, acc) 103 setter(vs, acc) 111 acc: in:b32 [all …]
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | arrays-08.pa | 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc]
|
| D | arrays-07.pa | 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc]
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | arrays-08.pa | 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc]
|
| D | arrays-07.pa | 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | call.acc.short.yaml | 16 - file-name: call.acc.short 37 - sig: call.acc.short method_id, v:in:top, imm:u1 38 acc: inout:top 45 - sig: call.acc.short method_id, v:in:top, imm:u1 46 acc: inout:top 65 call.acc.short %s 85 - sig: call.acc.short method_id, v:in:top, imm:u1 86 acc: inout:top 115 call.acc.short foo, v0, 1 116 call.acc.short foo, v1, 1 [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | scheduler.cpp | 47 GateAccessor acc(const_cast<Circuit*>(circuit)); in CalculateDominatorTree() local 54 auto startGate = acc.GetStateRoot(); in CalculateDominatorTree() 55 acc.SetMark(startGate, MarkCode::VISITED); in CalculateDominatorTree() 62 if (acc.GetOpCode(curGate) != OpCode::LOOP_BACK) { in CalculateDominatorTree() 63 auto uses = acc.Uses(curGate); in CalculateDominatorTree() 65 if (useIt.GetIndex() < acc.GetStateCount(*useIt) && in CalculateDominatorTree() 66 acc.IsState(*useIt) && acc.GetMark(*useIt) == MarkCode::NO_MARK) { in CalculateDominatorTree() 67 acc.SetMark(*useIt, MarkCode::VISITED); in CalculateDominatorTree() 95 acc.GetInStates(bbGatesList[idx], preGates); in CalculateDominatorTree() 131 GateAccessor acc(const_cast<Circuit*>(circuit)); in Run() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/arch/arm/ |
| D | handle_call_v4_imm4_id16_arm.S | 16 // handle call.acc.short || call.virt.acc.short 24 // read arg index and acc position into r3 and advance insn_ptr 27 // check acc position 32 // 'call vreg, acc' case 38 10: // handle acc 47 // 'call acc, vreg' case 48 // handle acc
|