Lines Matching refs:Base
28 if (!Base.getNode() || !Other.Base.getNode())
37 if (Other.Base == Base)
41 if (auto *A = dyn_cast<GlobalAddressSDNode>(Base)) {
42 if (auto *B = dyn_cast<GlobalAddressSDNode>(Other.Base))
52 if (auto *A = dyn_cast<ConstantPoolSDNode>(Base)) {
53 if (auto *B = dyn_cast<ConstantPoolSDNode>(Other.Base)) {
72 if (auto *A = dyn_cast<FrameIndexSDNode>(Base))
73 if (auto *B = dyn_cast<FrameIndexSDNode>(Other.Base)) {
203 SDValue Base = DAG.getTargetLoweringInfo().unwrapAddress(Ptr);
223 switch (Base->getOpcode()) {
226 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1)))
227 if (DAG.MaskedValueIsZero(Base->getOperand(0), C->getAPIntValue())) {
229 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
234 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) {
236 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
242 auto *LSBase = cast<LSBaseSDNode>(Base.getNode());
243 unsigned int IndexResNo = (Base->getOpcode() == ISD::LOAD) ? 1 : 0;
244 if (LSBase->isIndexed() && Base.getResNo() == IndexResNo)
252 Base = DAG.getTargetLoweringInfo().unwrapAddress(LSBase->getBasePtr());
262 if (Base->getOpcode() == ISD::ADD) {
267 // MUL instruction. In this case Base is the actual BASE pointer.
271 if (Base->getOperand(1)->getOpcode() == ISD::MUL)
272 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);
274 // Look at Base + Index + Offset cases.
275 Index = Base->getOperand(1);
276 SDValue PotentialBase = Base->getOperand(0);
296 Base = PotentialBase;
298 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);
322 Base->print(OS);