Lines Matching defs:Slct
13204 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp,
13221 if (Slct.getOpcode() == ISD::SELECT && !Slct.getOperand(0).hasOneUse())
13229 if ((Slct.getOpcode() != ISD::SELECT &&
13230 Slct.getOpcode() != RISCVISD::SELECT_CC) ||
13231 !Slct.hasOneUse())
13239 unsigned OpOffset = Slct.getOpcode() == RISCVISD::SELECT_CC ? 2 : 0;
13240 SDValue TrueVal = Slct.getOperand(1 + OpOffset);
13241 SDValue FalseVal = Slct.getOperand(2 + OpOffset);
13252 // Slct is now know to be the desired identity constant when CC is true.
13259 if (Slct.getOpcode() == RISCVISD::SELECT_CC)
13261 {Slct.getOperand(0), Slct.getOperand(1),
13262 Slct.getOperand(2), TrueVal, FalseVal});
13265 {Slct.getOperand(0), TrueVal, FalseVal});