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

References

include/llvm/Support/KnownBits.h
  169       return countMinLeadingZeros();
lib/Analysis/InstructionSimplify.cpp
 1327     const unsigned EffWidthY = Width - YKnown.countMinLeadingZeros();
 2034     const unsigned EffWidthY = Width - YKnown.countMinLeadingZeros();
 2038       const unsigned EffWidthX = Width - XKnown.countMinLeadingZeros();
lib/Analysis/ValueTracking.cpp
  356   unsigned LeadZ =  std::max(Known.countMinLeadingZeros() +
  357                              Known2.countMinLeadingZeros(),
  834         Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros());
  855           Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros() + 1);
  857           Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros());
 1046     unsigned LeadZ = Known2.countMinLeadingZeros();
 1085         MaxHighZeros = std::max(Known.countMinLeadingZeros(),
 1086                                 Known2.countMinLeadingZeros());
 1099           std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 1099           std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 1285         std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 1285         std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 1551           LeadingKnown = std::max(Known.countMinLeadingZeros(),
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  199     unsigned KnownZeroHigh = Known2.countMinLeadingZeros();
  203     KnownZeroHigh = std::min(KnownZeroHigh, Known2.countMinLeadingZeros());
  248         std::max(Known.countMinLeadingZeros() + Known2.countMinLeadingZeros(),
  248         std::max(Known.countMinLeadingZeros() + Known2.countMinLeadingZeros(),
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
10631     if (Known.getBitWidth() - Known.countMinLeadingZeros() <= Log2_32(Size)) {
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2727     unsigned LeadZ =  std::max(Known.countMinLeadingZeros() +
 2728                                Known2.countMinLeadingZeros(),
 2741     unsigned LeadZ = Known2.countMinLeadingZeros();
 3133         std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 3133         std::max(Known.countMinLeadingZeros(), Known2.countMinLeadingZeros());
 3248     unsigned LeadZero = Known.countMinLeadingZeros();
 3249     LeadZero = std::max(LeadZero, Known2.countMinLeadingZeros());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  847       unsigned NumZeroBits = LOI->Known.countMinLeadingZeros();
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  415   return ScalarSize - Known.countMinLeadingZeros();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
   54   return VT.getSizeInBits() - Known.countMinLeadingZeros();
 3050     unsigned LZ = Known.countMinLeadingZeros();
 3225           (Known.getBitWidth() - Known.countMinLeadingZeros() <= Log2_32(Size))) {
 4462       unsigned LHSValBits = 24 - LHSKnown.countMinLeadingZeros();
 4463       unsigned RHSValBits = 24 - RHSKnown.countMinLeadingZeros();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1258   return Known.countMinLeadingZeros() >= IterCount;
lib/Target/X86/X86ISelLowering.cpp
19420   if ((InNumEltBits - NumPackedZeroBits) <= Known.countMinLeadingZeros())
20385         if (Known.countMinLeadingZeros() < BitWidth - AndBitWidth)
31566     if (Known.countMinLeadingZeros() < BitWidth)
41149   unsigned NumLeadingZeroBits = Known.countMinLeadingZeros();
44175   unsigned NumZeros = Known.countMinLeadingZeros();
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1220                                 : Known.countMinLeadingZeros();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3554         unsigned MinLeadZero = Known.countMinLeadingZeros();
 3565         unsigned MinLeadZero = Known.countMinLeadingZeros();
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  651     unsigned Leaders = Known2.countMinLeadingZeros();
lib/Transforms/InstCombine/InstructionCombining.cpp
 2609   unsigned LeadingKnownZeros = Known.countMinLeadingZeros();
lib/Transforms/Utils/BypassSlowDivision.cpp
  244   if (Known.countMinLeadingZeros() >= HiBits)