Lines Matching refs:Opc1
54 unsigned Opc1 = N1->getMachineOpcode(); in nodesHaveSameOperandValue() local
57 int Op1Idx = AMDGPU::getNamedOperandIdx(Opc1, OpName); in nodesHaveSameOperandValue()
84 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr() local
87 if (!get(Opc0).mayLoad() || !get(Opc1).mayLoad()) in areLoadsFromSameBasePtr()
90 if (isDS(Opc0) && isDS(Opc1)) { in areLoadsFromSameBasePtr()
108 AMDGPU::getNamedOperandIdx(Opc1, AMDGPU::OpName::data1) != -1) in areLoadsFromSameBasePtr()
116 if (isSMRD(Opc0) && isSMRD(Opc1)) { in areLoadsFromSameBasePtr()
141 if ((isMUBUF(Opc0) || isMTBUF(Opc0)) && (isMUBUF(Opc1) || isMTBUF(Opc1))) { in areLoadsFromSameBasePtr()
151 int OffIdx1 = AMDGPU::getNamedOperandIdx(Opc1, AMDGPU::OpName::offset); in areLoadsFromSameBasePtr()
280 unsigned Opc1 = SecondLdSt->getOpcode(); in shouldClusterLoads() local
286 if (isDS(Opc0) && isDS(Opc1)) in shouldClusterLoads()
289 if (isSMRD(Opc0) && isSMRD(Opc1)) in shouldClusterLoads()
292 if ((isMUBUF(Opc0) || isMTBUF(Opc0)) && (isMUBUF(Opc1) || isMTBUF(Opc1))) in shouldClusterLoads()
1058 unsigned Opc1 = MIb->getOpcode(); in areMemAccessesTriviallyDisjoint() local
1078 if (isDS(Opc1)) in areMemAccessesTriviallyDisjoint()
1081 return !isFLAT(Opc1); in areMemAccessesTriviallyDisjoint()
1085 if (isMUBUF(Opc1) || isMTBUF(Opc1)) in areMemAccessesTriviallyDisjoint()
1088 return !isFLAT(Opc1) && !isSMRD(Opc1); in areMemAccessesTriviallyDisjoint()
1092 if (isSMRD(Opc1)) in areMemAccessesTriviallyDisjoint()
1095 return !isFLAT(Opc1) && !isMUBUF(Opc0) && !isMTBUF(Opc0); in areMemAccessesTriviallyDisjoint()
1099 if (isFLAT(Opc1)) in areMemAccessesTriviallyDisjoint()