Lines Matching refs:LGKM_CNT
105 enum InstCounterType { VM_CNT = 0, LGKM_CNT, EXP_CNT, VS_CNT, NUM_INST_CNTS }; enumerator
197 case LGKM_CNT: in addWait()
224 case LGKM_CNT: in getWaitCountMax()
250 if (WaitEventMaskForInst[LGKM_CNT] & (1 << E)) in eventCounter()
251 return LGKM_CNT; in eventCounter()
262 assert(T == LGKM_CNT); in getRegScore()
295 return ((LastFlat[LGKM_CNT] > ScoreLBs[LGKM_CNT] && in hasPendingFlat()
296 LastFlat[LGKM_CNT] <= ScoreUBs[LGKM_CNT]) || in hasPendingFlat()
303 LastFlat[LGKM_CNT] = ScoreUBs[LGKM_CNT]; in setPendingFlat()
351 assert(T == LGKM_CNT); in setRegScore()
447 ForceEmitWaitcnt[LGKM_CNT] = true; in setForceEmitWaitcnt()
449 ForceEmitWaitcnt[LGKM_CNT] = false; in setForceEmitWaitcnt()
688 case LGKM_CNT: in print()
716 if (T == LGKM_CNT) { in print()
718 unsigned RegScore = getRegScore(J + NUM_ALL_VGPRS, LGKM_CNT); in print()
736 simplifyWaitcnt(LGKM_CNT, Wait.LgkmCnt) | in simplifyWaitcnt()
758 if ((T == VM_CNT || T == LGKM_CNT) && in determineWait()
782 applyWaitcnt(LGKM_CNT, Wait.LgkmCnt); in applyWaitcnt()
804 if (T == LGKM_CNT && hasPendingEvent(SMEM_ACCESS)) in counterOutOfOrder()
905 EmitWaitcnt |= ScoreBrackets->updateByWait(LGKM_CNT, in generateWaitcntInstBefore()
906 ScoreBrackets->getScoreUB(LGKM_CNT)); in generateWaitcntInstBefore()
919 EmitWaitcnt |= ScoreBrackets->updateByWait(LGKM_CNT, in generateWaitcntInstBefore()
920 ScoreBrackets->getScoreUB(LGKM_CNT)); in generateWaitcntInstBefore()
976 LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait); in generateWaitcntInstBefore()
987 LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait); in generateWaitcntInstBefore()
1007 addWait(Wait, LGKM_CNT, 0); in generateWaitcntInstBefore()
1052 LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait); in generateWaitcntInstBefore()
1071 if (ScoreBrackets.getScoreLB(LGKM_CNT) < in generateWaitcntInstBefore()
1072 ScoreBrackets.getScoreUB(LGKM_CNT) && in generateWaitcntInstBefore()
1112 if (ForceEmitWaitcnt[LGKM_CNT]) in generateWaitcntInstBefore()
1407 if (T == LGKM_CNT) { in merge()
1487 ScoreBrackets.getScoreLB(LGKM_CNT) < in insertWaitcntInBlock()
1488 ScoreBrackets.getScoreUB(LGKM_CNT) && in insertWaitcntInBlock()