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()
203 SDValue Base = DAG.getTargetLoweringInfo().unwrapAddress(Ptr); in matchLSNode() local
223 switch (Base->getOpcode()) { in matchLSNode()
226 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) in matchLSNode()
227 if (DAG.MaskedValueIsZero(Base->getOperand(0), C->getAPIntValue())) { in matchLSNode()
229 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0)); in matchLSNode()
234 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) { in matchLSNode()
236 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0)); in matchLSNode()
242 auto *LSBase = cast<LSBaseSDNode>(Base.getNode()); in matchLSNode()
243 unsigned int IndexResNo = (Base->getOpcode() == ISD::LOAD) ? 1 : 0; in matchLSNode()
244 if (LSBase->isIndexed() && Base.getResNo() == IndexResNo) in matchLSNode()
252 Base = DAG.getTargetLoweringInfo().unwrapAddress(LSBase->getBasePtr()); in matchLSNode()
262 if (Base->getOpcode() == ISD::ADD) { in matchLSNode()
271 if (Base->getOperand(1)->getOpcode() == ISD::MUL) in matchLSNode()
272 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); in matchLSNode()
275 Index = Base->getOperand(1); in matchLSNode()
276 SDValue PotentialBase = Base->getOperand(0); in matchLSNode()
296 Base = PotentialBase; in matchLSNode()
298 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt); in matchLSNode()
322 Base->print(OS); in print()