Home
last modified time | relevance | path

Searched refs:AndRHSV (Results 1 – 3 of 3) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp131 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp() local
134 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()