Lines Matching defs:Slct
13894 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp,
13911 if (Slct.getOpcode() == ISD::SELECT && !Slct.getOperand(0).hasOneUse())
13919 if ((Slct.getOpcode() != ISD::SELECT &&
13920 Slct.getOpcode() != RISCVISD::SELECT_CC) ||
13921 !Slct.hasOneUse())
13929 unsigned OpOffset = Slct.getOpcode() == RISCVISD::SELECT_CC ? 2 : 0;
13930 SDValue TrueVal = Slct.getOperand(1 + OpOffset);
13931 SDValue FalseVal = Slct.getOperand(2 + OpOffset);
13942 // Slct is now know to be the desired identity constant when CC is true.
13949 if (Slct.getOpcode() == RISCVISD::SELECT_CC)
13951 {Slct.getOperand(0), Slct.getOperand(1),
13952 Slct.getOperand(2), TrueVal, FalseVal});
13955 {Slct.getOperand(0), TrueVal, FalseVal});