Lines Matching refs:RHSC

4691   if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) {  in getARMCmp()  local
4692 unsigned C = RHSC->getZExtValue(); in getARMCmp()
4761 auto *RHSC = cast<ConstantSDNode>(RHS.getNode()); in getARMCmp() local
4762 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp()
18061 auto *RHSC = dyn_cast<ConstantSDNode>(RHS); in PerformBRCONDCombine() local
18065 (RHSC && RHSC->getZExtValue() == 0)) { in PerformBRCONDCombine()
18133 auto *RHSC = dyn_cast<ConstantSDNode>(RHS); in PerformCMOVCombine() local
18136 (RHSC && RHSC->getZExtValue() == 0)) { in PerformCMOVCombine()
19495 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
19496 if (RHSC < 0 && RHSC > -256) { in getARMIndexedAddressParts()
19499 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
19509 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
19510 if (RHSC < 0 && RHSC > -0x1000) { in getARMIndexedAddressParts()
19513 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
19552 int RHSC = (int)RHS->getZExtValue(); in getT2IndexedAddressParts() local
19553 if (RHSC < 0 && RHSC > -0x100) { // 8 bits. in getT2IndexedAddressParts()
19556 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
19558 } else if (RHSC > 0 && RHSC < 0x100) { // 8 bit, no zero. in getT2IndexedAddressParts()
19560 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
19583 int RHSC = (int)RHS->getZExtValue(); in getMVEIndexedAddressParts() local
19585 auto IsInRange = [&](int RHSC, int Limit, int Scale) { in getMVEIndexedAddressParts() argument
19586 if (RHSC < 0 && RHSC > -Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
19589 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
19591 } else if (RHSC > 0 && RHSC < Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
19593 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
19603 if (Alignment >= 2 && IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
19606 if (IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()
19610 IsInRange(RHSC, 0x80, 4)) in getMVEIndexedAddressParts()
19614 IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
19616 else if ((CanChangeType || VT == MVT::v16i8) && IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()