Lines Matching refs:SSD
467 void computeNodeSetInfo(SwingSchedulerDAG *SSD) { in computeNodeSetInfo() argument
469 MaxMOV = std::max(MaxMOV, SSD->getMOV(SU)); in computeNodeSetInfo()
470 MaxDepth = std::max(MaxDepth, SSD->getDepth(SU)); in computeNodeSetInfo()
668 bool isValidSchedule(SwingSchedulerDAG *SSD);
669 void finalizeSchedule(SwingSchedulerDAG *SSD);
670 bool orderDependence(SwingSchedulerDAG *SSD, SUnit *SU,
672 bool isLoopCarried(SwingSchedulerDAG *SSD, MachineInstr &Phi);
673 bool isLoopCarriedDefOfUse(SwingSchedulerDAG *SSD, MachineInstr *Inst,
3625 bool SMSchedule::orderDependence(SwingSchedulerDAG *SSD, SUnit *SU, in orderDependence() argument
3649 if (unsigned NewReg = SSD->getInstrBaseReg(SU)) in orderDependence()
3681 isLoopCarriedDefOfUse(SSD, (*I)->getInstr(), MO)) { in orderDependence()
3745 if (orderDependence(SSD, UseSU, Insts)) { in orderDependence()
3747 orderDependence(SSD, DefSU, Insts); in orderDependence()
3753 orderDependence(SSD, DefSU, Insts); in orderDependence()
3766 bool SMSchedule::isLoopCarried(SwingSchedulerDAG *SSD, MachineInstr &Phi) { in isLoopCarried() argument
3770 SUnit *DefSU = SSD->getSUnit(&Phi); in isLoopCarried()
3777 SUnit *UseSU = SSD->getSUnit(MRI.getVRegDef(LoopVal)); in isLoopCarried()
3795 bool SMSchedule::isLoopCarriedDefOfUse(SwingSchedulerDAG *SSD, in isLoopCarriedDefOfUse() argument
3804 if (!isLoopCarried(SSD, *Phi)) in isLoopCarriedDefOfUse()
3821 bool SMSchedule::isValidSchedule(SwingSchedulerDAG *SSD) { in isValidSchedule() argument
3823 for (int i = 0, e = SSD->SUnits.size(); i < e; ++i) { in isValidSchedule()
3824 SUnit &SU = SSD->SUnits[i]; in isValidSchedule()
3841 void SMSchedule::finalizeSchedule(SwingSchedulerDAG *SSD) { in finalizeSchedule() argument
3872 SUnit *SUnitUse = SSD->getSUnit(UseMI); in finalizeSchedule()
3878 if (isLoopCarried(SSD, *MI)) in finalizeSchedule()
3896 for (int i = 0, e = SSD->SUnits.size(); i != e; ++i) { in finalizeSchedule()
3897 SUnit *SU = &SSD->SUnits[i]; in finalizeSchedule()
3898 SSD->applyInstrChange(SU->getInstr(), *this, true); in finalizeSchedule()
3910 orderDependence(SSD, SU, newOrderZC); in finalizeSchedule()
3917 orderDependence(SSD, SU, newOrderI); in finalizeSchedule()