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

Declarations

include/llvm/Support/Alignment.h
   46   friend unsigned Log2(Align);

References

include/llvm/Support/Alignment.h
  210   return Log2(A.getValue());
lib/CodeGen/MachineBasicBlock.cpp
  331     OS << "align " << Log2(getAlignment());
lib/IR/ConstantFold.cpp
 1174             unsigned SrcWidth = std::min(DstWidth, Log2(*GVAlign));
lib/IR/DataLayout.cpp
  491   assert(Log2(abi_align) < 16 && Log2(pref_align) < 16 && "Alignment too big");
  491   assert(Log2(abi_align) < 16 && Log2(pref_align) < 16 && "Alignment too big");
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
 1273   Out.kernarg_segment_alignment = Log2(std::max(Align(16), MaxKernArgAlign));
lib/Target/ARM/ARMBasicBlockInfo.h
   34   if (KnownBits < Log2(Alignment))
  105     return std::max(Log2(std::max(PostAlign, Align)), internalKnownBits());
lib/Target/ARM/ARMConstantIslandPass.cpp
  339              << " ua=" << unsigned(BBI.Unalign) << " pa=" << Log2(BBI.PostAlign)
  498   const unsigned MaxLogAlign = Log2(MaxAlign);
  696   BBInfo.front().KnownBits = Log2(MF->getAlignment());
 1051       UserOffset += Growth + UnknownPadding(MF->getAlignment(), Log2(CPEAlign));
 1340                     << " la=" << Log2(Align) << " kb=" << KnownBits
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  194     unsigned LogA = Log2(BoundAlignment);
lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
  273   S->EmitBundleAlignMode(Log2(MIPS_NACL_BUNDLE_ALIGN));
lib/Target/Mips/MipsConstantIslandPass.cpp
  546   SmallVector<MachineBasicBlock::iterator, 8> InsPoint(Log2(MaxAlign) + 1,
  575     for (unsigned a = LogAlign + 1; a <= Log2(MaxAlign); ++a)
 1265                     << " la=" << Log2(Align) << '\n');
lib/Target/SystemZ/SystemZLongBranch.cpp
  182   if (Log2(Block.Alignment) > Position.KnownBits) {
  187     Position.KnownBits = Log2(Block.Alignment);
  278   BlockPosition Position(Log2(MF->getAlignment()));
  342   BlockPosition Position(Log2(MF->getAlignment()));
  443   BlockPosition Position(Log2(MF->getAlignment()));
unittests/Support/AlignmentTest.cpp
  131     EXPECT_EQ(Log2(Align(Value)), Log2_64(Value));