Home
last modified time | relevance | path

Searched refs:LeadZ (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DKnownBits.cpp435 unsigned LeadZ = HasOverflow ? 0 : UMaxResult.countLeadingZeros(); in mul() local
499 Res.Zero.setHighBits(LeadZ); in mul()
539 unsigned LeadZ = LHS.countMinLeadingZeros(); in udiv() local
543 LeadZ = std::min(BitWidth, LeadZ + BitWidth - RHSMaxLeadingZeros - 1); in udiv()
545 Known.Zero.setHighBits(LeadZ); in udiv()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPInt.h495 unsigned LeadZ = countLeadingZerosSlowCase(); in isShiftedMask() local
496 return (Ones + LeadZ + countTrailingZeros()) == BitWidth; in isShiftedMask()
507 unsigned LeadZ = countLeadingZerosSlowCase(); in isShiftedMask() local
509 if ((Ones + LeadZ + TrailZ) != BitWidth) in isShiftedMask()