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

References

gen/lib/Target/Hexagon/HexagonGenDAGISel.inc
72622   return isPowerOf2_64(V) && Log2_64(V) < 32;
72631   return isPowerOf2_64(V) && Log2_64(V) >= 32;
72682   return isPowerOf2_64(NV) && Log2_64(NV) < 32;
72691   return isPowerOf2_64(NV) && Log2_64(NV) >= 32;
73059   return CurDAG->getTargetConstant(Log2_64(V), SDLoc(N), MVT::i32);
73074   return CurDAG->getTargetConstant(Log2_64(NV), SDLoc(N), MVT::i32);
gen/lib/Target/Mips/MipsGenDAGISel.inc
30623   return getImm(N, Log2_64((unsigned) N->getZExtValue()));
30629   return getImm(N, Log2_64((unsigned) (N->getZExtValue() >> 32)));
include/llvm/Support/Alignment.h
   80     ShiftValue = Log2_64(Value);
include/llvm/Support/MathExtras.h
  819   int Log2Z = Log2_64(X) + Log2_64(Y);
  819   int Log2Z = Log2_64(X) + Log2_64(Y);
  821   int Log2Max = Log2_64(Max);
include/llvm/Support/Parallel.h
  125                       llvm::Log2_64(std::distance(Start, End)) + 1);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 6041       unsigned Bits = Log2_64(EltSize);
lib/CodeGen/SelectionDAG/FastISel.cpp
  636       Imm = Log2_64(Imm);
 1978     Imm = Log2_64(Imm);
 1982     Imm = Log2_64(Imm);
lib/MC/MCParser/AsmParser.cpp
 4917       Pow2Alignment = Log2_64(Pow2Alignment);
 5714   Info.AsmRewrites->emplace_back(AOK_Align, IDLoc, 5, Log2_64(IntValue));
lib/Target/AArch64/AArch64ISelLowering.cpp
 4745                              DAG.getConstant(Log2_64(Mask), dl, MVT::i64),
 4761                              DAG.getConstant(Log2_64(Mask), dl, MVT::i64),
 9153     unsigned shift = Log2_64(NumBytes);
lib/Target/AArch64/AArch64InstrInfo.cpp
 4831     unsigned Imm = Log2_64(Mask);
lib/Target/AArch64/AArch64LegalizerInfo.cpp
  749     MIRBuilder.buildPtrMask(DstPtr, ListTmp, Log2_64(Align));
lib/Target/BPF/BPFInstrInfo.cpp
   76   unsigned IterationNum = CopyLen >> Log2_64(Alignment);
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
  106             : sbss[(Log2_64(AccessSize))];
  130               ? ELF::SHN_HEXAGON_SCOMMON + (Log2_64(AccessSize) + 1)
lib/Target/Mips/MipsAsmPrinter.cpp
  550       O << Log2_64(MO.getImm());
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
   68   uint64_t P2Align = Log2_64((*MI.memoperands_begin())->getAlignment());
lib/Target/X86/X86ISelLowering.cpp
10038       Log2_64(NonZeros) != NumOperands - 1) {
10042     unsigned Idx = Log2_64(NonZeros);
10059     unsigned Idx = Log2_64(NonZeros);
38004       unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1)));
38187                            DAG.getConstant(Log2_64(MulAmt1), DL, MVT::i8));
38194                            DAG.getConstant(Log2_64(MulAmt2), DL, MVT::i8));
38216                       DAG.getConstant(Log2_64(AbsMulAmt - 1), DL,
38225                            DAG.getConstant(Log2_64(AbsMulAmt + 1),
38235                            DAG.getConstant(Log2_64(AbsMulAmt - 2),
38242                            DAG.getConstant(Log2_64(AbsMulAmt + 2),
tools/clang/lib/AST/Type.cpp
  151     return NumElements.getActiveBits() + llvm::Log2_64(ElementSize);
tools/clang/lib/CodeGen/CGExpr.cpp
  763     assert(!AlignVal || (uint64_t)1 << llvm::Log2_64(AlignVal) == AlignVal);
  766         llvm::ConstantInt::get(Int8Ty, AlignVal ? llvm::Log2_64(AlignVal) : 1),
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
 1779     uint32_t Log2Align = llvm::Log2_64(std::max<elf_xword>(PHdr.p_align, 1));
 1816         (header.sh_addralign == 0) ? 0 : llvm::Log2_64(header.sh_addralign);
unittests/Support/AlignmentTest.cpp
  131     EXPECT_EQ(Log2(Align(Value)), Log2_64(Value));
  132     EXPECT_EQ(Log2(MaybeAlign(Value)), Log2_64(Value));