Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp204 unsigned AndZeros = AndMask.logBase2(); in foldSelectICmpAnd() local
211 if (CreateAnd && ShouldNotVal && ValZeros != AndZeros) in foldSelectICmpAnd()
220 if (ValZeros > AndZeros) { in foldSelectICmpAnd()
222 V = Builder.CreateShl(V, ValZeros - AndZeros); in foldSelectICmpAnd()
223 } else if (ValZeros < AndZeros) { in foldSelectICmpAnd()
224 V = Builder.CreateLShr(V, AndZeros - ValZeros); in foldSelectICmpAnd()