Lines Matching refs:Latency
40 // This allows latency based scheduler to notice high latency instructions
42 // balancing scheduler heursitics than with the actual machine latency.
44 "sched-high-latency-cycles", cl::Hidden, cl::init(10),
45 cl::desc("Roughly estimate the number of cycles that 'long latency'"
92 SU->Latency = Old->Latency;
386 // Schedule zero-latency TokenFactor below any nodes that may increase the
402 // Assign the Latency field of NodeSUnit using target-provided information.
482 // If this is a ctrl dep, latency is 1.
483 unsigned OpLatency = isChain ? 1 : OpSU->Latency;
484 // Special-case TokenFactor chains as zero-latency.
588 // TokenFactor operands are considered zero latency, and some schedulers
589 // (e.g. Top-Down list) may rely on the fact that operand latency is nonzero
590 // whenever node latency is nonzero.
592 SU->Latency = 0;
598 SU->Latency = 1;
605 SU->Latency = HighLatencyCycles;
607 SU->Latency = 1;
611 // Compute the latency for the node. We use the sum of the latencies for
613 SU->Latency = 0;
616 SU->Latency += TII->getInstrLatency(InstrItins, N);
632 int Latency = TII->getOperandLatency(InstrItins, Def, DefIdx, Use, OpIdx);
633 if (Latency > 1 && Use->getOpcode() == ISD::CopyToReg &&
638 // latency so not to penalize the def.
640 Latency = (Latency > 1) ? Latency - 1 : 1;
642 if (Latency >= 0)
643 dep.setLatency(Latency);