Searched refs:PowerOf2Floor (Results 1 – 15 of 15) sorted by relevance
201 TEST(MathExtras, PowerOf2Floor) { in TEST() argument202 EXPECT_EQ(0U, PowerOf2Floor(0U)); in TEST()203 EXPECT_EQ(8U, PowerOf2Floor(8U)); in TEST()204 EXPECT_EQ(4U, PowerOf2Floor(7U)); in TEST()
154 return llvm::PowerOf2Floor(NextInSequenceMask); in getNextInSequence()167 return ResourceMask ^ llvm::PowerOf2Floor(ResourceMask); in computeResourceSizeMaskForGroup()
96 NormalizedMask ^= PowerOf2Floor(NormalizedMask); in initializeUsedResources()129 uint64_t Mask = RPC.first ^ PowerOf2Floor(RPC.first); in initializeUsedResources()
315 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
617 inline uint64_t PowerOf2Floor(uint64_t A) {
639 inline uint64_t PowerOf2Floor(uint64_t A) {
652 inline uint64_t PowerOf2Floor(uint64_t A) {
810 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1)); in EmitValueImpl()
5431 unsigned IC = PowerOf2Floor((TargetNumRegisters - R.LoopInvariantRegs) / in selectInterleaveCount()5436 IC = PowerOf2Floor((TargetNumRegisters - R.LoopInvariantRegs - 1) / in selectInterleaveCount()5483 std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost)); in selectInterleaveCount()
4327 std::max((uint64_t)4, PowerOf2Floor(HorRdx.numReductionValues())); in canMatchHorizontalReduction()
928 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1)); in EmitValueImpl()
5192 unsigned IC = PowerOf2Floor((TargetNumRegisters - R.LoopInvariantRegs) / in selectInterleaveCount()5197 IC = PowerOf2Floor((TargetNumRegisters - R.LoopInvariantRegs - 1) / in selectInterleaveCount()5244 std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost)); in selectInterleaveCount()
14870 SubvecElts = PowerOf2Floor(SubvecElts); in lower1BitVectorShuffle()