/art/runtime/arch/x86/ |
D | callee_save_frame_x86.h | 66 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize() 67 2 * POPCOUNT(GetFpSpills(type)) /* fprs */ + in GetFrameSize() 79 (POPCOUNT(GetCoreSpills(type)) + in GetFpr1Offset() 80 2 * POPCOUNT(GetFpSpills(type))) * static_cast<size_t>(kX86PointerSize); in GetFpr1Offset() 86 POPCOUNT(GetCoreSpills(type)) * static_cast<size_t>(kX86PointerSize); in GetGpr1Offset()
|
D | context_x86.cc | 46 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. in FillCalleeSaves() 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); in FillCalleeSaves() 65 POPCOUNT(frame_info.CoreSpillMask()) - 1 + 2 * POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/x86_64/ |
D | callee_save_frame_x86_64.h | 77 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize() 78 POPCOUNT(GetFpSpills(type)) /* fprs */ + in GetFrameSize() 90 (POPCOUNT(GetCoreSpills(type)) + in GetFpr1Offset() 91 POPCOUNT(GetFpSpills(type))) * static_cast<size_t>(kX86_64PointerSize); in GetFpr1Offset() 97 POPCOUNT(GetCoreSpills(type)) * static_cast<size_t>(kX86_64PointerSize); in GetGpr1Offset()
|
D | context_x86_64.cc | 45 DCHECK_EQ(1, POPCOUNT(frame_info.CoreSpillMask() & ~core_regs)); // Return address spill. in FillCalleeSaves() 50 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) - 1); in FillCalleeSaves() 61 POPCOUNT(frame_info.CoreSpillMask()) - 1 + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/arm/ |
D | callee_save_frame_arm.h | 79 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize() 80 POPCOUNT(GetFpSpills(type)) /* fprs */ + in GetFrameSize() 92 (POPCOUNT(GetCoreSpills(type)) + in GetFpr1Offset() 93 POPCOUNT(GetFpSpills(type))) * static_cast<size_t>(kArmPointerSize); in GetFpr1Offset() 99 POPCOUNT(GetCoreSpills(type)) * static_cast<size_t>(kArmPointerSize); in GetGpr1Offset()
|
D | context_arm.cc | 51 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 58 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/libartbase/base/ |
D | bit_utils_test.cc | 62 static_assert(0 == POPCOUNT<uint32_t>(0u), "TestPOPCOUNT32#1"); 63 static_assert(1 == POPCOUNT<uint32_t>(8u), "TestPOPCOUNT32#2"); 64 static_assert(15 == POPCOUNT<uint32_t>(0x55555554u), "TestPOPCOUNT32#3"); 65 static_assert(16 == POPCOUNT<uint32_t>(0xaaaaaaaau), "TestPOPCOUNT32#4"); 66 static_assert(31 == POPCOUNT<uint32_t>(0xfffffffeu), "TestPOPCOUNT32#5"); 67 static_assert(32 == POPCOUNT<uint32_t>(0xffffffffu), "TestPOPCOUNT32#6"); 69 static_assert(0 == POPCOUNT<uint64_t>(UINT64_C(0)), "TestPOPCOUNT64#1"); 70 static_assert(1 == POPCOUNT<uint64_t>(UINT64_C(0x40000)), "TestPOPCOUNT64#2"); 71 static_assert(16 == POPCOUNT<uint64_t>(UINT64_C(0x1414141482828282)), "TestPOPCOUNT64#3"); 72 static_assert(31 == POPCOUNT<uint64_t>(UINT64_C(0x0000ffff00007fff)), "TestPOPCOUNT64#4"); [all …]
|
D | bit_vector.cc | 235 count += POPCOUNT(storage_[word]); in NumSetBits() 321 count += POPCOUNT(storage[word]); in NumSetBits() 324 count += POPCOUNT(storage[word_end] & ~(0xffffffffu << partial_word_bits)); in NumSetBits()
|
D | bit_memory_region.h | 175 count += POPCOUNT(LoadBits(bit_offset + bit, kNumBits)); in PopCount() 177 count += POPCOUNT(LoadBits(bit_offset + bit, bit_length - bit)); in PopCount()
|
D | bit_table_test.cc | 152 EXPECT_EQ(1 + static_cast<uint32_t>(POPCOUNT(value)), builder.size()); in TEST()
|
/art/runtime/arch/mips64/ |
D | callee_save_frame_mips64.h | 95 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize() 96 POPCOUNT(GetFpSpills(type)) /* fprs */ + in GetFrameSize() 108 (POPCOUNT(GetCoreSpills(type)) + in GetFpr1Offset() 109 POPCOUNT(GetFpSpills(type))) * static_cast<size_t>(kMips64PointerSize); in GetFpr1Offset() 115 POPCOUNT(GetCoreSpills(type)) * static_cast<size_t>(kMips64PointerSize); in GetGpr1Offset()
|
D | context_mips64.cc | 48 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 55 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/arm64/ |
D | callee_save_frame_arm64.h | 102 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize() 103 POPCOUNT(GetFpSpills(type)) /* fprs */ + in GetFrameSize() 115 (POPCOUNT(GetCoreSpills(type)) + in GetFpr1Offset() 116 POPCOUNT(GetFpSpills(type))) * static_cast<size_t>(kArm64PointerSize); in GetFpr1Offset() 122 POPCOUNT(GetCoreSpills(type)) * static_cast<size_t>(kArm64PointerSize); in GetGpr1Offset()
|
D | context_arm64.cc | 57 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 64 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/runtime/arch/mips/ |
D | callee_save_frame_mips.h | 104 return RoundUp((POPCOUNT(GetCoreSpills(type)) /* gprs */ + in GetFrameSize() 105 POPCOUNT(GetFpSpills(type)) /* fprs */ + in GetFrameSize() 117 (POPCOUNT(GetCoreSpills(type)) + in GetFpr1Offset() 118 POPCOUNT(GetFpSpills(type))) * static_cast<size_t>(kMipsPointerSize); in GetFpr1Offset() 124 POPCOUNT(GetCoreSpills(type)) * static_cast<size_t>(kMipsPointerSize); in GetGpr1Offset()
|
D | context_mips.cc | 57 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask())); in FillCalleeSaves() 64 DCHECK_EQ(spill_pos, POPCOUNT(frame_info.CoreSpillMask()) + POPCOUNT(frame_info.FpSpillMask())); in FillCalleeSaves()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 99 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame() 105 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in BuildFrame() 107 ___ Vpush(SRegisterList(vixl32::SRegister(first), POPCOUNT(fp_spill_mask))); in BuildFrame() 108 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame() 113 int pushed_values = POPCOUNT(core_spill_mask) + POPCOUNT(fp_spill_mask); in BuildFrame() 159 int pop_values = POPCOUNT(core_spill_mask) + POPCOUNT(fp_spill_mask); in RemoveFrame() 167 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in RemoveFrame() 169 ___ Vpop(SRegisterList(vixl32::SRegister(first), POPCOUNT(fp_spill_mask))); in RemoveFrame() 170 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
|
D | assembler_arm_vixl.cc | 385 int number_of_regs = POPCOUNT(static_cast<uint32_t>(regs)); in StoreRegisterList() 406 int number_of_regs = POPCOUNT(static_cast<uint32_t>(regs)); in LoadRegisterList()
|
/art/runtime/ |
D | index_bss_mapping.cc | 41 return bss_offset - POPCOUNT(mask_from_index) * slot_size; in GetBssOffset()
|
D | cha.cc | 232 size_t core_spill_size = POPCOUNT(frame_info.CoreSpillMask()) * in SetShouldDeoptimizeFlag() 234 size_t fpu_spill_size = POPCOUNT(frame_info.FpSpillMask()) * in SetShouldDeoptimizeFlag()
|
/art/compiler/optimizing/ |
D | code_generator.h | 276 return POPCOUNT(core_callee_save_mask_); in GetNumberOfCoreCalleeSaveRegisters() 313 return POPCOUNT(GetSlowPathSpills(locations, core_registers)); in GetNumberOfSlowPathSpills() 676 return POPCOUNT(fpu_spill_mask_) * GetFloatingPointSpillSlotSize(); in GetFpuSpillSize() 680 return POPCOUNT(core_spill_mask_) * GetWordSize(); in GetCoreSpillSize() 685 return (POPCOUNT(allocated_registers_.GetCoreRegisters() & core_callee_save_mask_) != 1) in HasAllocatedCalleeSaveRegisters() 686 || (POPCOUNT(allocated_registers_.GetFloatingPointRegisters() & fpu_callee_save_mask_) != 0); in HasAllocatedCalleeSaveRegisters()
|
D | locations.h | 469 return POPCOUNT(core_registers_) + POPCOUNT(floating_point_registers_); in GetNumberOfRegisters()
|
/art/libdexfile/dex/ |
D | compact_offset_table.cc | 53 size_t count = POPCOUNT(static_cast<uintptr_t>(bit_mask) << (kBitsPerIntPtrT - 1 - bit_index)); in GetOffset()
|
D | dex_file_verifier_test.cc | 433 if (POPCOUNT(i) < 2) { in TEST_F() 569 if (POPCOUNT(j) < 2) { in TEST_F() 808 uint32_t bits = POPCOUNT(kInterfaceDisallowed); in TEST_F() 958 uint32_t bits = POPCOUNT(kAccFlags); in TEST_F() 960 if (POPCOUNT(j) < 2) { in TEST_F() 1168 uint32_t bits = POPCOUNT(kInterfaceDisallowed); in TEST_F()
|
/art/runtime/gc/accounting/ |
D | space_bitmap.cc | 187 buffer_size += POPCOUNT(garbage); in SweepWalk()
|