reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
241 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); 244 Index = Base->getOperand(1); 248 if (Index->getOpcode() == ISD::SIGN_EXTEND) { 249 Index = Index->getOperand(0); 249 Index = Index->getOperand(0); 254 if (Index->getOpcode() != ISD::ADD || 255 !isa<ConstantSDNode>(Index->getOperand(1))) 256 return BaseIndexOffset(PotentialBase, Index, Offset, IsIndexSignExt); 258 Offset += cast<ConstantSDNode>(Index->getOperand(1))->getSExtValue(); 259 Index = Index->getOperand(0); 259 Index = Index->getOperand(0); 260 if (Index->getOpcode() == ISD::SIGN_EXTEND) { 261 Index = Index->getOperand(0); 261 Index = Index->getOperand(0); 267 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);