Home
last modified time | relevance | path

Searched defs:shift (Results 1 – 25 of 65) sorted by relevance

123

/arkcompiler/runtime_core/static_core/runtime/tests/
Dmath_helpers_test.cpp35 size_t shift = 5; in TestBitShl() local
42 size_t shift = std::numeric_limits<UnsignedType>::digits - 1; in TestBitShl() local
49 size_t shift = std::numeric_limits<UnsignedType>::digits; in TestBitShl() local
56 size_t shift = std::numeric_limits<UnsignedType>::digits + 2; in TestBitShl() local
74 T shift = 5; in TestBitShr() local
81 T shift = std::numeric_limits<UnsignedType>::digits - 1; in TestBitShr() local
88 T shift = std::numeric_limits<UnsignedType>::digits; in TestBitShr() local
96 T shift = std::numeric_limits<UnsignedType>::digits + 2; in TestBitShr() local
114 T shift = 5; in TestBitAshr() local
121 T shift = std::numeric_limits<UnsignedType>::digits - 1; in TestBitAshr() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_int_val.h332 IntVal Shl(const IntVal &shift, PrimType pType) const in Shl()
337 IntVal Shl(uint64 shift, PrimType pType) const in Shl()
343 IntVal LShr(const IntVal &shift, PrimType pType) const in LShr()
348 IntVal LShr(uint64 shift, PrimType pType) const in LShr()
358 IntVal LShr(uint64 shift) const in LShr()
365 IntVal AShr(const IntVal &shift, PrimType pType) const in AShr()
370 IntVal AShr(uint64 shift, PrimType pType) const in AShr()
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_memory_region.h133 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Read() local
142 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Write() local
167 size_t shift = (start_ + offset) % width; in Read() local
212 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Write() local
Dleb128.h45 size_t shift = i * PAYLOAD_WIDTH; in DecodeUnsigned() local
109 size_t shift = i * PAYLOAD_WIDTH; in DecodeSigned() local
Dmurmur3_hash.h75 static uint32_t Rotl(uint32_t word, uint8_t shift) in Rotl()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dbit_memory_region.h136 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Read() local
145 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Write() local
170 size_t shift = (start_ + offset) % width; in Read() local
215 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Write() local
Dleb128.h45 size_t shift = i * PAYLOAD_WIDTH; in DecodeUnsigned() local
114 size_t shift = i * PAYLOAD_WIDTH; in DecodeSigned() local
Dmurmur3_hash.h72 static uint32_t Rotl(uint32_t word, uint8_t shift) in Rotl()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dmath_helpers.h33 size_t shift = static_cast<UnsignedType>(y) & mask; in operator() local
44 size_t shift = static_cast<UnsignedType>(y) & mask; in operator() local
55 size_t shift = static_cast<UnsignedType>(y) & mask; in operator() local
/arkcompiler/runtime_core/libpandafile/
Dproto_data_accessor-inl.h45 size_t shift = (elem_num_ % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in EnumerateTypes() local
81 size_t shift = (shorty_idx % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in IsEqual() local
Ddata_protect.h176 uint8_t shift = (SHIFT8 * (empty_count - 1)); in Append() local
/arkcompiler/runtime_core/static_core/assembler/utils/
Dnumber-utils.h31 inline bool ValidateXToken(std::string_view token, size_t shift) in ValidateXToken()
44 inline bool ValidateBToken(std::string_view token, size_t shift) in ValidateBToken()
/arkcompiler/runtime_core/static_core/libpandafile/
Dproto_data_accessor-inl.h45 size_t shift = (elemNum_ % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in EnumerateTypes() local
81 size_t shift = (shortyIdx % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in IsEqual() local
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64.cpp290 uint32_t shift = GetShiftOfLdr(operand, scale, regX); in Ldr() local
391 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov() local
418 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov() local
509 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes() local
541 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes() local
592 int shift = 0; in TryReplicateHWords() local
658 void AssemblerAarch64::Movz(const Register &rd, uint64_t imm, int shift) in Movz()
663 void AssemblerAarch64::Movk(const Register &rd, uint64_t imm, int shift) in Movk()
668 void AssemblerAarch64::Movn(const Register &rd, uint64_t imm, int shift) in Movn()
673 void AssemblerAarch64::MovWide(uint32_t op, const Register &rd, uint64_t imm, int shift) in MovWide()
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dfast_divisor_test.cpp27 int64_t shift {0L}; member
34 uint64_t shift {0U}; member
/arkcompiler/ets_runtime/ecmascript/deoptimizer/
Ddeoptimizer.cpp96 void Deoptimizier::CollectVregs(const std::vector<kungfu::ARKDeopt>& deoptBundle, size_t shift) in CollectVregs()
618 int32_t Deoptimizier::EncodeDeoptVregIndex(int32_t index, size_t depth, size_t shift) in EncodeDeoptVregIndex()
628 size_t shift = 0; in ComputeShift() local
635 int32_t Deoptimizier::DecodeVregIndex(OffsetType id, size_t shift) in DecodeVregIndex()
643 size_t Deoptimizier::DecodeDeoptDepth(OffsetType id, size_t shift) in DecodeDeoptDepth()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/
Dir_build_intrinsics_ets.cpp46 auto shift = in BuildIsFiniteIntrinsic() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Darithmetic.h200 auto shift = unsignedRightValue & mask; in HandleBitWiseArithmetic() local
/arkcompiler/ets_runtime/test/moduletest/regressdefineproperty/
Dregressdefineproperty.js48 Array.prototype.shift.call(object) method in Array
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_binary_op.h302 uint32_t shift = in ShlWithTSType() local
318 uint32_t shift = in ShrWithTSType() local
332 uint32_t shift = in AshrWithTSType() local
/arkcompiler/ets_runtime/ecmascript/stackmap/litecg/
Dlitecg_stackmap_type.cpp21 uint64_t shift = 0; in DecodeSLEB128() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dencode.h222 uint8_t shift; member
232 uint8_t shift; member
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_gate_info.h292 int32_t shift = rhs.max_ & 0x1f; // 0x1f : shift bits in SHR() local
304 int32_t shift = rhs.max_ & 0x1f; // 0x1f : shift bits in ASHR() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_obj_emitter.cpp526 uint32 shift = exendOpnd.GetShiftAmount(); in GetOpndMachineValue() local
797 uint32 shift = 0x1; in GenAddSubShiftImmInsn() local
848 uint32 shift = 0; in GenAddSubShiftRegInsn() local
881 uint32 shift = GetOpndMachineValue(insn.GetOperand(kInsnThirdOpnd)); in GenBitfieldInsn() local
898 uint32 shift = GetOpndMachineValue(insn.GetOperand(kInsnThirdOpnd)); in GenBitfieldInsn() local
1187 uint32 shift = memOpnd.ShiftAmount(); in GenLoadStoreModeBOrX() local
1548 uint32 shift = 0; in GenLogicalRegInsn() local
1610 uint32 shift = lslOpnd.GetShiftAmount() / mod; in GenMoveWideInsn() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_itable_builder.cpp72 size_t shift = superItableSize; in LinearizeITable() local

123