Home
last modified time | relevance | path

Searched refs:BitVector (Results 1 – 25 of 31) sorted by relevance

12

/art/libartbase/base/
Dbit_vector-inl.h28 inline bool BitVector::IndexIterator::operator==(const IndexIterator& other) const {
34 inline uint32_t BitVector::IndexIterator::operator*() const {
39 inline BitVector::IndexIterator& BitVector::IndexIterator::operator++() {
45 inline BitVector::IndexIterator BitVector::IndexIterator::operator++(int) {
51 inline uint32_t BitVector::IndexIterator::FindIndex(uint32_t start_index) const { in FindIndex()
70 inline BitVector::IndexIterator::IndexIterator(const BitVector* bit_vector, begin_tag) in IndexIterator()
75 inline BitVector::IndexIterator::IndexIterator(const BitVector* bit_vector, end_tag) in IndexIterator()
80 inline BitVector::IndexIterator BitVector::IndexContainer::begin() const { in begin()
84 inline BitVector::IndexIterator BitVector::IndexContainer::end() const { in end()
88 inline void BitVector::ClearAllBits() { in ClearAllBits()
[all …]
Dbit_vector.h36 class BitVector {
78 IndexIterator(const BitVector* bit_vector, begin_tag);
79 IndexIterator(const BitVector* bit_vector, end_tag);
90 friend class BitVector::IndexContainer;
98 explicit IndexContainer(const BitVector* bit_vector) : bit_vector_(bit_vector) { } in IndexContainer()
104 const BitVector* const bit_vector_;
109 BitVector(const BitVector& other) = delete;
110 BitVector& operator=(const BitVector& other) = delete;
112 BitVector(BitVector&& other) in BitVector() function
121 BitVector(uint32_t start_bits,
[all …]
Dbit_vector.cc27 BitVector::BitVector(bool expandable, in BitVector() function in art::BitVector
41 BitVector::BitVector(uint32_t start_bits, in BitVector() function in art::BitVector
44 : BitVector(expandable, in BitVector()
52 BitVector::BitVector(const BitVector& src, in BitVector() function in art::BitVector
55 : BitVector(expandable, in BitVector()
63 BitVector::~BitVector() { in ~BitVector()
70 bool BitVector::SameBitsSet(const BitVector *src) const { in SameBitsSet()
96 bool BitVector::IsSubsetOf(const BitVector *other) const { in IsSubsetOf()
122 void BitVector::Intersect(const BitVector* src) { in Intersect()
142 bool BitVector::Union(const BitVector* src) { in Union()
[all …]
Dbit_vector_test.cc28 TEST(BitVector, Test) { in TEST() argument
31 BitVector bv(kBits, false, Allocator::GetMallocAllocator()); in TEST()
61 BitVector::IndexIterator iterator = bv.Indexes().begin(); in TEST()
90 TEST(BitVector, MessyAllocator) { in TEST() argument
92 BitVector bv(32, false, &alloc); in TEST()
97 TEST(BitVector, NoopAllocator) { in TEST() argument
103 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
154 TEST(BitVector, SetInitialBits) { in TEST() argument
160 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
173 TEST(BitVector, UnionIfNotIn) { in TEST() argument
[all …]
Darena_bit_vector.h32 class ArenaBitVector : public BitVector, public ArenaObject<kArenaAllocGrowableBitMap> {
95 const BitVector& GetRawData() const override { in GetRawData()
99 BitVector& GetRawData() override { in GetRawData()
Darena_bit_vector.cc84 : BitVector(start_bits, in ArenaBitVector()
93 : BitVector(start_bits, in ArenaBitVector()
/art/compiler/optimizing/
Dliveness_test.cc35 static void DumpBitVector(BitVector* vector, in DumpBitVector()
61 BitVector* live_in = liveness.GetLiveInSet(*block); in TestCode()
63 BitVector* live_out = liveness.GetLiveOutSet(*block); in TestCode()
65 BitVector* kill = liveness.GetKillSet(*block); in TestCode()
Dssa_liveness_analysis.cc108 BitVector* live_in) { in RecursivelyProcessInputs()
142 BitVector* live_in) { in ProcessEnvironment()
172 BitVector* kill = GetKillSet(*block); in ComputeLiveRanges()
173 BitVector* live_in = GetLiveInSet(*block); in ComputeLiveRanges()
292 BitVector* live_out = GetLiveOutSet(block); in UpdateLiveOut()
305 BitVector* live_out = GetLiveOutSet(block); in UpdateLiveIn()
306 BitVector* kill = GetKillSet(block); in UpdateLiveIn()
307 BitVector* live_in = GetLiveInSet(block); in UpdateLiveIn()
Dexecution_subgraph.h79 explicit BlockIdFilterThunk(const BitVector& i) : inner_(i) {} in BlockIdFilterThunk()
88 const BitVector& inner_;
119 IterationRange<TransformIterator<BitVector::IndexIterator, BlockIdToBlockTransformer>>;
Dstack_map_stream.h71 BitVector* sp_mask = nullptr,
134 ScopedArenaVector<BitVector*> lazy_stack_masks_;
Dregister_allocator.cc135 BitVector* liveness_of_spill_slot = liveness_of_values[number_of_registers in ValidateIntervals()
159 BitVector* liveness_of_register = liveness_of_values[current->GetRegister()]; in ValidateIntervals()
Dssa_liveness_analysis.h1189 BitVector* GetLiveInSet(const HBasicBlock& block) const { in GetLiveInSet()
1193 BitVector* GetLiveOutSet(const HBasicBlock& block) const { in GetLiveOutSet()
1197 BitVector* GetKillSet(const HBasicBlock& block) const { in GetKillSet()
1271 BitVector* live_in);
1274 BitVector* live_in);
1299 BitVector* live_in = GetLiveInSet(block); in CheckNoLiveInIrreducibleLoop()
Dstack_map_stream.cc75 BitVector* stack_mask = lazy_stack_masks_[i]; in EndMethod()
99 BitVector* stack_mask, in BeginStackMapEntry()
Dlocations.h662 BitVector* GetStackMask() const { in GetStackMask()
716 BitVector* stack_mask_;
Dfind_loops_test.cc113 const BitVector& blocks = info->GetBlocks(); in TestBlock()
Dregister_allocation_resolver.cc158 BitVector* live = liveness_.GetLiveInSet(*block); in Resolve()
171 BitVector* live = liveness_.GetLiveInSet(*block); in Resolve()
Doptimizing_unit_test.h358 BitVector bv(preds.size(), false, Allocator::GetMallocAllocator()); in EnsurePredecessorOrder()
/art/dex2oat/linker/
Doat_writer.h41 class BitVector; variable
431 SafeMap<const DexFile*, BitVector> bss_method_entry_references_;
434 SafeMap<const DexFile*, BitVector> bss_type_entry_references_;
437 SafeMap<const DexFile*, BitVector> bss_public_type_entry_references_;
440 SafeMap<const DexFile*, BitVector> bss_package_type_entry_references_;
443 SafeMap<const DexFile*, BitVector> bss_string_entry_references_;
Doat_writer.cc289 std::unique_ptr<BitVector> method_bitmap_;
945 /*inout*/ SafeMap<const DexFile*, BitVector>* references) { in AddBssReference()
955 BitVector(number_of_indexes, /* expandable */ false, Allocator::GetMallocAllocator())); in AddBssReference()
2137 const BitVector& indexes, in CalculateNumberOfIndexBssMappingEntries()
2157 const BitVector& indexes, in CalculateIndexBssMappingSize()
2168 const BitVector& type_indexes, in CalculateIndexBssMappingSize()
2200 const BitVector& method_indexes = method_it->second; in InitIndexBssMappings()
2214 const BitVector& type_indexes = type_it->second; in InitIndexBssMappings()
2222 const BitVector& type_indexes = public_type_it->second; in InitIndexBssMappings()
2230 const BitVector& type_indexes = package_type_it->second; in InitIndexBssMappings()
[all …]
/art/dex2oat/driver/
Dcompiler_driver.h60 class BitVector; variable
/art/runtime/verifier/
Dreg_type.h1122 const BitVector& unresolved,
1132 const BitVector& GetUnresolvedTypes() const { in GetUnresolvedTypes()
1160 const BitVector unresolved_types_;
Dreg_type.cc335 const BitVector& types = GetUnresolvedTypes(); in Dump()
962 const BitVector& unresolved, in UnresolvedMergedType()
Dreg_type_cache.cc469 const BitVector& unresolved_part = cmp_type->GetUnresolvedTypes(); in FromUnresolvedMerge()
/art/runtime/
Doat_file.h40 class BitVector; variable
Doat_file.cc2226 uint32_t bitmap_size = BitVector::BitsToWords(num_methods) * BitVector::kWordBytes; in GetOatClass()
2233 num_method_offsets = BitVector::NumSetBits(bitmap_pointer, num_methods); in GetOatClass()
2349 if (!BitVector::IsBitSet(bitmap_, method_index)) { in GetOatMethodOffsets()
2352 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets()

12