Searched refs:AndRHS (Results 1 – 10 of 10) sorted by relevance
985 if (ConstantInt *AndRHS = GetConstantInt(LHS->getOperand(1))) in calcZeroHeuristics() local986 if (AndRHS->getValue().isPowerOf2()) in calcZeroHeuristics()
358 ConstantInt *AndRHS, *XorRHS; in SimplifyDemandedUseBits() local361 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()365 Constant *AndC = ConstantInt::get(VTy, NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
3872 const APInt *AndRHS; in foldSelectBitTest() local3873 if (!match(CmpLHS, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectBitTest()3876 AndMask = *AndRHS; in foldSelectBitTest()
1769 SDValue AndRHS = LHS->getOperand(1); in tryBFE() local1773 std::swap(AndLHS, AndRHS); in tryBFE()1776 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in tryBFE()
2305 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local2309 std::swap(AndLHS, AndRHS); in emitCompareAndBranch()2311 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
1703 } else if (auto *AndRHS = dyn_cast<ConstantSDNode>(Op1)) { in LowerAndToBTST() local1704 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST()
5330 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local5333 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC()5334 if (AndRHS->getAPIntValue().isPowerOf2() && in SimplifySetCC()5341 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC()5360 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local5361 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
10864 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode()10868 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
5118 Register AndRHS = MI.getOperand(2).getReg(); in matchNarrowBinopFeedingAnd() local5149 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd()
23742 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerAndToBT() local23743 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT()