Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp239 const APInt &AndRHSV = cast<ConstantInt>(AndRHS)->getValue(); in OptAndOp() local
242 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp195 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp() local
198 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()