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()
356 ConstantInt *AndRHS, *XorRHS; in SimplifyDemandedUseBits() local359 match(LHSInst->getOperand(1), m_ConstantInt(AndRHS)) && in SimplifyDemandedUseBits()363 Constant *AndC = ConstantInt::get(VTy, NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits()
142 const APInt *AndRHS; in foldSelectICmpAnd() local143 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd()146 AndMask = *AndRHS; in foldSelectICmpAnd()
3388 SDValue AndRHS = LHS->getOperand(1); in tryBFE() local3392 std::swap(AndLHS, AndRHS); in tryBFE()3395 ConstantSDNode *MaskCnst = dyn_cast<ConstantSDNode>(AndRHS); in tryBFE()
2306 const Value *AndRHS = AI->getOperand(1); in emitCompareAndBranch() local2310 std::swap(AndLHS, AndRHS); in emitCompareAndBranch()2312 if (const auto *C = dyn_cast<ConstantInt>(AndRHS)) in emitCompareAndBranch()
1700 } else if (auto *AndRHS = dyn_cast<ConstantSDNode>(Op1)) { in LowerAndToBTST() local1701 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBTST()
5040 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local5045 unsigned ShCt = AndRHS->getAPIntValue().logBase2(); in SimplifySetCC()5046 if (AndRHS->getAPIntValue().isPowerOf2() && in SimplifySetCC()5052 } else if (Cond == ISD::SETEQ && C1 == AndRHS->getAPIntValue()) { in SimplifySetCC()5072 if (auto *AndRHS = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in SimplifySetCC() local5073 const APInt &AndRHSC = AndRHS->getAPIntValue(); in SimplifySetCC()
9982 if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(N3.getOperand(1))) { in getNode()9986 if ((AndRHS->getValue() & (NumBits-1)) == NumBits-1) in getNode()
4825 Register AndRHS = MI.getOperand(2).getReg(); in matchNarrowBinopFeedingAnd() local4856 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd()
22819 ConstantSDNode *AndRHS = cast<ConstantSDNode>(Op1); in LowerAndToBT() local22820 uint64_t AndRHSVal = AndRHS->getZExtValue(); in LowerAndToBT()