Lines Matching refs:WaitStates
287 unsigned WaitStates = PreEmitNoopsCommon(CurrCycleInstr); in processBundle() local
292 insertNoopsInBundle(CurrCycleInstr, TII, WaitStates); in processBundle()
298 for (unsigned i = 0, e = std::min(WaitStates, MaxLookAhead - 1); i < e; ++i) in processBundle()
334 int WaitStates = 0; in PreEmitNoopsCommon() local
337 return std::max(WaitStates, checkSMRDHazards(MI)); in PreEmitNoopsCommon()
340 WaitStates = std::max(WaitStates, checkNSAtoVMEMHazard(MI)); in PreEmitNoopsCommon()
342 WaitStates = std::max(WaitStates, checkFPAtomicToDenormModeHazard(MI)); in PreEmitNoopsCommon()
345 return WaitStates; in PreEmitNoopsCommon()
348 WaitStates = std::max(WaitStates, checkVMEMHazards(MI)); in PreEmitNoopsCommon()
351 WaitStates = std::max(WaitStates, checkVALUHazards(MI)); in PreEmitNoopsCommon()
354 WaitStates = std::max(WaitStates, checkDPPHazards(MI)); in PreEmitNoopsCommon()
357 WaitStates = std::max(WaitStates, checkDivFMasHazards(MI)); in PreEmitNoopsCommon()
360 WaitStates = std::max(WaitStates, checkRWLaneHazards(MI)); in PreEmitNoopsCommon()
365 WaitStates = std::max(WaitStates, checkMAIVALUHazards(MI)); in PreEmitNoopsCommon()
368 return std::max(WaitStates, checkInlineAsmHazards(MI)); in PreEmitNoopsCommon()
371 return std::max(WaitStates, checkGetRegHazards(MI)); in PreEmitNoopsCommon()
374 return std::max(WaitStates, checkSetRegHazards(MI)); in PreEmitNoopsCommon()
377 return std::max(WaitStates, checkRFEHazards(MI)); in PreEmitNoopsCommon()
387 return std::max(WaitStates, checkReadM0Hazards(MI)); in PreEmitNoopsCommon()
390 return std::max(WaitStates, checkMAIHazards(MI)); in PreEmitNoopsCommon()
395 return std::max(WaitStates, checkMAILdStHazards(MI)); in PreEmitNoopsCommon()
397 return WaitStates; in PreEmitNoopsCommon()
452 using IsExpiredFn = function_ref<bool(const MachineInstr &, int WaitStates)>;
502 MachineBasicBlock::const_reverse_instr_iterator I, int WaitStates, in getWaitStatesSince() argument
511 return WaitStates; in getWaitStatesSince()
516 WaitStates += GetNumWaitStates(*I); in getWaitStatesSince()
518 if (IsExpired(*I, WaitStates)) in getWaitStatesSince()
527 int W = getWaitStatesSince(IsHazard, Pred, Pred->instr_rbegin(), WaitStates, in getWaitStatesSince()
546 auto IsExpiredFn = [Limit](const MachineInstr &, int WaitStates) { in getWaitStatesSince() argument
547 return WaitStates >= Limit; in getWaitStatesSince()
552 int WaitStates = 0; in getWaitStatesSince() local
556 return WaitStates; in getWaitStatesSince()
561 ++WaitStates; in getWaitStatesSince()
563 if (WaitStates >= Limit) in getWaitStatesSince()
1424 auto IsExpiredFn = [&](const MachineInstr &I, int WaitStates) { in fixLdsDirectVALUHazard() argument
1425 if (WaitStates >= NoHazardWaitStates) in fixLdsDirectVALUHazard()
1919 auto IsExpiredFn = [](const MachineInstr &MI, int WaitStates) { in checkFPAtomicToDenormModeHazard() argument
1920 if (WaitStates >= 3 || SIInstrInfo::isVALU(MI)) in checkFPAtomicToDenormModeHazard()