Searched refs:PowerOf2Floor (Results 1 – 16 of 16) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 201 TEST(MathExtras, PowerOf2Floor) { in TEST() argument 202 EXPECT_EQ(0U, PowerOf2Floor(0U)); in TEST() 203 EXPECT_EQ(8U, PowerOf2Floor(8U)); in TEST() 204 EXPECT_EQ(4U, PowerOf2Floor(7U)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | Scheduler.h | 154 return llvm::PowerOf2Floor(NextInSequenceMask); in getNextInSequence() 167 return ResourceMask ^ llvm::PowerOf2Floor(ResourceMask); in computeResourceSizeMaskForGroup()
|
D | InstrBuilder.cpp | 96 NormalizedMask ^= PowerOf2Floor(NormalizedMask); in initializeUsedResources() 129 uint64_t Mask = RPC.first ^ PowerOf2Floor(RPC.first); in initializeUsedResources()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | FoldingSet.cpp | 315 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | FoldingSet.cpp | 313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
|
/external/llvm/lib/Support/ |
D | FoldingSet.cpp | 313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 617 inline uint64_t PowerOf2Floor(uint64_t A) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 639 inline uint64_t PowerOf2Floor(uint64_t A) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 652 inline uint64_t PowerOf2Floor(uint64_t A) {
|
/external/llvm/lib/MC/ |
D | MCAsmStreamer.cpp | 810 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1)); in EmitValueImpl()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 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()
|
D | SLPVectorizer.cpp | 4327 std::max((uint64_t)4, PowerOf2Floor(HorRdx.numReductionValues())); in canMatchHorizontalReduction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCAsmStreamer.cpp | 928 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1)); in EmitValueImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 4872 unsigned MaxVF = std::max<unsigned>(PowerOf2Floor(VL.size()), MinVF); in tryToVectorizeList() 5735 unsigned ReduxWidth = PowerOf2Floor(NumReducedVals); in tryToReduce() 5812 ReduxWidth = PowerOf2Floor(NumReducedVals - i); in tryToReduce()
|
D | LoopVectorize.cpp | 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 14870 SubvecElts = PowerOf2Floor(SubvecElts); in lower1BitVectorShuffle()
|