Lines Matching refs:RHSC
4750 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) { in getARMCmp() local
4751 unsigned C = RHSC->getZExtValue(); in getARMCmp()
4820 auto *RHSC = cast<ConstantSDNode>(RHS.getNode()); in getARMCmp() local
4821 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp()
19796 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
19797 if (RHSC < 0 && RHSC > -256) { in getARMIndexedAddressParts()
19800 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
19810 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
19811 if (RHSC < 0 && RHSC > -0x1000) { in getARMIndexedAddressParts()
19814 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
19853 int RHSC = (int)RHS->getZExtValue(); in getT2IndexedAddressParts() local
19854 if (RHSC < 0 && RHSC > -0x100) { // 8 bits. in getT2IndexedAddressParts()
19857 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
19859 } else if (RHSC > 0 && RHSC < 0x100) { // 8 bit, no zero. in getT2IndexedAddressParts()
19861 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
19884 int RHSC = (int)RHS->getZExtValue(); in getMVEIndexedAddressParts() local
19886 auto IsInRange = [&](int RHSC, int Limit, int Scale) { in getMVEIndexedAddressParts() argument
19887 if (RHSC < 0 && RHSC > -Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
19890 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
19892 } else if (RHSC > 0 && RHSC < Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
19894 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
19904 if (Alignment >= 2 && IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
19907 if (IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()
19911 IsInRange(RHSC, 0x80, 4)) in getMVEIndexedAddressParts()
19915 IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
19917 else if ((CanChangeType || VT == MVT::v16i8) && IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()