Lines Matching refs:Load1
157 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument
160 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr()
164 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr()
173 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr()
177 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
195 Offset1 = cast<ConstantSDNode>(Load1->getOperand(Offset1Idx))->getZExtValue(); in areLoadsFromSameBasePtr()
205 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr()
208 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
214 dyn_cast<ConstantSDNode>(Load1->getOperand(1)); in areLoadsFromSameBasePtr()
228 if (!nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::soffset) || in areLoadsFromSameBasePtr()
229 !nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::vaddr) || in areLoadsFromSameBasePtr()
230 !nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::srsrc)) in areLoadsFromSameBasePtr()
246 SDValue Off1 = Load1->getOperand(OffIdx1); in areLoadsFromSameBasePtr()
511 bool SIInstrInfo::shouldScheduleLoadsNear(SDNode *Load0, SDNode *Load1, in shouldScheduleLoadsNear() argument