Lines Matching refs:RHSC
4733 if (ConstantSDNode *RHSC = dyn_cast<ConstantSDNode>(RHS.getNode())) { in getARMCmp() local
4734 unsigned C = RHSC->getZExtValue(); in getARMCmp()
4803 auto *RHSC = cast<ConstantSDNode>(RHS.getNode()); in getARMCmp() local
4804 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp()
19774 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
19775 if (RHSC < 0 && RHSC > -256) { in getARMIndexedAddressParts()
19778 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
19788 int RHSC = (int)RHS->getZExtValue(); in getARMIndexedAddressParts() local
19789 if (RHSC < 0 && RHSC > -0x1000) { in getARMIndexedAddressParts()
19792 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getARMIndexedAddressParts()
19831 int RHSC = (int)RHS->getZExtValue(); in getT2IndexedAddressParts() local
19832 if (RHSC < 0 && RHSC > -0x100) { // 8 bits. in getT2IndexedAddressParts()
19835 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
19837 } else if (RHSC > 0 && RHSC < 0x100) { // 8 bit, no zero. in getT2IndexedAddressParts()
19839 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getT2IndexedAddressParts()
19862 int RHSC = (int)RHS->getZExtValue(); in getMVEIndexedAddressParts() local
19864 auto IsInRange = [&](int RHSC, int Limit, int Scale) { in getMVEIndexedAddressParts() argument
19865 if (RHSC < 0 && RHSC > -Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
19868 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
19870 } else if (RHSC > 0 && RHSC < Limit * Scale && RHSC % Scale == 0) { in getMVEIndexedAddressParts()
19872 Offset = DAG.getConstant(RHSC, SDLoc(Ptr), RHS->getValueType(0)); in getMVEIndexedAddressParts()
19882 if (Alignment >= 2 && IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
19885 if (IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()
19889 IsInRange(RHSC, 0x80, 4)) in getMVEIndexedAddressParts()
19893 IsInRange(RHSC, 0x80, 2)) in getMVEIndexedAddressParts()
19895 else if ((CanChangeType || VT == MVT::v16i8) && IsInRange(RHSC, 0x80, 1)) in getMVEIndexedAddressParts()