Searched refs:XorRHS (Results 1 – 2 of 2) sorted by relevance
1081 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; in visitAdd() local1082 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()1088 if (XorRHS->getValue() == -RHSVal) { in visitAdd()1091 else if (XorRHS->getValue().isPowerOf2()) in visitAdd()1092 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()1109 if (LHS->hasOneUse() && (XorRHS->getValue()+1).isPowerOf2()) { in visitAdd()1114 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue()) in visitAdd()1115 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()1120 if (XorRHS->getValue().isSignBit()) in visitAdd()1122 ConstantExpr::getXor(XorRHS, CI)); in visitAdd()
401 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1)); in SimplifyDemandedUseBits() local410 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue()); in SimplifyDemandedUseBits()