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/runtime_core/static_core/assembler/utils/
Dnumber-utils.h33 inline bool ValidateXToken(std::string_view token, size_t shift) in ValidateXToken()
46 inline bool ValidateBToken(std::string_view token, size_t shift) in ValidateBToken()
/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
145 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/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_int_val.h359 IntVal Shl(const IntVal &shift, PrimType pType) const in Shl()
364 IntVal Shl(uint64 shift, PrimType pType) const in Shl()
370 IntVal LShr(const IntVal &shift, PrimType pType) const in LShr()
375 IntVal LShr(uint64 shift, PrimType pType) const in LShr()
385 IntVal LShr(uint64 shift) const in LShr()
392 IntVal AShr(const IntVal &shift, PrimType pType) const in AShr()
397 IntVal AShr(uint64 shift, PrimType pType) const in AShr()
/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.h46 size_t shift = i * PAYLOAD_WIDTH; in DecodeUnsigned() local
117 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/libpandafile/
Dproto_data_accessor-inl.h46 size_t shift = (elemNum_ % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in EnumerateTypes() local
83 size_t shift = (shortyIdx % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in IsEqual() local
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64.cpp286 uint32_t shift = GetShiftOfLdr(operand, scale, regX); in Ldr() local
387 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov() local
414 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov() local
505 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes() local
537 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes() local
588 int shift = 0; in TryReplicateHWords() local
654 void AssemblerAarch64::Movz(const Register &rd, uint64_t imm, int shift) in Movz()
659 void AssemblerAarch64::Movk(const Register &rd, uint64_t imm, int shift) in Movk()
664 void AssemblerAarch64::Movn(const Register &rd, uint64_t imm, int shift) in Movn()
669 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.cpp124 void Deoptimizier::CollectVregs(const std::vector<kungfu::ARKDeopt>& deoptBundle, size_t shift) in CollectVregs()
675 int32_t Deoptimizier::EncodeDeoptVregIndex(int32_t index, size_t depth, size_t shift) in EncodeDeoptVregIndex()
685 size_t shift = 0; in ComputeShift() local
692 int32_t Deoptimizier::DecodeVregIndex(OffsetType id, size_t shift) in DecodeVregIndex()
700 size_t Deoptimizier::DecodeDeoptDepth(OffsetType id, size_t shift) in DecodeDeoptDepth()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Darithmetic.h212 auto shift = unsignedRightValue & mask; in HandleBitWiseArithmetic() local
/arkcompiler/ets_runtime/test/moduletest/regressdefineproperty/
Dregressdefineproperty.js52 Array.prototype.shift.call(object) method in Array
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dencode.h224 uint8_t shift; member
234 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/stackmap/litecg/
Dlitecg_stackmap_type.cpp21 uint64_t shift = 0; in DecodeSLEB128() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_itable_builder.cpp74 size_t shift = superItableSize; in LinearizeITable() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_obj_emitter.cpp453 uint32 shift = exendOpnd.GetShiftAmount(); in GetOpndMachineValue() local
724 uint32 shift = 0x1; in GenAddSubShiftImmInsn() local
775 uint32 shift = 0; in GenAddSubShiftRegInsn() local
808 uint32 shift = GetOpndMachineValue(insn.GetOperand(kInsnThirdOpnd)); in GenBitfieldInsn() local
825 uint32 shift = GetOpndMachineValue(insn.GetOperand(kInsnThirdOpnd)); in GenBitfieldInsn() local
1114 uint32 shift = memOpnd.ShiftAmount(); in GenLoadStoreModeBOrX() local
1475 uint32 shift = 0; in GenLogicalRegInsn() local
1537 uint32 shift = lslOpnd.GetShiftAmount() / mod; in GenMoveWideInsn() local
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_parser.cpp200 …StackMapParser::GetFunction(const std::vector<ARKDeopt> &deopts, size_t currentDepth, size_t shift, in GetFunction()
233 size_t shift = Deoptimizier::ComputeShift(depth); in CollectStackTraceInfos() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dunsafe_memory.cpp152 uint32_t shift = str->IsUtf16() ? 1 : 0; in UnsafeMemoryStringGetSizeInBytes() local

123