Home
last modified time | relevance | path

Searched refs:BitMemoryRegion (Results 1 – 17 of 17) sorted by relevance

/art/libartbase/base/
Dbit_memory_region.h31 class BitMemoryRegion final : public ValueObject {
33 BitMemoryRegion() = default;
34 ALWAYS_INLINE BitMemoryRegion(uint8_t* data, ssize_t bit_start, size_t bit_size) { in BitMemoryRegion() function
40 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() function
41 : BitMemoryRegion(region.begin(), /* bit_start */ 0, region.size_in_bits()) { in BitMemoryRegion()
43 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion() function
44 : BitMemoryRegion(region) { in BitMemoryRegion()
63 ALWAYS_INLINE BitMemoryRegion Subregion(size_t bit_offset, size_t bit_length) const { in Subregion()
66 BitMemoryRegion result = *this; in Subregion()
72 ALWAYS_INLINE BitMemoryRegion Subregion(size_t bit_offset) const { in Subregion()
[all …]
Dbit_memory_region_test.cc36 TEST(BitMemoryRegion, TestVarint) { in TEST() argument
54 TEST(BitMemoryRegion, TestBit) { in TEST() argument
61 BitMemoryRegion bmr1(MemoryRegion(&data, sizeof(data)), bit_offset, 1); in TEST()
67 BitMemoryRegion bmr2(MemoryRegion(&data, sizeof(data))); in TEST()
76 TEST(BitMemoryRegion, TestBits) { in TEST() argument
85 BitMemoryRegion bmr1(MemoryRegion(&data, sizeof(data)), bit_offset, bit_length); in TEST()
91 BitMemoryRegion bmr2(MemoryRegion(&data, sizeof(data))); in TEST()
Dbit_table.h72 ALWAYS_INLINE BitMemoryRegion GetBitMemoryRegion(uint32_t row, uint32_t column = 0) const {
95 BitMemoryRegion::Equals(table_data_, other.table_data_); in Equals()
99 BitMemoryRegion table_data_;
416 DCHECK(num_bits == 0 || BitMemoryRegion(region).LoadBit(num_bits - 1) == 1); in Dedup()
417 DCHECK_EQ(BitMemoryRegion(region).LoadBits(num_bits, region.size_in_bits() - num_bits), 0u); in Dedup()
453 BitMemoryRegion src(row, /*bit_offset=*/ 0u, bits_to_copy); in Encode()
454 BitMemoryRegion dst = out.Allocate(max_num_bits_); in Encode()
466 BitMemoryRegion expected(rows_[r]); in Encode()
467 BitMemoryRegion seen = table.GetBitMemoryRegion(r); in Encode()
Ddata_hash.h30 class BitMemoryRegion; variable
38 typename = std::enable_if_t<!std::is_same_v<Container, BitMemoryRegion>>>
85 typename = std::enable_if_t<std::is_same_v<BMR, BitMemoryRegion>>>
Dbit_table_test.cc159 BitMemoryRegion actual = table.GetBitMemoryRegion(it.second); in TEST()
/art/dex2oat/linker/
Dcode_info_table_deduper.h66 return DataHash()(BitMemoryRegion(output_->data(), item.bit_start, item.bit_size)); in operator()
81 BitMemoryRegion::Equals( in operator()
82 BitMemoryRegion(output_->data(), lhs.bit_start, lhs.bit_size), in operator()
83 BitMemoryRegion(output_->data(), rhs.bit_start, rhs.bit_size)); in operator()
Dcode_info_table_deduper.cc76 BitMemoryRegion read_region = reader.GetReadRegion(); in Dedupe()
87 BitMemoryRegion region( in Dedupe()
/art/runtime/
Dstack_map.cc59 : CodeInfo(data, num_read_bits, [](size_t, auto*, BitMemoryRegion) ALWAYS_INLINE {}) {} in CodeInfo() argument
122 BitMemoryRegion mask = dex_register_masks_.GetBitMemoryRegion(mask_index); in DecodeDexRegisterMap()
171 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) { in CollectSizeStats()
232 BitMemoryRegion bits = table.GetBitMemoryRegion(r, c); in Dump()
267 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(*this); in Dump()
Dcheck_reference_map_visitor.h102 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckOptimizedMethod()
Dstack_map.h326 BitMemoryRegion GetStackMask(size_t index) const { in GetStackMask()
330 BitMemoryRegion GetStackMaskOf(const StackMap& stack_map) const { in GetStackMaskOf()
332 return (index == StackMap::kNoValue) ? BitMemoryRegion() : GetStackMask(index); in GetStackMaskOf()
Dquick_exception_handler.cc563 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in HandleOptimizingDeoptimization()
Dstack.cc325 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in GetVRegFromOptimizedCode()
Dthread.cc4213 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(map); in VisitQuickFrameWithVregCallback()
/art/libprofile/profile/
Dprofile_compilation_info.h798 BitMemoryRegion(MemoryRegion( in DexFileData()
822 BitMemoryRegion::Equals(method_bitmap, other.method_bitmap);
909 BitMemoryRegion method_bitmap;
Dprofile_compilation_info.cc2687 BitMemoryRegion saved_bitmap(buffer.GetCurrentPtr(), /*bit_start=*/ 0, saved_bitmap_bit_size); in WriteMethods()
2692 BitMemoryRegion src = method_bitmap.Subregion(index * num_method_ids, num_method_ids); in WriteMethods()
2701 BitMemoryRegion padding_region(buffer.GetCurrentPtr(), saved_bitmap_bit_size, padding_bit_size); in WriteMethods()
2794 BitMemoryRegion saved_bitmap(buffer.GetCurrentPtr(), /*bit_start=*/ 0, saved_bitmap_bit_size); in ReadMethods()
2799 BitMemoryRegion src = in ReadMethods()
/art/compiler/optimizing/
Dstack_map_stream.cc169 BitMemoryRegion seen_stack_mask = code_info.GetStackMaskOf(stack_map); in BeginStackMapEntry()
Dstack_map_test.cc35 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckStackMask()