Lines Matching defs:CRHS
11727 const ConstantSDNode *CRHS) const {
11728 uint64_t Val = CRHS->getZExtValue();
11735 (CRHS->hasOneUse() && !TII->isInlineConstant(CRHS->getAPIntValue()))) {
11839 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS);
11840 if (VT == MVT::i64 && CRHS) {
11842 splitBinaryBitConstantOp(DCI, SDLoc(N), ISD::AND, LHS, CRHS))
11846 if (CRHS && VT == MVT::i32) {
11851 uint64_t Mask = CRHS->getZExtValue();
11857 unsigned NB = CRHS->getAPIntValue().countr_zero();
11869 DAG.getConstant(NB, SDLoc(CRHS), MVT::i32));
12613 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS.getOperand(1));
12614 if (!CLHS || !CRHS)
12621 (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask;
12745 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(N->getOperand(1));
12746 if (CRHS) {
12748 N->getOperand(0), CRHS))
12763 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS);
12767 if (CRHS && VT == MVT::i64) {
12769 splitBinaryBitConstantOp(DCI, SDLoc(N), ISD::XOR, LHS, CRHS))
12777 if (CRHS && CRHS->getAPIntValue().isSignMask() &&
14132 auto *CRHS = dyn_cast<ConstantSDNode>(RHS);
14133 if (!CRHS)
14138 uint64_t Val = CRHS->getZExtValue();
14966 auto *CRHS = dyn_cast<ConstantSDNode>(RHS);
14967 if (!CRHS) {
14968 CRHS = dyn_cast<ConstantSDNode>(LHS);
14969 if (CRHS) {
14975 if (CRHS) {
14982 if ((CRHS->isAllOnes() &&
14984 (CRHS->isZero() &&
14988 if ((CRHS->isAllOnes() &&
14990 (CRHS->isZero() &&
14995 const APInt &CRHSVal = CRHS->getAPIntValue();
15030 const ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS);
15031 if (!CRHS)
15034 const APFloat &APF = CRHS->getValueAPF();