/external/v8/src/ |
D | bit-vector.cc | 47 return base::bits::CountPopulation(data_.inline_); in Count() 51 count += base::bits::CountPopulation(data_.ptr_[i]); in Count()
|
D | reglist.h | 25 return base::bits::CountPopulation(list); in NumRegs()
|
/external/v8/src/arm64/ |
D | utils-arm64.cc | 108 return static_cast<int>(base::bits::CountPopulation(value)); in CountSetBits() 111 base::bits::CountPopulation(static_cast<uint32_t>(value & 0xFFFFFFFFF))); in CountSetBits()
|
/external/v8/src/wasm/ |
D | wasm-external-refs.cc | 225 return base::bits::CountPopulation(ReadUnalignedValue<uint32_t>(data)); in word32_popcnt_wrapper() 229 return base::bits::CountPopulation(ReadUnalignedValue<uint64_t>(data)); in word64_popcnt_wrapper()
|
D | wasm-interpreter.cc | 386 return base::bits::CountPopulation(val); in ExecuteI32Popcnt() 402 return base::bits::CountPopulation(val); in ExecuteI64Popcnt()
|
/external/v8/src/base/ |
D | bits.h | 35 CountPopulation(T value) { in CountPopulation() function 121 return CountPopulation(static_cast<U>(~u & (u - 1u))); in CountTrailingZeros()
|
/external/v8/src/compiler/ |
D | common-operator.cc | 256 DCHECK_EQ(base::bits::CountPopulation(bit_mask_) - in InputIterator() 257 base::bits::CountPopulation(kEndMarker), in InputIterator() 290 return base::bits::CountPopulation(bit_mask_) - in CountReal() 291 base::bits::CountPopulation(kEndMarker); in CountReal()
|
/external/v8/src/compiler/mips64/ |
D | instruction-selector-mips64.cc | 509 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord32And() 538 uint32_t shift = base::bits::CountPopulation(~mask); in VisitWord32And() 559 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord64And() 592 uint32_t shift = base::bits::CountPopulation(~mask); in VisitWord64And() 676 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord32Shl() 706 unsigned mask_width = base::bits::CountPopulation(mask); in VisitWord32Shr() 768 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord64Shl() 799 unsigned mask_width = base::bits::CountPopulation(mask); in VisitWord64Shr()
|
D | code-generator-mips64.cc | 3440 int count = base::bits::CountPopulation(saves_fpu); in FinishFrame() 3448 int count = base::bits::CountPopulation(saves); in FinishFrame() 3496 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame() 3497 shrink_slots -= base::bits::CountPopulation(saves_fpu); in AssembleConstructFrame() 3506 DCHECK_EQ(kNumCalleeSavedFPU, base::bits::CountPopulation(saves_fpu)); in AssembleConstructFrame() 3512 DCHECK_EQ(kNumCalleeSaved, base::bits::CountPopulation(saves) + 1); in AssembleConstructFrame()
|
/external/v8/src/wasm/baseline/ |
D | liftoff-register.h | 242 return base::bits::CountPopulation(regs_); in GetNumRegsSet()
|
/external/v8/src/wasm/baseline/arm64/ |
D | liftoff-assembler-arm64.h | 74 if ((base::bits::CountPopulation(list) & 1) != 0) list |= padreg.bit(); in PadRegList() 79 if ((base::bits::CountPopulation(list) & 1) != 0) list |= fp_scratch.bit(); in PadVRegList()
|
/external/v8/src/compiler/ppc/ |
D | code-generator-ppc.cc | 2313 base::bits::CountPopulation(double_saves)); in FinishFrame() 2326 DCHECK(num_saves == base::bits::CountPopulation(saves)); in FinishFrame() 2423 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame() 2426 (kDoubleSize / kPointerSize) * base::bits::CountPopulation(saves_fp); in AssembleConstructFrame() 2433 DCHECK_EQ(kNumCalleeSavedDoubles, base::bits::CountPopulation(saves_fp)); in AssembleConstructFrame()
|
D | instruction-selector-ppc.cc | 420 int mask_width = base::bits::CountPopulation(value); in IsContiguousMask32() 433 int mask_width = base::bits::CountPopulation(value); in IsContiguousMask64()
|
/external/v8/src/compiler/mips/ |
D | instruction-selector-mips.cc | 403 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord32And() 436 uint32_t shift = base::bits::CountPopulation(~mask); in VisitWord32And() 489 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord32Shl() 519 unsigned mask_width = base::bits::CountPopulation(mask); in VisitWord32Shr()
|
D | code-generator-mips.cc | 3191 int count = base::bits::CountPopulation(saves_fpu); in FinishFrame() 3199 int count = base::bits::CountPopulation(saves); in FinishFrame() 3246 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame() 3247 shrink_slots -= 2 * base::bits::CountPopulation(saves_fpu); in AssembleConstructFrame() 3261 DCHECK_EQ(kNumCalleeSaved, base::bits::CountPopulation(saves) + 1); in AssembleConstructFrame()
|
/external/v8/src/compiler/arm64/ |
D | instruction-selector-arm64.cc | 858 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord32And() 899 uint64_t mask_width = base::bits::CountPopulation(mask); in VisitWord64And() 974 uint32_t mask_width = base::bits::CountPopulation(mask); in VisitWord32Shl() 1058 unsigned mask_width = base::bits::CountPopulation(mask); in VisitWord32Shr() 1102 unsigned mask_width = base::bits::CountPopulation(mask); in VisitWord64Shr()
|
/external/v8/src/compiler/s390/ |
D | code-generator-s390.cc | 2942 base::bits::CountPopulation(double_saves)); in FinishFrame() 2951 DCHECK(num_saves == base::bits::CountPopulation(saves)); in FinishFrame() 3036 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame() 3039 (kDoubleSize / kPointerSize) * base::bits::CountPopulation(saves_fp); in AssembleConstructFrame() 3046 DCHECK_EQ(kNumCalleeSavedDoubles, base::bits::CountPopulation(saves_fp)); in AssembleConstructFrame()
|
D | instruction-selector-s390.cc | 839 int mask_width = base::bits::CountPopulation(value); 852 int mask_width = base::bits::CountPopulation(value); in IsContiguousMask64()
|
/external/v8/src/compiler/x64/ |
D | code-generator-x64.cc | 3039 const uint32_t saves_fp_count = base::bits::CountPopulation(saves_fp); in FinishFrame() 3131 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame() 3133 base::bits::CountPopulation(saves_fp) * (kQuadWordSize / kPointerSize); in AssembleConstructFrame() 3141 const uint32_t saves_fp_count = base::bits::CountPopulation(saves_fp); in AssembleConstructFrame() 3185 const uint32_t saves_fp_count = base::bits::CountPopulation(saves_fp); in AssembleReturn()
|
/external/v8/src/compiler/arm/ |
D | code-generator-arm.cc | 3007 DCHECK_EQ((last - first + 1), base::bits::CountPopulation(saves_fp)); in FinishFrame() 3014 frame->AllocateSavedCalleeRegisterSlots(base::bits::CountPopulation(saves)); in FinishFrame() 3099 shrink_slots -= base::bits::CountPopulation(saves); in AssembleConstructFrame() 3101 shrink_slots -= 2 * base::bits::CountPopulation(saves_fp); in AssembleConstructFrame() 3112 DCHECK_EQ((last - first + 1), base::bits::CountPopulation(saves_fp)); in AssembleConstructFrame()
|
D | instruction-selector-arm.cc | 815 uint32_t width = base::bits::CountPopulation(value); in VisitWord32And() 970 uint32_t width = base::bits::CountPopulation(value); in VisitWord32Shr()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 1282 unsigned cnt = base::bits::CountPopulation(src); in Move() 1308 unsigned cnt = base::bits::CountPopulation(src); in Move()
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 1244 unsigned pop = base::bits::CountPopulation(src); in Move() 1263 unsigned pop = base::bits::CountPopulation(src); in Move()
|
/external/v8/src/ppc/ |
D | macro-assembler-ppc.cc | 347 int16_t num_to_push = base::bits::CountPopulation(regs); in MultiPush() 372 int16_t num_to_push = base::bits::CountPopulation(dregs); in MultiPushDoubles()
|
/external/v8/src/s390/ |
D | macro-assembler-s390.cc | 381 int16_t num_to_push = base::bits::CountPopulation(regs); in MultiPush() 406 int16_t num_to_push = base::bits::CountPopulation(dregs); in MultiPushDoubles()
|