Searched refs:AndRHS (Results 1 – 10 of 10) sorted by relevance
989 if (ConstantInt *AndRHS = GetConstantInt(LHS->getOperand(1))) in calcZeroHeuristics() local990 if (AndRHS->getValue().isPowerOf2()) in calcZeroHeuristics()
351 ConstantInt *AndRHS, *XorRHS; in SimplifyDemandedUseBits() local354 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()358 Constant *AndC = ConstantInt::get(VTy, NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
143 const APInt *AndRHS; in foldSelectICmpAnd() local144 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd()147 AndMask = *AndRHS; in foldSelectICmpAnd()
3553 SDValue AndRHS = LHS->getOperand(1); in tryBFE() local3557 std::swap(AndLHS, AndRHS); in tryBFE()3560 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in tryBFE()
2307 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local2311 std::swap(AndLHS, AndRHS); in emitCompareAndBranch()2313 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
1701 } else if (auto *AndRHS = dyn_cast<ConstantSDNode>(Op1)) { in LowerAndToBTST() local1702 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST()
5115 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local5118 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC()5119 if (AndRHS->getAPIntValue().isPowerOf2() && in SimplifySetCC()5126 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC()5146 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local5147 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
10319 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode()10323 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
4987 Register AndRHS = MI.getOperand(2).getReg(); in matchNarrowBinopFeedingAnd() local5018 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd()
23000 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerAndToBT() local23001 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT()