Searched refs:AndRHSV (Results 1 - 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp239 const APInt &AndRHSV = cast<ConstantInt>(AndRHS)->getValue(); local
242 if (AndRHSV.isPowerOf2()) {
248 // Check to see if any bits below the one bit set in AndRHSV are set.
249 if ((AddRHS & (AndRHSV-1)) == 0) {
251 // the bit specified by AndRHSV. If that bit is set, the effect of
254 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp195 const APInt &AndRHSV = AndRHS->getValue(); local
198 if (AndRHSV.isPowerOf2()) {
204 // Check to see if any bits below the one bit set in AndRHSV are set.
205 if ((AddRHS & (AndRHSV-1)) == 0) {
207 // the bit specified by AndRHSV. If that bit is set, the effect of
210 if ((AddRHS & AndRHSV) == 0) { // Bit is not set, noop

Completed in 181 milliseconds