Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInsertWaitcnts.cpp1193 MachineInstr *OldWaitcnt = ScoreBrackets->getWaitcnt(); in generateWaitcntInstBefore() local
1194 int Imm = (!OldWaitcnt) ? 0 : OldWaitcnt->getOperand(0).getImm(); in generateWaitcntInstBefore()
1195 if (!OldWaitcnt || in generateWaitcntInstBefore()
1239 else if (!OldWaitcnt) { in generateWaitcntInstBefore()
1240 OldWaitcnt = &*I; in generateWaitcntInstBefore()
1249 if (OldWaitcnt && OldWaitcnt->getOpcode() == AMDGPU::S_WAITCNT) { in generateWaitcntInstBefore()
1258 OldWaitcnt->getOperand(0).setImm(Enc); in generateWaitcntInstBefore()
1259 if (!OldWaitcnt->getParent()) in generateWaitcntInstBefore()
1260 MI.getParent()->insert(MI, OldWaitcnt); in generateWaitcntInstBefore()
1264 << "New Instr: " << *OldWaitcnt << '\n'); in generateWaitcntInstBefore()