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

References

lib/Support/APInt.cpp
 2317   return findFirstSet(value, ZB_Max);
lib/Target/AMDGPU/GCNRegBankReassign.cpp
  456   unsigned Bank = findFirstSet(Mask);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 2599   unsigned BitNum = findFirstSet(x);
 2728     unsigned FirstSet = findFirstSet((uint64_t)ImmValue);
lib/Target/RISCV/Utils/RISCVMatInt.cpp
   68   int ShiftAmount = 12 + findFirstSet((uint64_t)Hi52);
lib/Target/SystemZ/SystemZISelLowering.cpp
  730       (SplatUndefZ & ((uint64_t(1) << findFirstSet(SplatBitsZ)) - 1));
lib/Target/SystemZ/SystemZInstrInfo.cpp
 1559   unsigned First = findFirstSet(Mask);
 1563     Length = findFirstSet(Top);
lib/Target/X86/X86InstrInfo.cpp
 1639       unsigned AltIdx = findFirstSet((ZMask | (1 << DstIdx)) ^ 15);
unittests/Support/MathExtrasTest.cpp
   98   EXPECT_EQ(0xFFULL, findFirstSet(Z8));
   99   EXPECT_EQ(0xFFFFULL, findFirstSet(Z16));
  100   EXPECT_EQ(0xFFFFFFFFULL, findFirstSet(Z32));
  101   EXPECT_EQ(0xFFFFFFFFFFFFFFFFULL, findFirstSet(Z64));
  107   EXPECT_EQ(1u, findFirstSet(NZ8));
  108   EXPECT_EQ(1u, findFirstSet(NZ16));
  109   EXPECT_EQ(1u, findFirstSet(NZ32));
  110   EXPECT_EQ(1u, findFirstSet(NZ64));
utils/TableGen/CodeGenDAGPatterns.h
  154           return Count + findFirstSet(W);
  162           return Count + findFirstSet(W);