Searched refs:IsHazardFn (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNHazardRecognizer.cpp | 501 GCNHazardRecognizer::IsHazardFn IsHazard, const MachineBasicBlock *MBB, in getWaitStatesSince() 536 static int getWaitStatesSince(GCNHazardRecognizer::IsHazardFn IsHazard, in getWaitStatesSince() 544 int GCNHazardRecognizer::getWaitStatesSince(IsHazardFn IsHazard, int Limit) { in getWaitStatesSince() 570 IsHazardFn IsHazardDef, in getWaitStatesSinceDef() 574 auto IsHazardFn = [IsHazardDef, TRI, Reg](const MachineInstr &MI) { in getWaitStatesSinceDef() local 578 return getWaitStatesSince(IsHazardFn, Limit); in getWaitStatesSinceDef() 581 int GCNHazardRecognizer::getWaitStatesSinceSetReg(IsHazardFn IsHazard, in getWaitStatesSinceSetReg() 583 auto IsHazardFn = [IsHazard](const MachineInstr &MI) { in getWaitStatesSinceSetReg() local 587 return getWaitStatesSince(IsHazardFn, Limit); in getWaitStatesSinceSetReg() 792 auto IsHazardFn = [TII, GetRegHWReg](const MachineInstr &MI) { in checkGetRegHazards() local [all …]
|
H A D | GCNHazardRecognizer.h | 34 typedef function_ref<bool(const MachineInstr &)> IsHazardFn; typedef 77 int getWaitStatesSince(IsHazardFn IsHazard, int Limit); 78 int getWaitStatesSinceDef(unsigned Reg, IsHazardFn IsHazardDef, int Limit); 79 int getWaitStatesSinceSetReg(IsHazardFn IsHazard, int Limit);
|