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

References

lib/Support/APInt.cpp
 2311   return findLastSet(value, ZB_Max);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 2729     unsigned LastSet = findLastSet((uint64_t)ImmValue);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  871     unsigned LS = findLastSet(RImm);
 1001     unsigned LS = findLastSet(RImm);
lib/Target/SystemZ/SystemZISelLowering.cpp
  732       (SplatUndefZ & ~((uint64_t(1) << findLastSet(SplatBitsZ)) - 1));
lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
   97         unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  649     size = 1ULL << (llvm::findLastSet(size, llvm::ZB_Undefined) + 1);
  719   unsigned logCandidateNumElts = llvm::findLastSet(numElts, llvm::ZB_Undefined);
tools/clang/tools/extra/clangd/index/dex/PostingList.cpp
  136   unsigned Width = 1 + llvm::findLastSet(Delta) / BitsPerEncodingByte;
unittests/Support/MathExtrasTest.cpp
  118   EXPECT_EQ(0xFFULL, findLastSet(Z8));
  119   EXPECT_EQ(0xFFFFULL, findLastSet(Z16));
  120   EXPECT_EQ(0xFFFFFFFFULL, findLastSet(Z32));
  121   EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findLastSet(Z64));
  127   EXPECT_EQ(5u, findLastSet(NZ8));
  128   EXPECT_EQ(5u, findLastSet(NZ16));
  129   EXPECT_EQ(5u, findLastSet(NZ32));
  130   EXPECT_EQ(5u, findLastSet(NZ64));