Lines Matching refs:Base
28 if (!Base.getNode() || !Other.Base.getNode()) in equalBaseIndex()
37 if (Other.Base == Base) in equalBaseIndex()
41 if (auto *A = dyn_cast<GlobalAddressSDNode>(Base)) { in equalBaseIndex()
42 if (auto *B = dyn_cast<GlobalAddressSDNode>(Other.Base)) in equalBaseIndex()
52 if (auto *A = dyn_cast<ConstantPoolSDNode>(Base)) { in equalBaseIndex()
53 if (auto *B = dyn_cast<ConstantPoolSDNode>(Other.Base)) { in equalBaseIndex()
72 if (auto *A = dyn_cast<FrameIndexSDNode>(Base)) in equalBaseIndex()
73 if (auto *B = dyn_cast<FrameIndexSDNode>(Other.Base)) { in equalBaseIndex()
207 SDValue Base = DAG.getTargetLoweringInfo().unwrapAddress(Ptr); in matchLSNode() local
227 switch (Base->getOpcode()) { in matchLSNode()
230 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) in matchLSNode()
231 if (DAG.MaskedValueIsZero(Base->getOperand(0), C->getAPIntValue())) { in matchLSNode()
233 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0)); in matchLSNode()
238 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) { in matchLSNode()
240 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0)); in matchLSNode()
246 auto *LSBase = cast<LSBaseSDNode>(Base.getNode()); in matchLSNode()
247 unsigned int IndexResNo = (Base->getOpcode() == ISD::LOAD) ? 1 : 0; in matchLSNode()
248 if (LSBase->isIndexed() && Base.getResNo() == IndexResNo) in matchLSNode()
256 Base = DAG.getTargetLoweringInfo().unwrapAddress(LSBase->getBasePtr()); in matchLSNode()
266 if (Base->getOpcode() == ISD::ADD) { in matchLSNode()
275 if (Base->getOperand(1)->getOpcode() == ISD::MUL) in matchLSNode()
276 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); in matchLSNode()
279 Index = Base->getOperand(1); in matchLSNode()
280 SDValue PotentialBase = Base->getOperand(0); in matchLSNode()
300 Base = PotentialBase; in matchLSNode()
302 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); in matchLSNode()
326 Base->print(OS); in print()