/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
H A D | assembler_aarch64.h | 160 : reg_(RegisterId::INVALID_REG), extend_(Extend::NO_EXTEND), shift_(Shift::NO_SHIFT), in Operand() 164 Operand(Register reg, Shift shift = Shift::LSL, uint8_t shift_amount = 0) in Operand() argument 169 : reg_(reg), extend_(extend), shift_(Shift::NO_SHIFT), shiftAmount_(shiftAmount), immediate_(0) in Operand() 181 return reg_.IsValid() && shift_ != Shift::NO_SHIFT; in IsShifted() 194 inline Shift GetShiftOption() const in GetShiftOption() 221 Shift shift_; 230 extend_(extend), shift_(Shift::NO_SHIFT), shiftAmount_(shiftAmount) in MemoryOperand() 233 MemoryOperand(Register base, Register offset, Shift shift = Shift in MemoryOperand() argument [all...] |
H A D | assembler_aarch64_constants.h | 57 enum Shift : uint8_t { 248 V(ADD_SUB, Shift, 23, 22) \ 264 V(BITWISE_OP, Shift, 23, 22) \
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | operands.h | 408 class Shift final { 410 explicit Shift(Reg base, ShiftType type, uint32_t scale) : scale_(scale), base_(base), type_(type) {} in Shift() function in ark::compiler::final 411 explicit Shift(Reg base, uint32_t scale) : Shift(base, ShiftType::LSL, scale) {} in Shift() function in ark::compiler::final 413 DEFAULT_MOVE_SEMANTIC(Shift); 414 DEFAULT_COPY_SEMANTIC(Shift); 415 ~Shift() = default;
|
H A D | encode.h | 161 virtual void Encode##opc(Reg, Reg, Shift) \ 284 virtual void EncodeNeg(Reg dst, Shift src);
|
H A D | encode.cpp | 406 void Encoder::EncodeNeg([[maybe_unused]] Reg dst, [[maybe_unused]] Shift src) in EncodeNeg()
|
H A D | encode_visitor.cpp | 46 auto shift = Shift(src1, imm_shift_inst->GetShiftType(), imm_value); \ 246 enc->GetEncoder()->EncodeNeg(dst, Shift(src, immShiftInst->GetShiftType(), immShiftInst->GetImm())); in VisitNegSR() 2378 enc->GetEncoder()->EncodeAdd(tmp, src0, Shift(src1, scale)); in VisitLoadArrayPair() 2449 enc->GetEncoder()->EncodeAdd(tmp, src0, Shift(src1, scale)); in VisitStoreArrayPair()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
H A D | target.h | 228 void EncodeAdd(Reg dst, Reg src0, Shift src1) override; 229 void EncodeSub(Reg dst, Reg src0, Shift src1) override; 230 void EncodeAnd(Reg dst, Reg src0, Shift src1) override; 231 void EncodeOr(Reg dst, Reg src0, Shift src1) override; 232 void EncodeXor(Reg dst, Reg src0, Shift src1) override; 233 void EncodeOrNot(Reg dst, Reg src0, Shift src1) override; 234 void EncodeAndNot(Reg dst, Reg src0, Shift src1) override; 235 void EncodeXorNot(Reg dst, Reg src0, Shift src1) override; 236 void EncodeNeg(Reg dst, Shift src) override;
|
H A D | encode.cpp | 92 static vixl::aarch64::Shift Convert(const ShiftType type) in Convert() 96 return vixl::aarch64::Shift::LSL; in Convert() 98 return vixl::aarch64::Shift::LSR; in Convert() 100 return vixl::aarch64::Shift::ASR; in Convert() 102 return vixl::aarch64::Shift::ROR; in Convert() 116 static vixl::aarch64::Operand VixlShift(Shift shift) in VixlShift() 871 auto shift = Shift(src, LSR, SHIFT_WORD_BITS); in EncodeSignum() 1101 EncodeAdd(tmp, str, Shift(idx, shift)); in EncodeCompressedStringCharAt() 1521 void Aarch64Encoder::EncodeAdd(Reg dst, Reg src0, Shift src1) in EncodeAdd() 1530 GetMasm()->Add(VixlReg(dst), VixlReg(src0Reg), VixlShift(Shift(src1Re in EncodeAdd() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_array.h | 88 V("shift", Shift, 0, ArrayShift) \ 171 static JSTaggedValue Shift(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_shared_array.h | 72 V("shift", Shift, 0, INVALID) \ 139 static JSTaggedValue Shift(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_shared_array.cpp | 1594 JSTaggedValue BuiltinsSharedArray::Shift(EcmaRuntimeCallInfo *argv) in Shift() function in panda::ecmascript::builtins::BuiltinsSharedArray 1597 BUILTINS_API_TRACE(argv->GetThread(), SharedArray, Shift); in Shift() 1612 auto opResult = JSStableArray::Shift(JSHandle<JSSharedArray>::Cast(thisHandle), argv); in Shift()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_stable_array.h | 40 static JSTaggedValue Shift(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv); 41 static JSTaggedValue Shift(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv);
|
H A D | runtime_call_id.h | 285 V(Array, Shift) \ 322 V(SharedArray, Shift) \
|
H A D | js_stable_array.cpp | 364 JSTaggedValue JSStableArray::Shift(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv) in Shift() function in panda::ecmascript::JSStableArray 392 JSTaggedValue JSStableArray::Shift(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv) in Shift() function in panda::ecmascript::JSStableArray
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | data_protect.h | 142 enum Shift : uint8_t {
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/ |
H A D | asm_printer.h | 218 void Encode##opc(Reg dst, Reg src, Shift sh) override \
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | dtoa_helper.h | 80 void Shift(int shift_amount) in Shift() function in panda::ecmascript::base::UInt128
|
H A D | dtoa_helper.cpp | 326 fractionals128.Shift(-exponent - EXPONENT_64); in FillFractionals()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_stable_array_test.cpp | 192 * @tc.name: Shift 193 * @tc.desc: Create a source Array, set value for the elements of the source Array, call the Shift function with the 195 * expectations after each call to the Shift function. 199 HWTEST_F_L0(JSStableArrayTest, Shift) in HWTEST_F_L0() 215 EXPECT_EQ(JSStableArray::Shift(handleArr, ecmaRuntimeCallInfo), JSTaggedValue(i * 10)); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/ |
H A D | target.h | 267 void EncodeAdd(Reg dst, Reg src0, Shift src1) override; 429 inline Reg MakeShift(Shift shift);
|
/arkcompiler/runtime_core/static_core/compiler/tests/codegen/ |
H A D | codegen_test_2.cpp | 331 INST(2U, OPCODE).Shift(SHIFT_TYPE, SHIFT).u32().Inputs(0U, 1U); in TestBinaryOperationWithShiftedOperand() 423 INST(1U, Opcode::NegSR).Shift(ShiftType::ASR, 1U).u32().Inputs(0U); in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | lowering_test.cpp | 1662 INST(3U, ops.second).Shift(std::get<2U>(shiftOp), 5U).type(type).Inputs(1U, 0U); in BuildExpectedCommutativeBinaryOpWithShiftedOperand() 1663 INST(4U, ops.second).Shift(std::get<2U>(shiftOp), 5U).type(type).Inputs(1U, 1U); in BuildExpectedCommutativeBinaryOpWithShiftedOperand() 1664 INST(5U, ops.second).Shift(std::get<2U>(shiftOp), 5U).type(type).Inputs(2U, 1U); in BuildExpectedCommutativeBinaryOpWithShiftedOperand() 1820 INST(3U, Opcode::SubSR).Shift(std::get<2U>(shiftOp), 5U).type(type).Inputs(1U, 0U); in TestSubWithShiftedOperand() 1825 INST(8U, Opcode::SubSR).Shift(std::get<2U>(shiftOp), 5U).type(type).Inputs(2U, 0U); in TestSubWithShiftedOperand() 1945 INST(2U, ops.second).Shift(std::get<2U>(shiftOp), 5U).type(type).Inputs(1U, 0U); in TestNonCommutativeBinaryOpWithShiftedOperand() 2072 INST(2U, ops.second).Shift(shiftOp.second, 5U).type(type).Inputs(1U, 0U); in TestBitwiseInstructionsWithInvertedShiftedOperand() 2175 INST(1U, Opcode::NegSR).Shift(shiftOp.second, 5U).type(type).Inputs(0U); in OUT_GRAPH()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
H A D | bc_lowering_test.cpp | 308 TEST_F(LoweringTest, Shift) in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_array_test.cpp | 1113 HWTEST_F_L0(BuiltinsArrayTest, Shift) in HWTEST_F_L0() 1129 JSTaggedValue result = Array::Shift(ecmaRuntimeCallInfo1); in HWTEST_F_L0() 1152 JSTaggedValue result = Array::Shift(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
|
H A D | builtins_shared_array_test.cpp | 878 HWTEST_F_L0(BuiltinsSharedArrayTest, Shift) in HWTEST_F_L0() 896 JSTaggedValue result = Array::Shift(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
|