Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInsertWaitcnts.cpp815 MachineInstr *WaitcntInstr = nullptr; in applyPreexistingWaitcnt() local
833 if (!WaitcntInstr) { in applyPreexistingWaitcnt()
834 WaitcntInstr = &*II; in applyPreexistingWaitcnt()
859 if (WaitcntInstr) { in applyPreexistingWaitcnt()
862 unsigned OldEnc = WaitcntInstr->getOperand(0).getImm(); in applyPreexistingWaitcnt()
864 WaitcntInstr->getOperand(0).setImm(NewEnc); in applyPreexistingWaitcnt()
873 << "Old Instr: " << MI << "New Instr: " << *WaitcntInstr in applyPreexistingWaitcnt()
876 WaitcntInstr->eraseFromParent(); in applyPreexistingWaitcnt()