Lines Matching defs:BitNo
22363 static SDValue getBT(SDValue Src, SDValue BitNo, const SDLoc &DL, SelectionDAG &DAG) {
22377 // shorter encoding. Since the former takes the modulo 32 of BitNo and the
22378 // latter takes the modulo 64, this is only valid if the 5th bit of BitNo is
22381 DAG.MaskedValueIsZero(BitNo, APInt(BitNo.getValueSizeInBits(), 32)))
22386 if (Src.getValueType() != BitNo.getValueType()) {
22390 if (BitNo.getOpcode() == ISD::AND && BitNo->hasOneUse())
22391 BitNo = DAG.getNode(ISD::AND, DL, Src.getValueType(),
22393 BitNo.getOperand(0)),
22395 BitNo.getOperand(1)));
22397 BitNo = DAG.getNode(ISD::ANY_EXTEND, DL, Src.getValueType(), BitNo);
22400 return DAG.getNode(X86ISD::BT, DL, MVT::i32, Src, BitNo);
23364 SDValue Src, BitNo;
23379 BitNo = Op0.getOperand(1);
23388 BitNo = AndLHS.getOperand(1);
23396 BitNo = DAG.getConstant(Log2_64_Ceil(AndRHSVal), dl,
23413 if (SDValue BT = getBT(Src, BitNo, dl, DAG)) {
48014 SDValue BitNo = DAG.getConstant(0, DL, Carry.getValueType());
48016 BitNo = Carry.getOperand(1);
48019 return getBT(Carry, BitNo, DL, DAG);
51221 SDValue BitNo = Src.getOperand(1);
51231 if (SDValue BT = getBT(Src, BitNo, dl, DAG))