Home
last modified time | relevance | path

Searched refs:BitMemoryRegion (Results 1 – 13 of 13) 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
99 std::map<BitMemoryRegion, uint32_t, BitMemoryRegion::Less>::iterator it[kNumBitTables]; in Dedupe()
100 CodeInfo code_info(code_info_data, nullptr, [&](size_t i, auto*, BitMemoryRegion region) { in Dedupe()
182 BitMemoryRegion mask = dex_register_masks_.GetBitMemoryRegion(mask_index); in DecodeDexRegisterMap()
232 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) { in CollectSizeStats()
291 BitMemoryRegion bits = table.GetBitMemoryRegion(r, c); in Dump()
326 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(*this); in Dump()
Dstack_map.h291 std::map<BitMemoryRegion, uint32_t, BitMemoryRegion::Less> dedupe_map_;
311 BitMemoryRegion GetStackMask(size_t index) const { in GetStackMask()
315 BitMemoryRegion GetStackMaskOf(const StackMap& stack_map) const { in GetStackMaskOf()
317 return (index == StackMap::kNoValue) ? BitMemoryRegion() : GetStackMask(index); in GetStackMaskOf()
Dcheck_reference_map_visitor.h85 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.cc298 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in GetVRegFromOptimizedCode()
Dthread.cc3815 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(map); in VisitQuickFrameWithVregCallback()
/art/libprofile/profile/
Dprofile_compilation_info.h618 BitMemoryRegion(MemoryRegion( in DexFileData()
642 (BitMemoryRegion::Compare(method_bitmap, other.method_bitmap) == 0);
679 BitMemoryRegion method_bitmap;
/art/compiler/optimizing/
Dstack_map_stream.cc140 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()