Home
last modified time | relevance | path

Searched refs:BitVector (Results 1 – 25 of 29) 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()
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()
Dstack_map_stream.h71 BitVector* sp_mask = nullptr,
133 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.cc74 BitVector* stack_mask = lazy_stack_masks_[i]; in EndMethod()
85 BitVector* stack_mask, in BeginStackMapEntry()
Dlocations.h645 BitVector* GetStackMask() const { in GetStackMask()
699 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.h41 class BitVector; variable
439 SafeMap<const DexFile*, BitVector> bss_method_entry_references_;
442 SafeMap<const DexFile*, BitVector> bss_type_entry_references_;
445 SafeMap<const DexFile*, BitVector> bss_string_entry_references_;
Doat_writer.cc282 std::unique_ptr<BitVector> method_bitmap_;
937 /*inout*/ SafeMap<const DexFile*, BitVector>* references) { in AddBssReference()
946 BitVector(number_of_indexes, /* expandable */ false, Allocator::GetMallocAllocator())); in AddBssReference()
2098 const BitVector& indexes, in CalculateNumberOfIndexBssMappingEntries()
2118 const BitVector& indexes, in CalculateIndexBssMappingSize()
2146 const BitVector& method_indexes = method_it->second; in InitIndexBssMappings()
2160 const BitVector& type_indexes = type_it->second; in InitIndexBssMappings()
2174 const BitVector& string_indexes = string_it->second; in InitIndexBssMappings()
2880 const BitVector& indexes, in WriteIndexBssMapping()
2937 const BitVector& method_indexes = method_it->second; in WriteIndexBssMappings()
[all …]
/art/dex2oat/driver/
Dcompiler_driver.h62 class BitVector; variable
/art/runtime/verifier/
Dreg_type.h1122 const BitVector& unresolved,
1132 const BitVector& GetUnresolvedTypes() const { in GetUnresolvedTypes()
1158 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.cc2138 if (!BitVector::IsBitSet(bitmap_, method_index)) { in GetOatMethodOffsets()
2141 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets()

12