Home
last modified time | relevance | path

Searched refs:NumSetBits (Results 1 – 11 of 11) sorted by relevance

/art/runtime/base/
Dbit_vector_test.cc33 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
34 EXPECT_EQ(0U, bv.NumSetBits(1)); in TEST()
35 EXPECT_EQ(0U, bv.NumSetBits(kBits)); in TEST()
47 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
48 EXPECT_EQ(1U, bv.NumSetBits(1)); in TEST()
49 EXPECT_EQ(2U, bv.NumSetBits(kBits)); in TEST()
78 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
81 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
84 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
87 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
[all …]
Dbit_vector.h208 uint32_t NumSetBits() const;
211 uint32_t NumSetBits(uint32_t end) const;
257 static uint32_t NumSetBits(const uint32_t* storage, uint32_t end);
Dbit_vector.cc232 uint32_t BitVector::NumSetBits() const { in NumSetBits() function in art::BitVector
240 uint32_t BitVector::NumSetBits(uint32_t end) const { in NumSetBits() function in art::BitVector
242 return NumSetBits(storage_, end); in NumSetBits()
315 uint32_t BitVector::NumSetBits(const uint32_t* storage, uint32_t end) { in NumSetBits() function in art::BitVector
/art/compiler/optimizing/
Dstack_map_stream.cc201 size_t number_of_live_dex_registers = live_dex_registers_mask->NumSetBits(); in ComputeDexRegisterMapSize()
309 if (entry.num_dex_registers == 0 || (entry.live_dex_registers_mask->NumSetBits() == 0)) { in FillIn()
399 size_t number_of_live_dex_registers = live_dex_registers_mask.NumSetBits(); in FillInDexRegisterMap()
455 size_t number_of_live_dex_registers = a.live_dex_registers_mask->NumSetBits(); in HaveTheSameDexMaps()
Dfind_loops_test.cc124 ASSERT_EQ(blocks.NumSetBits(), number_of_blocks); in TestBlock()
Dgvn.cc174 DCHECK_EQ(buckets_owned_.NumSetBits(), 0u); in PopulateFromInternal()
Dssa_liveness_analysis.h979 size_t num_blocks = loop->GetBlocks().NumSetBits(); in IsLinearOrderWellFormed()
Dnodes.cc648 DCHECK_EQ(blocks_.NumSetBits(), 0u) << "Loop information has already been populated"; in Populate()
1720 DCHECK_EQ(loop_info->GetBlocks().NumSetBits(), 1u); in DisconnectAndDelete()
/art/runtime/verifier/
Dreg_type.cc824 CHECK_GT(unresolved_types_.NumSetBits(), 0U); in CheckInvariants()
/art/runtime/
Doat_file.cc1283 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets()
/art/compiler/driver/
Dcompiler_driver.cc736 DCHECK_EQ(current_dex_to_dex_methods_->NumSetBits(), 1u); in CompileOne()