reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
15127 if (Ptr->getOpcode() != ISD::ADD && Ptr->getOpcode() != ISD::SUB) 15127 if (Ptr->getOpcode() != ISD::ADD && Ptr->getOpcode() != ISD::SUB) 15132 Base = Ptr->getOperand(0); 15133 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(Ptr->getOperand(1))) { 15136 assert(Ptr->getOpcode() == ISD::ADD); 15138 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); 15142 isInc = (Ptr->getOpcode() == ISD::ADD); 15143 Offset = Ptr->getOperand(1); 15147 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(Ptr->getOperand(1))) { 15150 assert(Ptr->getOpcode() == ISD::ADD); 15152 Offset = DAG.getConstant(-RHSC, SDLoc(Ptr), RHS->getValueType(0)); 15153 Base = Ptr->getOperand(0); 15158 if (Ptr->getOpcode() == ISD::ADD) { 15161 ARM_AM::getShiftOpcForNode(Ptr->getOperand(0).getOpcode()); 15163 Base = Ptr->getOperand(1); 15164 Offset = Ptr->getOperand(0); 15166 Base = Ptr->getOperand(0); 15167 Offset = Ptr->getOperand(1); 15172 isInc = (Ptr->getOpcode() == ISD::ADD); 15173 Base = Ptr->getOperand(0); 15174 Offset = Ptr->getOperand(1);