Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:XorRHS

941     Value *XorLHS = 0; ConstantInt *XorRHS = 0;
942 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) {
948 if (XorRHS->getValue() == -RHSVal) {
951 else if (XorRHS->getValue().isPowerOf2())
952 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1;
969 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) {
974 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue())
975 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI),
980 if (XorRHS->getValue().isSignBit())
982 ConstantExpr::getXor(XorRHS, CI));