Lines Matching refs:Load1
93 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument
96 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr()
100 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr()
109 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr()
113 if (Load0->getOperand(1) != Load1->getOperand(1)) in areLoadsFromSameBasePtr()
117 if (findChainOperand(Load0) != findChainOperand(Load1)) in areLoadsFromSameBasePtr()
128 Offset1 = cast<ConstantSDNode>(Load1->getOperand(2))->getZExtValue(); in areLoadsFromSameBasePtr()
133 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr()
136 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
142 dyn_cast<ConstantSDNode>(Load1->getOperand(1)); in areLoadsFromSameBasePtr()
148 if (findChainOperand(Load0) != findChainOperand(Load1)) in areLoadsFromSameBasePtr()
160 if (!nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::soffset) || in areLoadsFromSameBasePtr()
161 findChainOperand(Load0) != findChainOperand(Load1) || in areLoadsFromSameBasePtr()
162 !nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::vaddr) || in areLoadsFromSameBasePtr()
163 !nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::srsrc)) in areLoadsFromSameBasePtr()
179 SDValue Off1 = Load1->getOperand(OffIdx1); in areLoadsFromSameBasePtr()