Lines Matching refs:RHSC

4625   if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) {  in getARMCmp()  local
4626 unsigned C = RHSC->getZExtValue(); in getARMCmp()
4695 auto *RHSC = cast<ConstantSDNode>(RHS.getNode()); in getARMCmp() local
4696 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp()
17153 auto *RHSC = dyn_cast<ConstantSDNode>(RHS); in PerformBRCONDCombine() local
17157 (RHSC && RHSC->getZExtValue() == 0)) { in PerformBRCONDCombine()
17225 auto *RHSC = dyn_cast<ConstantSDNode>(RHS); in PerformCMOVCombine() local
17228 (RHSC && RHSC->getZExtValue() == 0)) { in PerformCMOVCombine()
18522 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
18523 if (RHSC < 0 && RHSC > -256) { in getARMIndexedAddressParts()
18526 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
18536 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
18537 if (RHSC < 0 && RHSC > -0x1000) { in getARMIndexedAddressParts()
18540 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
18579 int RHSC = (int)RHS->getZExtValue(); in getT2IndexedAddressParts() local
18580 if (RHSC < 0 && RHSC > -0x100) { // 8 bits. in getT2IndexedAddressParts()
18583 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
18585 } else if (RHSC > 0 && RHSC < 0x100) { // 8 bit, no zero. in getT2IndexedAddressParts()
18587 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
18610 int RHSC = (int)RHS->getZExtValue(); in getMVEIndexedAddressParts() local
18612 auto IsInRange = [&](int RHSC, int Limit, int Scale) { in getMVEIndexedAddressParts() argument
18613 if (RHSC < 0 && RHSC > -Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
18616 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
18618 } else if (RHSC > 0 && RHSC < Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
18620 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
18630 if (Alignment >= 2 && IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
18633 if (IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()
18637 IsInRange(RHSC, 0x80, 4)) in getMVEIndexedAddressParts()
18641 IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
18643 else if ((CanChangeType || VT == MVT::v16i8) && IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()