reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
87 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { 91 if (Addr.getOpcode() != ISD::ADD && Addr.getOpcode() != ISD::SUB && 91 if (Addr.getOpcode() != ISD::ADD && Addr.getOpcode() != ISD::SUB && 92 !CurDAG->isBaseWithConstantOffset(Addr)) { 93 if (Addr.getOpcode() == ISD::FrameIndex) { 95 int FI = cast<FrameIndexSDNode>(Addr)->getIndex(); 99 Base = Addr; 101 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); 105 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(Addr.getOperand(1))) { 107 if (Addr.getOpcode() == ISD::SUB) 113 Base = Addr.getOperand(0); 119 Offset = CurDAG->getTargetConstant(RHSC, SDLoc(Addr), MVT::i32); 122 Base = Addr; 123 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);