Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp295 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() local
297 AndRHS->getValue() & ShrMask); in OptAndOp()
299 if (CI->getValue() == ShrMask) in OptAndOp()
316 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() local
318 AndRHS->getValue() & ShrMask); in OptAndOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp250 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() local
251 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShrMask); in OptAndOp()
253 if (CI->getValue() == ShrMask) in OptAndOp()
270 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() local
271 Constant *C = Builder->getInt(AndRHS->getValue() & ShrMask); in OptAndOp()