Lines Matching defs:BitNo
21980 static SDValue getBT(SDValue Src, SDValue BitNo, const SDLoc &DL, SelectionDAG &DAG) {
21994 // shorter encoding. Since the former takes the modulo 32 of BitNo and the
21995 // latter takes the modulo 64, this is only valid if the 5th bit of BitNo is
21998 DAG.MaskedValueIsZero(BitNo, APInt(BitNo.getValueSizeInBits(), 32)))
22003 if (Src.getValueType() != BitNo.getValueType()) {
22007 if (BitNo.getOpcode() == ISD::AND && BitNo->hasOneUse())
22008 BitNo = DAG.getNode(ISD::AND, DL, Src.getValueType(),
22010 BitNo.getOperand(0)),
22012 BitNo.getOperand(1)));
22014 BitNo = DAG.getNode(ISD::ANY_EXTEND, DL, Src.getValueType(), BitNo);
22017 return DAG.getNode(X86ISD::BT, DL, MVT::i32, Src, BitNo);
22982 SDValue Src, BitNo;
22997 BitNo = Op0.getOperand(1);
23006 BitNo = AndLHS.getOperand(1);
23014 BitNo = DAG.getConstant(Log2_64_Ceil(AndRHSVal), dl,
23031 if (SDValue BT = getBT(Src, BitNo, dl, DAG)) {
46802 SDValue BitNo = DAG.getConstant(0, DL, Carry.getValueType());
46804 BitNo = Carry.getOperand(1);
46807 return getBT(Carry, BitNo, DL, DAG);
50002 SDValue BitNo = Src.getOperand(1);
50012 if (SDValue BT = getBT(Src, BitNo, dl, DAG))