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

References

include/llvm/ADT/DenseSet.h
   70       : DenseSetImpl(PowerOf2Ceil(Elems.size())) {
lib/Analysis/ValueTracking.cpp
  939   if (!(ShiftAmtKZ & (PowerOf2Ceil(BitWidth) - 1)) &&
  940       !(ShiftAmtKO & (PowerOf2Ceil(BitWidth) - 1))) {
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 3720     unsigned NewLen = PowerOf2Ceil(Len);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
17457     NearestPow2 = PowerOf2Ceil(MaxIndex);
lib/IR/DataLayout.cpp
  563     Alignment = PowerOf2Ceil(Alignment);
  574    Alignment = PowerOf2Ceil(Alignment);
lib/Object/COFFObjectFile.cpp
  165   return std::min(uint64_t(32), PowerOf2Ceil(Symb.getValue()));
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 1371   unsigned LoNumElts = PowerOf2Ceil((NumElts + 1) / 2);
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
 1161     return sizeToSubRegIndex(PowerOf2Ceil(Size));
lib/Target/X86/X86ISelDAGToDAG.cpp
 3806     ZExtWidth = PowerOf2Ceil(std::max(ZExtWidth, 8U));
lib/Target/X86/X86ISelLowering.cpp
31457   Width = PowerOf2Ceil(std::max(Width, 8U));
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  635       PowerOf2Ceil(OperandRange.getUnsignedMax().getActiveBits()), 8);
tools/lld/COFF/Chunks.cpp
  648   setAlignment(std::min(32U, uint32_t(PowerOf2Ceil(sym.getValue()))));
tools/lldb/source/Expression/IRInterpreter.cpp
  158       type_size = PowerOf2Ceil(type_size);
unittests/Support/MathExtrasTest.cpp
  195   EXPECT_EQ(0U, PowerOf2Ceil(0U));
  196   EXPECT_EQ(8U, PowerOf2Ceil(8U));
  197   EXPECT_EQ(8U, PowerOf2Ceil(7U));