| /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/static_core/isa/ |
| D | isa.yaml | 281 acc: none 295 acc: none 299 acc: none 303 acc: none 318 acc: none 322 acc: none 326 acc: none 332 acc: none 347 acc: none 358 acc = vs [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | typed_array_lowering_test.cpp | 48 GateAccessor acc(&circuit); in HWTEST_F_L0() local 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() local 85 acc.SetMachineType(loadElement, MachineType::I32); in HWTEST_F_L0() 86 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 | meta_data_equal_test.cpp | 54 GateAccessor acc(&circuit); in HWTEST_F_L0() local 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() local 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() local 125 EXPECT_FALSE(acc.MetaDataValueEqu(constantValue1, stringGate1)); in HWTEST_F_L0() [all …]
|
| D | loop_optimization_test.cpp | 66 GateAccessor acc(&circuit); in HWTEST_F_L0() local 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.GetOpCode(gate) == OpCode::LOAD_TYPED_ARRAY_LENGTH) { in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 296 acc = ecma_op(acc, operand_0, ..., operands_n) 301 acc: out:top 305 acc: out:top 309 acc: out:top 313 acc: out:top 317 acc: out:top 322 acc: out:top 325 acc: out:top 329 acc: out:top 333 acc: out:top [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 | 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, cal… 265 …result = DefineField(glue, receiver, propKey, acc); … [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| 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]
|
| 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]
|
| /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/plugins/ets/isa/ |
| D | isa.yaml | 41 acc: out:top 46 acc: out:top 51 acc: out:top 56 acc: out:top 61 acc: out:top 66 acc: out:top 86 acc = extendto32(vs.get(field)) 88 acc = vs.get(field) 93 acc = getter(vs) 101 acc: out:b32 [all …]
|
| /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 …]
|
| D | call.virt.acc.short.yaml | 16 - file-name: call.virt.acc.short 32 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 33 acc: inout:top 40 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 41 acc: inout:top 84 call.virt.acc.short %s 131 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 132 acc: inout:top 163 call.virt.acc.short R.foo, v0, 0 164 call.virt.acc.short R.foo, v1, 0 [all …]
|
| D | call.acc.yaml | 16 - file-name: call.acc 37 - sig: call.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 38 acc: inout:top 45 - sig: call.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 46 acc: inout:top 71 call.acc %s 104 - sig: call.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 105 acc: inout:top 134 call.acc foo, v0, v1, v2, 0 135 call.acc foo, v3, v4, v5, 1 [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | scheduler.cpp | 49 GateAccessor acc(const_cast<Circuit*>(circuit)); in CalculateDominatorTree() local 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.GetInStates(bbGatesList[idx], preGates); in CalculateDominatorTree() 133 GateAccessor acc(const_cast<Circuit*>(circuit)); in Run() local [all …]
|
| 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, hotnessCounter, \ [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
|
| D | handle_call_v4_imm4_id16_armhf.S | 16 // handle call.acc.short || call.virt.acc.short 26 // read arg index and acc position into r10 and advance insn_ptr 29 // check acc position 34 // 'call vreg, acc' case 41 10: // handle acc 50 // 'call acc, vreg' case 51 // handle acc
|
| D | handle_call_v4_v4_v4_imm4_id16_arm.S | 16 // handle call.acc || call.virt.acc 24 // read reg index and acc position into r3 and advance insn_ptr 29 and r9, r9, #0xF // r9 now contains acc position 36 // check acc position and branch to acc/vreg index handling 50 // handle acc
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.acc.short.yaml | 20 - file-name: call.acc.short 41 - sig: call.acc.short method_id, v:in:top, imm:u1 42 acc: inout:top 50 - sig: call.acc.short method_id, v:in:top, imm:u1 51 acc: inout:top 70 call.acc.short %s 91 - sig: call.acc.short method_id, v:in:top, imm:u1 92 acc: inout:top 121 call.acc.short foo, v0, 1 122 call.acc.short foo, v1, 1 [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/scripts/ |
| D | interpreter.irt | 19 arm32: { dispatch: 12, pc: 4, frame: 8, acc: 7 }, 20 arm64: { dispatch: 24, pc: 20, frame: 23, acc: 21, acc_tag: 22, moffset: 25, method_ptr: 26 }, 21 x86_64: { dispatch: 8, pc: 4, frame: 5, acc: 11, acc_tag: 3 }, 352 save_acc_var(%acc, %acc_tag) 370 acc := acc_value 383 StoreI(dst_ptr, acc).Imm(0).send(acc.type) 388 set_value(dst_ptr, acc) 429 res1 := acc.ptr 480 save_acc_var(acc, acc_tag) 484 acc_restored := restore_acc().send(acc.type) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/ |
| D | interpreter_handlers.irt | 82 If(acc, 0).EQ { 98 set_acc_primitive(btou32(Compare(acc.ref, ets_undefined).b)) 102 acc_field := acc 142 acc := acc.u64 144 acc := acc.ref 162 set_acc_primitive(Phi(acc_fast.u64, acc.u64).u64) 164 set_acc_object(Phi(acc_fast.ref, acc.ref).ref) 176 acc_field := acc 194 Store(klass, offset, acc.u64).u64 199 Store(klass, offset, acc).SetNeedBarrier(true).ref [all …]
|