Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp883 unsigned AndZeros = AndRHS->getValue().logBase2(); in foldSelectICmpAnd() local
888 if (AndZeros >= ValC->getBitWidth()) in foldSelectICmpAnd()
892 if (ValZeros > AndZeros) in foldSelectICmpAnd()
893 V = Builder->CreateShl(V, ValZeros - AndZeros); in foldSelectICmpAnd()
894 else if (ValZeros < AndZeros) in foldSelectICmpAnd()
895 V = Builder->CreateLShr(V, AndZeros - ValZeros); in foldSelectICmpAnd()