reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1205 if (!MI->isCommutable()) 1209 Register DstOpReg = MI->getOperand(DstOpIdx).getReg(); 1210 Register BaseOpReg = MI->getOperand(BaseOpIdx).getReg(); 1211 unsigned OpsNum = MI->getDesc().getNumOperands(); 1212 unsigned OtherOpIdx = MI->getDesc().getNumDefs(); 1218 if (OtherOpIdx == BaseOpIdx || !MI->getOperand(OtherOpIdx).isReg() || 1219 !TII->findCommutedOpIndices(*MI, BaseOpIdx, OtherOpIdx)) 1222 Register OtherOpReg = MI->getOperand(OtherOpIdx).getReg(); 1227 bool OtherOpKilled = isKilled(*MI, OtherOpReg, MRI, TII, LIS, false); 1231 isProfitableToCommute(DstOpReg, BaseOpReg, OtherOpReg, MI, Dist)) { 1237 if (DoCommute && commuteInstruction(MI, DstOpIdx, BaseOpIdx, OtherOpIdx, 1251 OpsNum = MI->getDesc().getNumOperands();