reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1066 for (auto II = OldWaitcntInstr->getIterator(), NextI = std::next(II); 1067 &*II != &MI; II = NextI, ++NextI) { 1067 &*II != &MI; II = NextI, ++NextI) { 1068 if (II->isDebugInstr()) 1071 if (TrackedWaitcntSet.count(&*II)) { 1072 TrackedWaitcntSet.erase(&*II); 1073 II->eraseFromParent(); 1075 } else if (II->getOpcode() == AMDGPU::S_WAITCNT) { 1076 int64_t Imm = II->getOperand(0).getImm(); 1079 assert(II->getOpcode() == AMDGPU::S_WAITCNT_VSCNT); 1080 assert(II->getOperand(0).getReg() == AMDGPU::SGPR_NULL); 1082 AMDGPU::Waitcnt(0, 0, 0, II->getOperand(1).getImm()));