/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/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/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 | 183 count += POPCOUNT(LoadBits(bit_offset + bit, kNumBits)); in PopCount() 185 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/ |
D | nterp_helpers.cc | 92 return (POPCOUNT(core_spills) + POPCOUNT(fp_spills)) * kPointerSize; in NterpGetFrameEntrySize()
|
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/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 101 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame() 108 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in BuildFrame() 110 ___ Vpush(SRegisterList(vixl32::SRegister(first), POPCOUNT(fp_spill_mask))); in BuildFrame() 111 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame() 116 int pushed_values = POPCOUNT(core_spill_mask) + POPCOUNT(fp_spill_mask); in BuildFrame() 165 size_t pop_values = POPCOUNT(core_spill_mask) + POPCOUNT(fp_spill_mask); in RemoveFrame() 173 DCHECK_EQ(fp_spill_mask >> CTZ(fp_spill_mask), ~0u >> (32 - POPCOUNT(fp_spill_mask))); in RemoveFrame() 175 ___ Vpop(SRegisterList(vixl32::SRegister(first), POPCOUNT(fp_spill_mask))); in RemoveFrame() 176 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/compiler/optimizing/ |
D | code_generator.h | 288 return POPCOUNT(core_callee_save_mask_); in GetNumberOfCoreCalleeSaveRegisters() 325 return POPCOUNT(GetSlowPathSpills(locations, core_registers)); in GetNumberOfSlowPathSpills() 706 return POPCOUNT(fpu_spill_mask_) * GetCalleePreservedFPWidth(); in GetFpuSpillSize() 710 return POPCOUNT(core_spill_mask_) * GetWordSize(); in GetCoreSpillSize() 715 return (POPCOUNT(allocated_registers_.GetCoreRegisters() & core_callee_save_mask_) != 1) in HasAllocatedCalleeSaveRegisters() 716 || (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 | 435 if (POPCOUNT(i) < 2) { in TEST_F() 571 if (POPCOUNT(j) < 2) { in TEST_F() 810 uint32_t bits = POPCOUNT(kInterfaceDisallowed); in TEST_F() 960 uint32_t bits = POPCOUNT(kAccFlags); in TEST_F() 962 if (POPCOUNT(j) < 2) { in TEST_F() 1170 uint32_t bits = POPCOUNT(kInterfaceDisallowed); in TEST_F()
|
/art/runtime/gc/accounting/ |
D | space_bitmap.cc | 186 buffer_size += POPCOUNT(garbage); in SweepWalk()
|
/art/compiler/jni/quick/x86_64/ |
D | calling_convention_x86_64.cc | 257 kAlwaysSpilledMmxRegisters == POPCOUNT(kFpCalleeSpillMask & ~kNativeFpCalleeSpillMask)); in OutArgSize()
|
/art/runtime/interpreter/ |
D | interpreter_intrinsics.cc | 68 UNARY_INTRINSIC(MterpIntegerBitCount, POPCOUNT, GetVReg, SetI); 101 UNARY_INTRINSIC(MterpLongBitCount, POPCOUNT, GetVRegLong, SetI);
|
/art/compiler/jni/quick/arm64/ |
D | calling_convention_arm64.cc | 345 constexpr size_t lr_index = POPCOUNT(kCoreCalleeSpillMask) - 1u; in CalleeSaveRegisters()
|