/arkcompiler/runtime_core/libpandafile/ |
H A D | modifiers.h | 57 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 D | bytecode_emitter.cpp | 33 auto bitlen = MinimumBitsToStore(val); in GetBitLengthUnsigned()
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | modifiers.h | 60 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 D | bytecode_emitter.cpp | 33 auto bitlen = MinimumBitsToStore(val); in GetBitLengthUnsigned()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | leb128.h | 49 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 D | bit_table.h | 57 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 D | cframe_layout.h | 93 using FrameKindField = HasFloatRegsFlag::NextField<FrameKind, MinimumBitsToStore(FrameKind::LAST)>;
|
H A D | bit_utils.h | 94 constexpr size_t MinimumBitsToStore(T value) in MinimumBitsToStore() function
|
/arkcompiler/runtime_core/static_core/compiler/code_info/ |
H A D | vreg_info.h | 27 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 D | leb128.h | 50 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 D | bit_table.h | 57 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 D | cframe_layout.h | 93 using FrameKindField = HasFloatRegsFlag::NextField<FrameKind, MinimumBitsToStore(FrameKind::LAST)>;
|
H A D | bit_utils.h | 95 constexpr size_t MinimumBitsToStore(T value) in MinimumBitsToStore() function
|
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/ |
H A D | task.h | 36 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 D | locations.h | 223 using KindField = BitField<Kind, 0, MinimumBitsToStore(Kind::LAST)>; 225 KindField::NextField<uintptr_t, sizeof(bit_fields_) * BITS_PER_BYTE - MinimumBitsToStore(Kind::LAST)>;
|
H A D | inst.h | 1358 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 D | locations.h | 220 using KindField = BitField<Kind, 0, MinimumBitsToStore(Kind::LAST)>; 222 KindField::NextField<uintptr_t, sizeof(bitFields_) * BITS_PER_BYTE - MinimumBitsToStore(Kind::LAST)>;
|
H A D | inst.h | 288 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 D | irtoc_runtime.h | 118 ASSERT(MinimumBitsToStore(offset) < std::numeric_limits<uintptr_t>::digits);
|
/arkcompiler/runtime_core/static_core/compiler/aot/ |
H A D | aot_file.cpp | 97 ASSERT(BitsToBytesRoundUp(MinimumBitsToStore(static_cast<uint32_t>(AotSlotType::COUNT) - 1)) == 1); in InitializeGot()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | bit_table_test.cpp | 398 BitVector<ArenaAllocator> vec(MinimumBitsToStore(value), GetAllocator()); in TEST_F() 421 ASSERT_EQ(table.GetRowSizeInBits(), MinimumBitsToStore(pattern)); in TEST_F()
|
H A D | leb128_test.cpp | 123 EXPECT_EQ(is_full, MinimumBitsToStore(t.value) <= bitwidth && !is_partial) << ss.str(); in TestDecodeUnsigned()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | bit_table_test.cpp | 410 BitVector<ArenaAllocator> vec(MinimumBitsToStore(value), GetAllocator()); in TEST_F() 433 ASSERT_EQ(table.GetRowSizeInBits(), MinimumBitsToStore(pattern)); in TEST_F()
|
H A D | leb128_test.cpp | 117 EXPECT_EQ(is_full, MinimumBitsToStore(t.value) <= BITWIDTH && !isPartial) << ss.str(); in TestDecodeUnsigned()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | slow_path.cpp | 178 helpers::ToUnderlying(deoptimizeType_) | (GetInst()->GetId() << MinimumBitsToStore(DeoptimizeType::COUNT)); in GenerateImpl()
|