reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/GlobalISel/CombinerHelper.cpp
  853       NewTy = LLT::scalar(PowerOf2Floor(NewTy.getSizeInBits() - 1));
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 2067         uint64_t LargeSplitSize = PowerOf2Floor(DstTy.getSizeInBits());
 2149     uint64_t LargeSplitSize = PowerOf2Floor(SrcTy.getSizeInBits());
lib/MC/MCAsmStreamer.cpp
  999       unsigned EmissionSize = PowerOf2Floor(std::min(Remaining, Size - 1));
lib/MCA/InstrBuilder.cpp
  118       UsedResourceGroups |= PowerOf2Floor(A.first);
  128       NormalizedMask ^= PowerOf2Floor(NormalizedMask);
  162       uint64_t Mask = RPC.first ^ PowerOf2Floor(RPC.first);
lib/Support/FoldingSet.cpp
  314   GrowBucketCount(PowerOf2Floor(EltCount));
lib/Target/X86/X86ISelLowering.cpp
16874   SubvecElts = PowerOf2Floor(SubvecElts);
lib/Transforms/Vectorize/LoopVectorize.cpp
 5190     unsigned TmpIC = PowerOf2Floor((TargetNumRegisters - LoopInvariantRegs) / MaxLocalUsers);
 5194           PowerOf2Floor((TargetNumRegisters - LoopInvariantRegs - 1) /
 5253         std::min(IC, (unsigned)PowerOf2Floor(SmallLoopCost / LoopCost));
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5519   unsigned MaxVF = std::max<unsigned>(PowerOf2Floor(VL.size()), MinVF);
 6384     unsigned ReduxWidth = PowerOf2Floor(NumReducedVals);
 6472       ReduxWidth = PowerOf2Floor(NumReducedVals - i);
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1633       unsigned AllocatorAlign = llvm::PowerOf2Floor(std::min<uint64_t>(
tools/lld/ELF/SyntheticSections.cpp
 2646         std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
 3089         std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
   60       llvm::PowerOf2Floor((bufsize + page_size - 1) / page_size));
   65       llvm::PowerOf2Floor((metabufsize + page_size - 1) / page_size));
unittests/Support/MathExtrasTest.cpp
  201   EXPECT_EQ(0U, PowerOf2Floor(0U));
  202   EXPECT_EQ(8U, PowerOf2Floor(8U));
  203   EXPECT_EQ(4U, PowerOf2Floor(7U));