Home
last modified time | relevance | path

Searched refs:PowerOf2Floor (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp201 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/
DScheduler.h154 return llvm::PowerOf2Floor(NextInSequenceMask); in getNextInSequence()
167 return ResourceMask ^ llvm::PowerOf2Floor(ResourceMask); in computeResourceSizeMaskForGroup()
DInstrBuilder.cpp96 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/
DFoldingSet.cpp315 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DFoldingSet.cpp313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
/external/llvm/lib/Support/
DFoldingSet.cpp313 GrowBucketCount(PowerOf2Floor(EltCount)); in reserve()
/external/llvm/include/llvm/Support/
DMathExtras.h617 inline uint64_t PowerOf2Floor(uint64_t A) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h639 inline uint64_t PowerOf2Floor(uint64_t A) {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h652 inline uint64_t PowerOf2Floor(uint64_t A) {
/external/llvm/lib/MC/
DMCAsmStreamer.cpp810 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1)); in EmitValueImpl()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp5431 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()
DSLPVectorizer.cpp4327 std::max((uint64_t)4, PowerOf2Floor(HorRdx.numReductionValues())); in canMatchHorizontalReduction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCAsmStreamer.cpp928 unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1)); in EmitValueImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4872 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()
DLoopVectorize.cpp5192 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/
DX86ISelLowering.cpp14870 SubvecElts = PowerOf2Floor(SubvecElts); in lower1BitVectorShuffle()