Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_memory_region.h29 class BitMemoryRegion final : public ValueObject {
32 bool operator()(const BitMemoryRegion& lhs, const BitMemoryRegion& rhs) const { in operator()
37 BitMemoryRegion() = default;
38 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.h73 ALWAYS_INLINE BitMemoryRegion GetBitMemoryRegion(uint32_t row, uint32_t column = 0) const {
96 BitMemoryRegion::Compare(table_data_, other.table_data_) == 0; in Equals()
100 BitMemoryRegion table_data_;
419 DCHECK(num_bits == 0 || BitMemoryRegion(region).LoadBit(num_bits - 1) == 1); in Dedup()
420 DCHECK_EQ(BitMemoryRegion(region).LoadBits(num_bits, region.size_in_bits() - num_bits), 0u); in Dedup()
453 BitMemoryRegion src(row); in Encode()
454 BitMemoryRegion dst = out.Allocate(max_num_bits_); in Encode()
467 BitMemoryRegion expected(rows_[r]); in Encode()
468 BitMemoryRegion seen = table.GetBitMemoryRegion(r); in Encode()
Dbit_table_test.cc159 BitMemoryRegion actual = table.GetBitMemoryRegion(it.second); in TEST()
/art/runtime/
Dstack_map.h292 std::map<BitMemoryRegion, uint32_t, BitMemoryRegion::Less> dedupe_map_;
324 BitMemoryRegion GetStackMask(size_t index) const { in GetStackMask()
328 BitMemoryRegion GetStackMaskOf(const StackMap& stack_map) const { in GetStackMaskOf()
330 return (index == StackMap::kNoValue) ? BitMemoryRegion() : GetStackMask(index); in GetStackMaskOf()
Dstack_map.cc73 BitMemoryRegion region = reader.GetReadRegion().Subregion(bit_table_start); in Dedupe()
141 BitMemoryRegion mask = dex_register_masks_.GetBitMemoryRegion(mask_index); in DecodeDexRegisterMap()
255 BitMemoryRegion bits = table.GetBitMemoryRegion(r, c); in Dump()
290 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(*this); in Dump()
Dcheck_reference_map_visitor.h74 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in CheckOptimizedMethod()
Dquick_exception_handler.cc477 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in HandleOptimizingDeoptimization()
Dstack.cc226 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(stack_map); in GetVRegFromOptimizedCode()
Dthread.cc3790 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(map); in VisitQuickFrameWithVregCallback()
/art/libprofile/profile/
Dprofile_compilation_info.h513 BitMemoryRegion(MemoryRegion( in DexFileData()
533 (BitMemoryRegion::Compare(method_bitmap, other.method_bitmap) == 0) &&
578 BitMemoryRegion method_bitmap;
/art/compiler/optimizing/
Dstack_map_stream.cc128 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()