Home
last modified time | relevance | path

Searched refs:IsHazard (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.h77 int getWaitStatesSince(IsHazardFn IsHazard, int Limit);
79 int getWaitStatesSinceSetReg(IsHazardFn IsHazard, int Limit);
H A DGCNHazardRecognizer.cpp459 function_ref<HazardFnResult(StateT &, const MachineInstr &)> IsHazard, in hasHazard() argument
469 switch (IsHazard(State, *I)) { in hasHazard()
489 if (hasHazard(State, IsHazard, UpdateState, Pred, Pred->instr_rbegin(), in hasHazard()
501 GCNHazardRecognizer::IsHazardFn IsHazard, const MachineBasicBlock *MBB, in getWaitStatesSince() argument
510 if (IsHazard(*I)) in getWaitStatesSince()
527 int W = getWaitStatesSince(IsHazard, Pred, Pred->instr_rbegin(), WaitStates, in getWaitStatesSince()
536 static int getWaitStatesSince(GCNHazardRecognizer::IsHazardFn IsHazard, in getWaitStatesSince() argument
539 return getWaitStatesSince(IsHazard, MI->getParent(), in getWaitStatesSince()
544 int GCNHazardRecognizer::getWaitStatesSince(IsHazardFn IsHazard, int Limit) { in getWaitStatesSince() argument
549 return ::getWaitStatesSince(IsHazard, CurrCycleInstr, IsExpiredFn); in getWaitStatesSince()
[all …]