Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_memory_region.h31 class BitMemoryRegion final : public ValueObject {
34 bool operator()(const BitMemoryRegion& lhs, const BitMemoryRegion& rhs) const { in operator()
39 BitMemoryRegion() = default;
40 ALWAYS_INLINE BitMemoryRegion(uint8_t* data, ssize_t bit_start, size_t bit_size) { in BitMemoryRegion() function
46 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() function
47 : BitMemoryRegion(region.begin(), /* bit_start */ 0, region.size_in_bits()) { in BitMemoryRegion()
49 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion() function
50 : BitMemoryRegion(region) { in BitMemoryRegion()
69 ALWAYS_INLINE BitMemoryRegion Subregion(size_t bit_offset, size_t bit_length) const { in Subregion()
72 BitMemoryRegion result = *this; 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::Compare(table_data_, other.table_data_) == 0; 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()
452 BitMemoryRegion src(row); in Encode()
453 BitMemoryRegion dst = out.Allocate(max_num_bits_); in Encode()
465 BitMemoryRegion expected(rows_[r]); in Encode()
466 BitMemoryRegion seen = table.GetBitMemoryRegion(r); in Encode()
Dbit_table_test.cc159 BitMemoryRegion actual = table.GetBitMemoryRegion(it.second); in TEST()
/art/runtime/
Dstack_map.cc59 : CodeInfo(data, num_read_bits, [](size_t, auto*, BitMemoryRegion){}) {} in CodeInfo() argument
92 std::map<BitMemoryRegion, uint32_t, BitMemoryRegion::Less>::iterator it[kNumBitTables]; in Dedupe()
93 CodeInfo code_info(code_info_data, nullptr, [&](size_t i, auto*, BitMemoryRegion region) { in Dedupe()
175 BitMemoryRegion mask = dex_register_masks_.GetBitMemoryRegion(mask_index); in DecodeDexRegisterMap()
224 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) { in CollectSizeStats()
285 BitMemoryRegion bits = table.GetBitMemoryRegion(r, c); in Dump()
320 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(*this); in Dump()
Dstack_map.h291 std::map<BitMemoryRegion, uint32_t, BitMemoryRegion::Less> dedupe_map_;
331 BitMemoryRegion GetStackMask(size_t index) const { in GetStackMask()
335 BitMemoryRegion GetStackMaskOf(const StackMap& stack_map) const { in GetStackMaskOf()
337 return (index == StackMap::kNoValue) ? BitMemoryRegion() : GetStackMask(index); in GetStackMaskOf()
Dcheck_reference_map_visitor.h102 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckOptimizedMethod()
Dquick_exception_handler.cc465 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in HandleOptimizingDeoptimization()
Dstack.cc292 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in GetVRegFromOptimizedCode()
Dthread.cc3950 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(map); in VisitQuickFrameWithVregCallback()
/art/libprofile/profile/
Dprofile_compilation_info.h745 BitMemoryRegion(MemoryRegion( in DexFileData()
769 (BitMemoryRegion::Compare(method_bitmap, other.method_bitmap) == 0);
825 BitMemoryRegion method_bitmap;
Dprofile_compilation_info.cc2614 BitMemoryRegion saved_bitmap(buffer.GetCurrentPtr(), /*bit_start=*/ 0, saved_bitmap_bit_size); in WriteMethods()
2619 BitMemoryRegion src = method_bitmap.Subregion(index * num_method_ids, num_method_ids); in WriteMethods()
2716 BitMemoryRegion saved_bitmap(buffer.GetCurrentPtr(), /*bit_start=*/ 0, saved_bitmap_bit_size); in ReadMethods()
2721 BitMemoryRegion src = in ReadMethods()
/art/compiler/optimizing/
Dstack_map_stream.cc154 BitMemoryRegion seen_stack_mask = code_info.GetStackMaskOf(stack_map); in BeginStackMapEntry()
Dstack_map_test.cc34 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckStackMask()