reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
  192     switch (Base->getOpcode()) {
  195       if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1)))
  196         if (DAG.MaskedValueIsZero(Base->getOperand(0), C->getAPIntValue())) {
  198           Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
  198           Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
  203       if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) {
  205         Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
  205         Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
  211       auto *LSBase = cast<LSBaseSDNode>(Base.getNode());
  212       unsigned int IndexResNo = (Base->getOpcode() == ISD::LOAD) ? 1 : 0;
  213       if (LSBase->isIndexed() && Base.getResNo() == IndexResNo)
  221           Base = DAG.getTargetLoweringInfo().unwrapAddress(LSBase->getBasePtr());
  231   if (Base->getOpcode() == ISD::ADD) {
  240     if (Base->getOperand(1)->getOpcode() == ISD::MUL)
  241       return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);
  244     Index = Base->getOperand(1);
  245     SDValue PotentialBase = Base->getOperand(0);
  265     Base = PotentialBase;
  267   return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);