Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp203 unsigned ValZeros = ValC.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()