Searched refs:IsHazard (Results 1 – 2 of 2) sorted by relevance
57 int getWaitStatesSince(function_ref<bool(MachineInstr *)> IsHazard);61 int getWaitStatesSinceSetReg(function_ref<bool(MachineInstr *)> IsHazard);
248 function_ref<bool(MachineInstr *)> IsHazard) { in getWaitStatesSince() argument252 if (IsHazard(MI)) in getWaitStatesSince()277 function_ref<bool(MachineInstr *)> IsHazard) { in getWaitStatesSinceSetReg() argument278 auto IsHazardFn = [IsHazard] (MachineInstr *MI) { in getWaitStatesSinceSetReg()279 return isSSetReg(MI->getOpcode()) && IsHazard(MI); in getWaitStatesSinceSetReg()