/arkcompiler/runtime_core/static_core/verification/util/ |
H A D | shifted_vector.h | 23 template <const int SHIFT, typename T, template <typename...> class VECTOR = PandaVector> 33 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT)); in operator []() 38 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT)); in operator []() 43 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in At() 48 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in At() 53 return idx + SHIFT >= 0 && static_cast<typename Base::size_type>(idx + SHIFT) < Base::size(); in InValidRange() 57 return -SHIFT; in BeginIndex() 61 return static_cast<int>(Base::size()) - SHIFT; in EndIndex()
|
H A D | tagged_index.h | 58 template <typename Int, const size_t SHIFT> 82 template <typename Int, const size_t SHIFT> 87 return mask << SHIFT; in GetMask() 89 template <typename Int, const size_t SHIFT> 93 return std::tuple_cat(std::tuple<UInt> {GetMask<Int, SHIFT>()}, Base::template GetTagMask<Int, SHIFT>()); in GetTagMask() 100 template <typename Int, const size_t SHIFT> 105 auto mask = GetMask<Int, SHIFT>(); in SetTags() 108 tagVal <<= TAG_SHIFT + SHIFT; in SetTags() local 112 Base::template SetTags<Int, SHIFT>(st in SetTags() [all...] |
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | math_helpers.h | 85 constexpr size_t SHIFT = 27; 88 SHIFT]; 100 constexpr size_t SHIFT = 27; 106 return BIT32 - 1 - MULTIPLY_DE_BRUIJN_BIT_POSITION[static_cast<uint32_t>(value * 0x07C4ACDDU) >> SHIFT]; // NOLINT
|
H A D | list.h | 253 constexpr size_t SHIFT = 2; in EraseAfter() local 254 std::advance(last, SHIFT); in EraseAfter() 311 constexpr size_t SHIFT = 2; in Splice() local 312 Splice(position, other, first, first + SHIFT); in Splice()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/ |
H A D | pgo_type_generator.h | 45 constexpr size_t SHIFT = 5; in ComputeHashCode() local 46 hash = (hash << SHIFT) - hash + c; in ComputeHashCode()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | math_helpers.h | 94 constexpr size_t SHIFT = 27; 97 SHIFT]; 107 constexpr size_t SHIFT = 27; 113 return BIT32 - 1 - MULTIPLY_DE_BRUIJN_BIT_POSITION[static_cast<uint32_t>(value * 0x07C4ACDDU) >> SHIFT]; // NOLINT
|
H A D | list.h | 249 constexpr size_t SHIFT = 2; in EraseAfter() local 250 std::advance(last, SHIFT); in EraseAfter() 301 constexpr size_t SHIFT = 2; in Splice() local 302 Splice(position, other, first, first + SHIFT); in Splice()
|
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/ |
H A D | ir_build_intrinsics_ets.cpp | 69 constexpr auto SHIFT = 63; in BuildSignbitIntrinsic() local 71 GetGraph()->CreateInstShr(DataType::INT64, GetPc(bcInst->GetAddress()), bitcast, FindOrCreateConstant(SHIFT)); in BuildSignbitIntrinsic()
|
/arkcompiler/runtime_core/static_core/compiler/tests/codegen/ |
H A D | codegen_test.h | 81 template <Opcode OPCODE, uint32_t L, uint32_t R, ShiftType SHIFT_TYPE, uint32_t SHIFT, uint32_t ERV>
|
H A D | codegen_test_2.cpp | 321 template <Opcode OPCODE, uint32_t L, uint32_t R, ShiftType SHIFT_TYPE, uint32_t SHIFT, uint32_t ERV> 331 INST(2U, OPCODE).Shift(SHIFT_TYPE, SHIFT).u32().Inputs(0U, 1U); in TestBinaryOperationWithShiftedOperand()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/ |
H A D | callconv.cpp | 217 constexpr auto SHIFT = DOUBLE_WORD_SIZE_BYTES * (2 + CFrameSlots::Start() - CFrameData::Start()); in GenerateEpilogue() local 218 encoder->EncodeAdd(spReg, spReg, Imm(SHIFT)); in GenerateEpilogue()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_to_string_cache.cpp | 233 static constexpr uint32_t SHIFT = T_BITS - CACHE_SIZE_SHIFT; member 248 auto res = (bit_cast<UnsignedIntType>(number) * GetMul()) >> SHIFT; in operator ()()
|
/arkcompiler/runtime_core/static_core/runtime/coretypes/ |
H A D | string.cpp | 819 constexpr size_t SHIFT = 5; in ComputeHashForData() local 820 hash = (hash << SHIFT) - hash + c; in ComputeHashForData() 829 constexpr size_t SHIFT = 5; in ComputeHashForMutf8() local 830 hash = (hash << SHIFT) - hash + *mutf8Data++; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ComputeHashForMutf8()
|
/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
H A D | interpreter-inl.h | 3190 constexpr size_t SHIFT = INITOBJ ? 1U : 0; in CopyCallShortArguments() local 3195 frameHandler.GetVReg(numVregs + SHIFT) = curFrameHandler.GetVReg(this->GetInst().template GetVReg<FORMAT, 0>()); in CopyCallShortArguments() 3196 frameHandler.GetVReg(numVregs + SHIFT + 1U) = in CopyCallShortArguments() 3207 constexpr size_t SHIFT = INITOBJ ? 1U : 0; in CopyCallArguments() local 3212 frameHandler.GetVReg(numVregs + SHIFT) = curFrameHandler.GetVReg(this->GetInst().template GetVReg<FORMAT, 0>()); in CopyCallArguments() 3213 frameHandler.GetVReg(numVregs + SHIFT + 1U) = in CopyCallArguments() 3215 frameHandler.GetVReg(numVregs + SHIFT + 2U) = in CopyCallArguments() 3217 frameHandler.GetVReg(numVregs + SHIFT + 3U) = in CopyCallArguments() 3237 constexpr size_t SHIFT = INITOBJ ? 1U : 0; in CopyRangeArguments() local 3243 for (size_t i = 0; i < numActualArgs - SHIFT; in CopyRangeArguments() [all...] |