Lines Matching refs:SUnits
179 NodeNum2Index[SU->NodeNum] = SUnits.size(); in addUnit()
180 SUnits.push_back(SU); in addUnit()
273 for (SUnit* SU : SUnits) { in fastSchedule()
391 for (SUnit* SU : SUnits) { in schedule()
409 assert(SUnits.size() == ScheduledSUnits.size() && in schedule()
411 for (SUnit* SU : SUnits) { in schedule()
421 for (SUnit* SU : SUnits) { in undoSchedule()
428 HasLowLatencyNonWaitedParent.assign(SUnits.size(), 0); in undoSchedule()
491 HasLowLatencyNonWaitedParent.assign(SUnits.size(), 0); in nodeScheduled()
506 for (SUnit* SU : SUnits) { in finalizeUnits()
511 HasLowLatencyNonWaitedParent.resize(SUnits.size(), 0); in finalizeUnits()
580 for (SUnit* SU : SUnits) { in printDebug()
584 for (SUnit* SU : SUnits) { in printDebug()
624 if (SU->NodeNum >= DAG->SUnits.size()) in isSUInBlock()
630 unsigned DAGSize = DAG->SUnits.size(); in colorHighLatenciesAlone()
633 SUnit *SU = &DAG->SUnits[i]; in colorHighLatenciesAlone()
641 unsigned DAGSize = DAG->SUnits.size(); in colorHighLatenciesGroups()
649 SUnit *SU = &DAG->SUnits[i]; in colorHighLatenciesGroups()
665 SUnit *SU = &DAG->SUnits[i]; in colorHighLatenciesGroups()
677 if (!DAG->canAddEdge(SU, &DAG->SUnits[j]) || in colorHighLatenciesGroups()
678 !DAG->canAddEdge(&DAG->SUnits[j], SU)) in colorHighLatenciesGroups()
698 unsigned DAGSize = DAG->SUnits.size(); in colorComputeReservedDependencies()
711 SUnit *SU = &DAG->SUnits[SUNum]; in colorComputeReservedDependencies()
753 SUnit *SU = &DAG->SUnits[SUNum]; in colorComputeReservedDependencies()
792 unsigned DAGSize = DAG->SUnits.size(); in colorAccordingToReservedDependencies()
799 SUnit *SU = &DAG->SUnits[i]; in colorAccordingToReservedDependencies()
821 unsigned DAGSize = DAG->SUnits.size(); in colorEndsAccordingToDependencies()
825 SUnit *SU = &DAG->SUnits[SUNum]; in colorEndsAccordingToDependencies()
856 unsigned DAGSize = DAG->SUnits.size(); in colorForceConsecutiveOrderInGroup()
866 SUnit *SU = &DAG->SUnits[i]; in colorForceConsecutiveOrderInGroup()
889 unsigned DAGSize = DAG->SUnits.size(); in colorMergeConstantLoadsNextGroup()
892 SUnit *SU = &DAG->SUnits[SUNum]; in colorMergeConstantLoadsNextGroup()
915 unsigned DAGSize = DAG->SUnits.size(); in colorMergeIfPossibleNextGroup()
918 SUnit *SU = &DAG->SUnits[SUNum]; in colorMergeIfPossibleNextGroup()
936 unsigned DAGSize = DAG->SUnits.size(); in colorMergeIfPossibleNextGroupOnlyForReserved()
939 SUnit *SU = &DAG->SUnits[SUNum]; in colorMergeIfPossibleNextGroupOnlyForReserved()
957 unsigned DAGSize = DAG->SUnits.size(); in colorMergeIfPossibleSmallGroupsToNextGroup()
961 SUnit *SU = &DAG->SUnits[SUNum]; in colorMergeIfPossibleSmallGroupsToNextGroup()
972 SUnit *SU = &DAG->SUnits[SUNum]; in colorMergeIfPossibleSmallGroupsToNextGroup()
1001 unsigned DAGSize = DAG->SUnits.size(); in regroupNoUserInstructions()
1005 SUnit *SU = &DAG->SUnits[SUNum]; in regroupNoUserInstructions()
1023 unsigned DAGSize = DAG->SUnits.size(); in createBlocksForVariant()
1055 SUnit *SU = &DAG->SUnits[i]; in createBlocksForVariant()
1070 SUnit *SU = &DAG->SUnits[i]; in createBlocksForVariant()
1196 PosOld.reserve(DAG->SUnits.size()); in scheduleInsideBlocks()
1197 PosNew.reserve(DAG->SUnits.size()); in scheduleInsideBlocks()
1686 unsigned DAGSize = SUnits.size(); in moveLowLatencies()
1691 SUnit *SU = &SUnits[ScheduledSUnits[i]]; in moveLowLatencies()
1751 for (unsigned i = 0, e = SUnits.size(); i != e; ++i) { in restoreSULinksLeft()
1752 SUnits[i].isScheduled = false; in restoreSULinksLeft()
1753 SUnits[i].WeakPredsLeft = SUnitsLinksBackup[i].WeakPredsLeft; in restoreSULinksLeft()
1754 SUnits[i].NumPredsLeft = SUnitsLinksBackup[i].NumPredsLeft; in restoreSULinksLeft()
1755 SUnits[i].WeakSuccsLeft = SUnitsLinksBackup[i].WeakSuccsLeft; in restoreSULinksLeft()
1756 SUnits[i].NumSuccsLeft = SUnitsLinksBackup[i].NumSuccsLeft; in restoreSULinksLeft()
1789 for(SUnit& SU : SUnits) in schedule()
1804 SUnitsLinksBackup = SUnits; in schedule()
1809 IsLowLatencySU.resize(SUnits.size(), 0); in schedule()
1810 LowLatencyOffset.resize(SUnits.size(), 0); in schedule()
1811 IsHighLatencySU.resize(SUnits.size(), 0); in schedule()
1813 for (unsigned i = 0, e = (unsigned)SUnits.size(); i != e; ++i) { in schedule()
1814 SUnit *SU = &SUnits[i]; in schedule()
1870 ScheduledSUnitsInv.resize(SUnits.size()); in schedule()
1872 for (unsigned i = 0, e = (unsigned)SUnits.size(); i != e; ++i) { in schedule()
1885 SUnit *SU = &SUnits[*I]; in schedule()