Home
last modified time | relevance | path

Searched refs:BitVector (Results 1 – 25 of 30) 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.h34 class BitVector {
73 IndexIterator(const BitVector* bit_vector, begin_tag);
74 IndexIterator(const BitVector* bit_vector, end_tag);
85 friend class BitVector::IndexContainer;
93 explicit IndexContainer(const BitVector* bit_vector) : bit_vector_(bit_vector) { } in IndexContainer()
99 const BitVector* const bit_vector_;
104 BitVector(const BitVector& other) = delete;
105 BitVector& operator=(const BitVector& other) = delete;
107 BitVector(BitVector&& other) in BitVector() function
116 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()
51 BitVector::BitVector(const BitVector& src, in BitVector() function in art::BitVector
54 : BitVector(expandable, in BitVector()
62 BitVector::~BitVector() { in ~BitVector()
66 bool BitVector::SameBitsSet(const BitVector *src) const { in SameBitsSet()
92 bool BitVector::IsSubsetOf(const BitVector *other) const { in IsSubsetOf()
118 void BitVector::Intersect(const BitVector* src) { in Intersect()
138 bool BitVector::Union(const BitVector* src) { in Union()
[all …]
Dbit_vector_test.cc25 TEST(BitVector, Test) { in TEST() argument
28 BitVector bv(kBits, false, Allocator::GetMallocAllocator()); in TEST()
58 BitVector::IndexIterator iterator = bv.Indexes().begin(); in TEST()
68 TEST(BitVector, NoopAllocator) { in TEST() argument
74 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
125 TEST(BitVector, SetInitialBits) { in TEST() argument
131 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
144 TEST(BitVector, UnionIfNotIn) { in TEST() argument
146 BitVector first(2, true, Allocator::GetMallocAllocator()); in TEST()
147 BitVector second(5, true, Allocator::GetMallocAllocator()); in TEST()
[all …]
Darena_bit_vector.cc84 : BitVector(start_bits, in ArenaBitVector()
93 : BitVector(start_bits, in ArenaBitVector()
Darena_bit_vector.h31 class ArenaBitVector : public BitVector, public ArenaObject<kArenaAllocGrowableBitMap> {
/art/dex2oat/dex/
Ddex_to_dex_compiler.h98 BitVector* GetOrAddBitVectorForDex(const DexFile* dex_file) REQUIRES(lock_);
104 BitVector* active_bit_vector_ = nullptr;
109 std::unordered_map<const DexFile*, BitVector> should_quicken_;
Ddex_to_dex_compiler.cc148 BitVector* DexToDexCompiler::GetOrAddBitVectorForDex(const DexFile* dex_file) { in GetOrAddBitVectorForDex()
152 BitVector(dex_file->NumMethodIds(), in GetOrAddBitVectorForDex()
163 BitVector* const bitmap = GetOrAddBitVectorForDex(method_ref.dex_file); in MarkForCompilation()
/art/compiler/optimizing/
Dliveness_test.cc35 static void DumpBitVector(BitVector* vector, in DumpBitVector()
59 BitVector* live_in = liveness.GetLiveInSet(*block); in TestCode()
61 BitVector* live_out = liveness.GetLiveOutSet(*block); in TestCode()
63 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()
Dstack_map_stream.h70 BitVector* sp_mask = nullptr,
115 ScopedArenaVector<BitVector*> lazy_stack_masks_;
Dregister_allocator.cc146 BitVector* liveness_of_spill_slot = liveness_of_values[number_of_registers in ValidateIntervals()
170 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.cc63 BitVector* stack_mask = lazy_stack_masks_[i]; in EndMethod()
74 BitVector* stack_mask, in BeginStackMapEntry()
Dlocations.h632 BitVector* GetStackMask() const { in GetStackMask()
686 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()
/art/dex2oat/linker/
Doat_writer.h42 class BitVector; variable
440 SafeMap<const DexFile*, BitVector> bss_method_entry_references_;
443 SafeMap<const DexFile*, BitVector> bss_type_entry_references_;
446 SafeMap<const DexFile*, BitVector> bss_string_entry_references_;
Doat_writer.cc270 std::unique_ptr<BitVector> method_bitmap_;
910 /*inout*/ SafeMap<const DexFile*, BitVector>* references) { in AddBssReference()
919 BitVector(number_of_indexes, /* expandable */ false, Allocator::GetMallocAllocator())); in AddBssReference()
2080 const BitVector& indexes, in CalculateNumberOfIndexBssMappingEntries()
2100 const BitVector& indexes, in CalculateIndexBssMappingSize()
2128 const BitVector& method_indexes = method_it->second; in InitIndexBssMappings()
2142 const BitVector& type_indexes = type_it->second; in InitIndexBssMappings()
2156 const BitVector& string_indexes = string_it->second; in InitIndexBssMappings()
2925 const BitVector& indexes, in WriteIndexBssMapping()
2982 const BitVector& method_indexes = method_it->second; in WriteIndexBssMappings()
[all …]
/art/runtime/
Doat_file_manager.cc179 BitVector& GetTypeIndexes() { in GetTypeIndexes()
182 BitVector::IndexIterator& GetIterator() { in GetIterator()
185 BitVector::IndexIterator& GetIteratorEnd() { in GetIteratorEnd()
193 static BitVector GenerateTypeIndexes(const DexFile* dex_file) { in GenerateTypeIndexes()
194 BitVector type_indexes(/*start_bits=*/0, /*expandable=*/true, Allocator::GetMallocAllocator()); in GenerateTypeIndexes()
204 BitVector type_indexes_;
205 BitVector::IndexIterator iter_;
206 BitVector::IndexIterator end_;
Doat_file.h42 class BitVector; variable
/art/dex2oat/driver/
Dcompiler_driver.h62 class BitVector; variable
/art/runtime/verifier/
Dreg_type.h1144 const BitVector& unresolved,
1154 const BitVector& GetUnresolvedTypes() const { in GetUnresolvedTypes()
1180 const BitVector unresolved_types_;
Dreg_type.cc335 const BitVector& types = GetUnresolvedTypes(); in Dump()
876 const BitVector& unresolved, in UnresolvedMergedType()
Dreg_type_cache.cc458 const BitVector& unresolved_part = cmp_type->GetUnresolvedTypes(); in FromUnresolvedMerge()

12