Lines Matching refs:isTop

2342   unsigned ReadyCycle = (isTop() ? SU->TopReadyCycle : SU->BotReadyCycle);  in getLatencyStallCycles()
2354 if (isTop()) in getNextResourceCycleByInstance()
2367 if (!isTop()) in getNextResourceCycleByInstance()
2471 ((isTop() && SchedModel->mustBeginGroup(SU->getInstr())) || in checkHazard()
2472 (!isTop() && SchedModel->mustEndGroup(SU->getInstr())))) { in checkHazard()
2474 << (isTop() ? "begin" : "end") << " group\n"); in checkHazard()
2610 if (isTop()) in bumpCycle()
2681 if (!isTop() && SU->isCall) { in bumpNode()
2698 unsigned ReadyCycle = (isTop() ? SU->TopReadyCycle : SU->BotReadyCycle); in bumpNode()
2767 if (isTop()) { in bumpNode()
2783 if (isTop()) { in bumpNode()
2794 unsigned &TopLatency = isTop() ? ExpectedLatency : DependentLatency; in bumpNode()
2795 unsigned &BotLatency = isTop() ? DependentLatency : ExpectedLatency; in bumpNode()
2826 if ((isTop() && SchedModel->mustEndGroup(SU->getInstr())) || in bumpNode()
2827 (!isTop() && SchedModel->mustBeginGroup(SU->getInstr()))) { in bumpNode()
2828 LLVM_DEBUG(dbgs() << " Bump cycle to " << (isTop() ? "end" : "begin") in bumpNode()
2852 unsigned ReadyCycle = isTop() ? SU->TopReadyCycle : SU->BotReadyCycle; in releasePending()
3208 if (Zone.isTop()) { in tryLatency()
3435 unsigned getWeakLeft(const SUnit *SU, bool isTop) { in getWeakLeft() argument
3436 return (isTop) ? SU->WeakPredsLeft : SU->WeakSuccsLeft; in getWeakLeft()
3446 int biasPhysReg(const SUnit *SU, bool isTop) { in biasPhysReg() argument
3450 unsigned ScheduledOper = isTop ? 1 : 0; in biasPhysReg()
3451 unsigned UnscheduledOper = isTop ? 0 : 1; in biasPhysReg()
3458 bool AtBoundary = isTop ? !SU->NumSuccsLeft : !SU->NumPredsLeft; in biasPhysReg()
3476 return isTop ? -1 : 1; in biasPhysReg()
3627 if ((Zone->isTop() && TryCand.SU->NodeNum < Cand.SU->NodeNum) in tryCandidate()
3628 || (!Zone->isTop() && TryCand.SU->NodeNum > Cand.SU->NodeNum)) { in tryCandidate()
3653 initCandidate(TryCand, SU, Zone.isTop(), RPTracker, TempTracker); in pickNodeFromQueue()
3805 void GenericScheduler::reschedulePhysReg(SUnit *SU, bool isTop) { in reschedulePhysReg() argument
3807 if (!isTop) in reschedulePhysReg()
3809 SmallVectorImpl<SDep> &Deps = isTop ? SU->Preds : SU->Succs; in reschedulePhysReg()
3818 if (isTop ? DepSU->Succs.size() > 1 : DepSU->Preds.size() > 1) in reschedulePhysReg()
3984 TryCand.AtTop = Zone.isTop(); in pickNodeFromQueue()