Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp226 unsigned MinLeadingZeros = LHS.countMinLeadingZeros(); in lshr() local
230 MinLeadingZeros += RHS.getMinValue().getZExtValue(); in lshr()
231 MinLeadingZeros = std::min(MinLeadingZeros, BitWidth); in lshr()
234 Known.Zero.setHighBits(MinLeadingZeros); in lshr()
251 unsigned MinLeadingZeros = LHS.countMinLeadingZeros(); in ashr() local
256 if (MinLeadingZeros) { in ashr()
257 MinLeadingZeros += RHS.getMinValue().getZExtValue(); in ashr()
258 MinLeadingZeros = std::min(MinLeadingZeros, BitWidth); in ashr()
266 Known.Zero.setHighBits(MinLeadingZeros); in ashr()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1794 unsigned MinLeadingZeros = KB->getKnownZeroes(ExtSrc).countLeadingOnes(); in matchCombineShlOfExtend() local
1795 return MinLeadingZeros >= ShiftAmt; in matchCombineShlOfExtend()