Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DGCNHazardRecognizer.h57 int getWaitStatesSince(function_ref<bool(MachineInstr *)> IsHazard);
61 int getWaitStatesSinceSetReg(function_ref<bool(MachineInstr *)> IsHazard);
DGCNHazardRecognizer.cpp248 function_ref<bool(MachineInstr *)> IsHazard) { in getWaitStatesSince() argument
252 if (IsHazard(MI)) in getWaitStatesSince()
277 function_ref<bool(MachineInstr *)> IsHazard) { in getWaitStatesSinceSetReg() argument
278 auto IsHazardFn = [IsHazard] (MachineInstr *MI) { in getWaitStatesSinceSetReg()
279 return isSSetReg(MI->getOpcode()) && IsHazard(MI); in getWaitStatesSinceSetReg()