reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1107 for (auto II = OldWaitcntInstr->getIterator(), NextI = std::next(II); 1108 &*II != &MI; II = NextI, NextI++) { 1108 &*II != &MI; II = NextI, NextI++) { 1109 if (II->isDebugInstr()) 1112 if (II->getOpcode() == AMDGPU::S_WAITCNT) { 1113 unsigned IEnc = II->getOperand(0).getImm(); 1116 if (!TrackedWaitcntSet.count(&*II)) 1120 II->getOperand(0).setImm(NewEnc); 1127 assert(II->getOpcode() == AMDGPU::S_WAITCNT_VSCNT); 1128 assert(II->getOperand(0).getReg() == AMDGPU::SGPR_NULL); 1130 unsigned ICnt = II->getOperand(1).getImm(); 1132 if (!TrackedWaitcntSet.count(&*II)) 1135 II->getOperand(1).setImm(Wait.VsCnt); 1143 << "New Instr: " << *II << '\n');