Home
last modified time | relevance | path

Searched refs:MinimumBitsToStore (Results 1 - 25 of 30) sorted by relevance

12

/arkcompiler/runtime_core/libpandafile/
H A Dmodifiers.h57 static constexpr uint32_t INTRINSIC_SHIFT = MinimumBitsToStore(ACC_INTRINSIC);
67 static constexpr uint32_t VERIFICATION_STATUS_SHIFT = MinimumBitsToStore(ACC_VERIFICATION_STATUS);
71 static constexpr uint32_t COMPILATION_STATUS_SHIFT = MinimumBitsToStore(ACC_COMPILATION_STATUS);
H A Dbytecode_emitter.cpp33 auto bitlen = MinimumBitsToStore(val); in GetBitLengthUnsigned()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dmodifiers.h60 constexpr uint32_t INTRINSIC_SHIFT = MinimumBitsToStore(ACC_INTRINSIC);
70 constexpr uint32_t VERIFICATION_STATUS_SHIFT = MinimumBitsToStore(ACC_VERIFICATION_STATUS);
75 constexpr uint32_t COMPILATION_STATUS_SHIFT = MinimumBitsToStore(ACC_COMPILATION_STATUS);
H A Dbytecode_emitter.cpp33 auto bitlen = MinimumBitsToStore(val); in GetBitLengthUnsigned()
/arkcompiler/runtime_core/libpandabase/utils/
H A Dleb128.h49 bool is_full = MinimumBitsToStore(byte) <= (BITWIDTH - shift); in DecodeUnsigned()
119 bool is_full = MinimumBitsToStore(masked) <= shift;
175 return (MinimumBitsToStore(data | 1U) + PAYLOAD_WIDTH - 1) / PAYLOAD_WIDTH; in UnsignedEncodingSize()
185 return MinimumBitsToStore(static_cast<unsigned_type>(udata | 1U)) / PAYLOAD_WIDTH + 1; in SignedEncodingSize()
H A Dbit_table.h57 stream.Write(INLINE_MAX + BitsToBytesRoundUp(MinimumBitsToStore(value)), INLINE_BITS); in Write()
64 stream.Write(value, BitsToBytesRoundUp(MinimumBitsToStore(value)) * BITS_PER_BYTE); in Write()
587 value = MinimumBitsToStore(value);
H A Dcframe_layout.h93 using FrameKindField = HasFloatRegsFlag::NextField<FrameKind, MinimumBitsToStore(FrameKind::LAST)>;
H A Dbit_utils.h94 constexpr size_t MinimumBitsToStore(T value) in MinimumBitsToStore() function
/arkcompiler/runtime_core/static_core/compiler/code_info/
H A Dvreg_info.h27 static constexpr size_t INVALID_LOCATION = (1U << MinimumBitsToStore(static_cast<size_t>(Location::COUNT))) - 1;
237 using FieldLocation = BitField<Location, 0, MinimumBitsToStore(static_cast<uint32_t>(Location::COUNT))>;
238 using FieldType = FieldLocation::NextField<Type, MinimumBitsToStore(static_cast<uint32_t>(Type::COUNT))>;
239 using FieldVRegType = FieldType::NextField<VRegType, MinimumBitsToStore(static_cast<uint32_t>(VRegType::COUNT))>;
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dleb128.h50 bool isFull = MinimumBitsToStore(byte) <= (BITWIDTH - shift); in DecodeUnsigned()
124 bool isFull = MinimumBitsToStore(masked) <= shift;
180 return (MinimumBitsToStore(data | 1U) + PAYLOAD_WIDTH - 1) / PAYLOAD_WIDTH; in UnsignedEncodingSize()
190 return MinimumBitsToStore(static_cast<UnsignedType>(udata | 1U)) / PAYLOAD_WIDTH + 1; in SignedEncodingSize()
H A Dbit_table.h57 stream.Write(INLINE_MAX + BitsToBytesRoundUp(MinimumBitsToStore(value)), INLINE_BITS); in Write()
64 stream.Write(value, BitsToBytesRoundUp(MinimumBitsToStore(value)) * BITS_PER_BYTE); in Write()
608 value = MinimumBitsToStore(value);
H A Dcframe_layout.h93 using FrameKindField = HasFloatRegsFlag::NextField<FrameKind, MinimumBitsToStore(FrameKind::LAST)>;
H A Dbit_utils.h95 constexpr size_t MinimumBitsToStore(T value) in MinimumBitsToStore() function
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/
H A Dtask.h36 constexpr uint8_t TASK_TYPE_NEEDED_BITS = MinimumBitsToStore(static_cast<size_t>(TaskType::UNKNOWN) - 1U);
46 constexpr uint8_t VM_TYPE_NEEDED_BITS = MinimumBitsToStore(static_cast<size_t>(VMType::UNKNOWN) - 1U);
56 constexpr uint8_t EXECUTION_MODE_NEEDED_BITS = MinimumBitsToStore(static_cast<size_t>(TaskExecutionMode::UNKNOWN) - 1U);
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dlocations.h223 using KindField = BitField<Kind, 0, MinimumBitsToStore(Kind::LAST)>;
225 KindField::NextField<uintptr_t, sizeof(bit_fields_) * BITS_PER_BYTE - MinimumBitsToStore(Kind::LAST)>;
H A Dinst.h1358 using FieldFlags = BitField<uint32_t, 0, MinimumBitsToStore(1U << inst_flags::FLAGS_COUNT)>;
1359 using FieldType = FieldFlags::NextField<DataType::Type, MinimumBitsToStore(DataType::LAST)>;
1456 typename T::LastField::template NextField<DataType::Type, MinimumBitsToStore(DataType::LAST)>;
1622 using CcFlag = typename T::LastField::template NextField<ConditionCode, MinimumBitsToStore(ConditionCode::CC_LAST)>;
1623 using PredictionFlag = typename CcFlag::template NextField<Prediction, MinimumBitsToStore(Prediction::SIZE)>;
1899 typename T::LastField::template NextField<AnyBaseType, MinimumBitsToStore(AnyBaseType::COUNT)>;
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dlocations.h220 using KindField = BitField<Kind, 0, MinimumBitsToStore(Kind::LAST)>;
222 KindField::NextField<uintptr_t, sizeof(bitFields_) * BITS_PER_BYTE - MinimumBitsToStore(Kind::LAST)>;
H A Dinst.h288 static constexpr unsigned BITS_FOR_VREG_TYPE = MinimumBitsToStore(VRegType::COUNT);
1693 using FieldFlags = BitField<uint32_t, 0, MinimumBitsToStore(1U << inst_flags::FLAGS_COUNT)>;
1694 using FieldType = FieldFlags::NextField<DataType::Type, MinimumBitsToStore(DataType::LAST)>;
1799 typename T::LastField::template NextField<DataType::Type, MinimumBitsToStore(DataType::LAST)>;
1872 using AccessType = typename T::LastField::template NextField<Type, MinimumBitsToStore(Type::LAST)>;
1873 using AccessMode = typename AccessType::template NextField<Mode, MinimumBitsToStore(Mode::LAST)>;
2007 using ClassTypeField = typename T::LastField::template NextField<ClassType, MinimumBitsToStore(ClassType::COUNT)>;
2048 using ScaleField = typename T::LastField::template NextField<uint32_t, MinimumBitsToStore(MAX_SCALE)>;
2068 using ObjectTypeField = typename T::LastField::template NextField<ObjectType, MinimumBitsToStore(ObjectType::LAST)>;
2278 using CcFlag = typename T::LastField::template NextField<ConditionCode, MinimumBitsToStore(ConditionCod
[all...]
/arkcompiler/runtime_core/static_core/irtoc/backend/
H A Dirtoc_runtime.h118 ASSERT(MinimumBitsToStore(offset) < std::numeric_limits<uintptr_t>::digits);
/arkcompiler/runtime_core/static_core/compiler/aot/
H A Daot_file.cpp97 ASSERT(BitsToBytesRoundUp(MinimumBitsToStore(static_cast<uint32_t>(AotSlotType::COUNT) - 1)) == 1); in InitializeGot()
/arkcompiler/runtime_core/libpandabase/tests/
H A Dbit_table_test.cpp398 BitVector<ArenaAllocator> vec(MinimumBitsToStore(value), GetAllocator()); in TEST_F()
421 ASSERT_EQ(table.GetRowSizeInBits(), MinimumBitsToStore(pattern)); in TEST_F()
H A Dleb128_test.cpp123 EXPECT_EQ(is_full, MinimumBitsToStore(t.value) <= bitwidth && !is_partial) << ss.str(); in TestDecodeUnsigned()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dbit_table_test.cpp410 BitVector<ArenaAllocator> vec(MinimumBitsToStore(value), GetAllocator()); in TEST_F()
433 ASSERT_EQ(table.GetRowSizeInBits(), MinimumBitsToStore(pattern)); in TEST_F()
H A Dleb128_test.cpp117 EXPECT_EQ(is_full, MinimumBitsToStore(t.value) <= BITWIDTH && !isPartial) << ss.str(); in TestDecodeUnsigned()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dslow_path.cpp178 helpers::ToUnderlying(deoptimizeType_) | (GetInst()->GetId() << MinimumBitsToStore(DeoptimizeType::COUNT)); in GenerateImpl()

Completed in 22 milliseconds

12