Lines Matching refs:CRHS

11406   const ConstantSDNode *CRHS) const {  in splitBinaryBitConstantOp()
11407 uint64_t Val = CRHS->getZExtValue(); in splitBinaryBitConstantOp()
11414 (CRHS->hasOneUse() && !TII->isInlineConstant(CRHS->getAPIntValue()))) { in splitBinaryBitConstantOp()
11515 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS); in performAndCombine() local
11516 if (VT == MVT::i64 && CRHS) { in performAndCombine()
11518 = splitBinaryBitConstantOp(DCI, SDLoc(N), ISD::AND, LHS, CRHS)) in performAndCombine()
11522 if (CRHS && VT == MVT::i32) { in performAndCombine()
11527 uint64_t Mask = CRHS->getZExtValue(); in performAndCombine()
11533 unsigned NB = CRHS->getAPIntValue().countr_zero(); in performAndCombine()
11545 DAG.getConstant(NB, SDLoc(CRHS), MVT::i32)); in performAndCombine()
12290 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS.getOperand(1)); in performOrCombine() local
12291 if (!CLHS || !CRHS) in performOrCombine()
12297 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask; in performOrCombine()
12422 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(N->getOperand(1)); in performOrCombine() local
12423 if (CRHS) { in performOrCombine()
12426 N->getOperand(0), CRHS)) in performOrCombine()
12441 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS); in performXorCombine() local
12445 if (CRHS && VT == MVT::i64) { in performXorCombine()
12447 = splitBinaryBitConstantOp(DCI, SDLoc(N), ISD::XOR, LHS, CRHS)) in performXorCombine()
12455 if (CRHS && CRHS->getAPIntValue().isSignMask() && in performXorCombine()
14513 auto CRHS = dyn_cast<ConstantSDNode>(RHS); in performSetCCCombine() local
14514 if (!CRHS) { in performSetCCCombine()
14515 CRHS = dyn_cast<ConstantSDNode>(LHS); in performSetCCCombine()
14516 if (CRHS) { in performSetCCCombine()
14522 if (CRHS) { in performSetCCCombine()
14529 if ((CRHS->isAllOnes() && in performSetCCCombine()
14531 (CRHS->isZero() && in performSetCCCombine()
14535 if ((CRHS->isAllOnes() && in performSetCCCombine()
14537 (CRHS->isZero() && in performSetCCCombine()
14542 const APInt &CRHSVal = CRHS->getAPIntValue(); in performSetCCCombine()
14576 const ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); in performSetCCCombine() local
14577 if (!CRHS) in performSetCCCombine()
14580 const APFloat &APF = CRHS->getValueAPF(); in performSetCCCombine()