Searched refs:AndRHSV (Results 1 – 3 of 3) 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()
131 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp() local134 if (AndRHSV.isPowerOf2()) { in OptAndOp()141 if ((AddRHS & (AndRHSV - 1)).isNullValue()) { in OptAndOp()146 if ((AddRHS & AndRHSV).isNullValue()) { // Bit is not set, noop in OptAndOp()