Searched refs:MinimumBitsToStore (Results 1 – 25 of 25) sorted by relevance
/art/libartbase/base/ |
D | bit_utils_test.cc | 102 static_assert(0u == MinimumBitsToStore<uint32_t>(0u), "TestMinBits2Store32#1"); 103 static_assert(1u == MinimumBitsToStore<uint32_t>(1u), "TestMinBits2Store32#2"); 104 static_assert(2u == MinimumBitsToStore<uint32_t>(0b10u), "TestMinBits2Store32#3"); 105 static_assert(2u == MinimumBitsToStore<uint32_t>(0b11u), "TestMinBits2Store32#4"); 106 static_assert(3u == MinimumBitsToStore<uint32_t>(0b100u), "TestMinBits2Store32#5"); 107 static_assert(3u == MinimumBitsToStore<uint32_t>(0b110u), "TestMinBits2Store32#6"); 108 static_assert(3u == MinimumBitsToStore<uint32_t>(0b101u), "TestMinBits2Store32#7"); 109 static_assert(8u == MinimumBitsToStore<uint32_t>(0xFFu), "TestMinBits2Store32#8"); 110 static_assert(32u == MinimumBitsToStore<uint32_t>(~static_cast<uint32_t>(0u)), 113 static_assert(0u == MinimumBitsToStore<uint64_t>(UINT64_C(0)), "TestMinBits2Store64#1"); [all …]
|
D | bit_table_test.cc | 149 indices.emplace(bitmap, builder.Dedup(&bitmap, MinimumBitsToStore(bitmap))); in TEST() 160 EXPECT_GE(actual.size_in_bits(), MinimumBitsToStore(expected)); in TEST() 186 EXPECT_EQ(hasher(MemoryRegion(&value0, BitsToBytesRoundUp(MinimumBitsToStore(value0[0])))), in TEST() 187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST() 188 EXPECT_EQ(0u, builder2.Dedup(&value0[0], MinimumBitsToStore(value0[0]))); in TEST() 189 EXPECT_EQ(1u, builder2.Dedup(&value1[0], MinimumBitsToStore(value1[0]))); in TEST() 190 EXPECT_EQ(0u, builder2.Dedup(&value0[0], MinimumBitsToStore(value0[0]))); in TEST() 191 EXPECT_EQ(1u, builder2.Dedup(&value1[0], MinimumBitsToStore(value1[0]))); in TEST()
|
D | bit_string_test.cc | 44 return BitStringChar(val, MinimumBitsToStore(val)); in MakeBitStringChar() 134 ASSERT_EQ(MinimumBitsToStore(max_bitstring_ints[i]), BitString::kBitSizeAtPosition[i]) << i; in TEST()
|
D | bit_memory_region_test.cc | 46 uint32_t upper_bound = RoundUp(MinimumBitsToStore(value), kBitsPerByte) + kVarintBits; in TEST()
|
D | bit_memory_region.h | 483 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints() 491 WriteBits(value, BitsToBytesRoundUp(MinimumBitsToStore(value)) * kBitsPerByte); in WriteInterleavedVarints()
|
D | hiddenapi_flags.h | 124 static_assert(kValueBitSize >= MinimumBitsToStore(helper::ToUint(Value::kMax)),
|
D | bit_utils.h | 124 constexpr size_t MinimumBitsToStore(T value) { in MinimumBitsToStore() function
|
D | bit_table.h | 349 column_bits[c] = MinimumBitsToStore(max_column_value[c]); in Measure()
|
/art/dex2oat/linker/ |
D | index_bss_mapping_encoder.h | 43 DCHECK_LE(MinimumBitsToStore(index), index_bits_); in TryMerge() 65 DCHECK_LE(MinimumBitsToStore(method_index), index_bits_); in Reset()
|
D | image_writer.h | 246 MinimumBitsToStore<uint32_t>(static_cast<size_t>(Bin::kMirrorCount) - 1);
|
/art/runtime/jit/ |
D | profiling_info.cc | 180 uint32_t shift = MinimumBitsToStore(insns_size - 1); in EncodeDexPc() 184 shift += MinimumBitsToStore(inline_max_code_units); in EncodeDexPc() 191 uint32_t num_bits = MinimumBitsToStore(insns_size - 1); in MaxDexPcEncodingDepth() 195 num_bits += MinimumBitsToStore(inline_max_code_units); in MaxDexPcEncodingDepth()
|
/art/runtime/ |
D | subtype_check_bits_and_status.h | 69 static constexpr size_t kClassStatusBitSize = MinimumBitsToStore(enum_cast<>(ClassStatus::kLast));
|
D | indirect_reference_table.h | 260 static constexpr size_t kKindBits = MinimumBitsToStore( 266 DCHECK_LE(MinimumBitsToStore(table_index), BitSizeOf<uintptr_t>() - kIRTSerialBits - kKindBits); in EncodeIndex() 281 DCHECK_LE(MinimumBitsToStore(serial), kIRTSerialBits); in EncodeSerial()
|
D | string_builder_append.h | 54 MinimumBitsToStore(static_cast<size_t>(Argument::kLast));
|
D | subtype_check_info_test.cc | 44 return BitStringChar(val, MinimumBitsToStore(val)); in MakeBitStringChar()
|
D | trace.cc | 65 static constexpr size_t TraceActionBits = MinimumBitsToStore(
|
/art/runtime/oat/ |
D | index_bss_mapping.h | 44 return MinimumBitsToStore(number_of_indexes - 1u); in IndexBits()
|
/art/compiler/optimizing/ |
D | nodes_riscv64.h | 55 static constexpr size_t kFieldDistanceSize = MinimumBitsToStore(3u);
|
D | intrinsic_objects.h | 107 MinimumBitsToStore(static_cast<uint32_t>(PatchType::kLast));
|
D | nodes_vector.h | 250 MinimumBitsToStore(static_cast<size_t>(PredicationKind::kLast)); 253 MinimumBitsToStore(static_cast<size_t>(DataType::Type::kLast)); 1386 MinimumBitsToStore(static_cast<size_t>(CondKind::kLast)); 1456 MinimumBitsToStore(static_cast<size_t>(PCondKind::kEnumLast));
|
D | nodes.h | 2686 MinimumBitsToStore(static_cast<size_t>(InstructionKind::kLastInstructionKind - 1)); 2690 MinimumBitsToStore(static_cast<size_t>(DataType::Type::kLast)); 3633 MinimumBitsToStore(static_cast<size_t>(BoundaryKind::kLast)); 3723 MinimumBitsToStore(static_cast<size_t>(DeoptimizationKind::kLast)); 3816 MinimumBitsToStore(static_cast<size_t>(TableKind::kLast)); 4101 MinimumBitsToStore(static_cast<size_t>(ComparisonBias::kLast)); 4579 MinimumBitsToStore(static_cast<size_t>(ComparisonBias::kLast)); 4816 MinimumBitsToStore(static_cast<size_t>(kMaxInvokeType)); 5198 MinimumBitsToStore(static_cast<size_t>(ClinitCheckRequirement::kLast)); 5408 static constexpr size_t kFieldComponentSizeShiftSize = MinimumBitsToStore(3u); [all …]
|
D | code_generator_arm_vixl.h | 927 MinimumBitsToStore(static_cast<size_t>(BakerReadBarrierKind::kLast)); 929 MinimumBitsToStore(kBakerReadBarrierInvalidEncodedReg); 939 MinimumBitsToStore(static_cast<size_t>(BakerReadBarrierWidth::kLast));
|
D | code_generator_arm64.h | 1058 MinimumBitsToStore(static_cast<size_t>(BakerReadBarrierKind::kLast)); 1060 MinimumBitsToStore(kBakerReadBarrierInvalidEncodedReg);
|
/art/dex2oat/driver/ |
D | compiled_method.h | 67 MinimumBitsToStore(static_cast<size_t>(InstructionSet::kLast));
|
/art/libdexfile/dex/ |
D | type_lookup_table.cc | 160 return SupportedSize(num_class_defs) ? MinimumBitsToStore(num_class_defs - 1u) : 0u; in CalculateMaskBits()
|