Searched refs:AndRHSV (Results 1 – 2 of 2) sorted by relevance
239 const APInt &AndRHSV = cast<ConstantInt>(AndRHS)->getValue(); in OptAndOp() local242 if (AndRHSV.isPowerOf2()) { in OptAndOp()249 if ((AddRHS & (AndRHSV-1)) == 0) { in OptAndOp()254 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop in OptAndOp()
195 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp() local198 if (AndRHSV.isPowerOf2()) { in OptAndOp()205 if ((AddRHS & (AndRHSV-1)) == 0) { in OptAndOp()210 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop in OptAndOp()