reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  853     Wait.VmCnt = 0;
  862     Wait = Wait.combined(AMDGPU::Waitcnt::allZero(IV));
  862     Wait = Wait.combined(AMDGPU::Waitcnt::allZero(IV));
  869     Wait.VmCnt = 0;
  937         Wait.ExpCnt = 0;
  945       Wait = AMDGPU::Waitcnt();
  955             LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait);
  966               LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait);
  984             VM_CNT, ScoreBrackets.getRegScore(RegNo, VM_CNT), Wait);
  996                 VM_CNT, ScoreBrackets.getRegScore(RegNo, VM_CNT), Wait);
  999               LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait);
 1018               VM_CNT, ScoreBrackets.getRegScore(RegNo, VM_CNT), Wait);
 1020               EXP_CNT, ScoreBrackets.getRegScore(RegNo, EXP_CNT), Wait);
 1031                 VM_CNT, ScoreBrackets.getRegScore(RegNo, VM_CNT), Wait);
 1033                 EXP_CNT, ScoreBrackets.getRegScore(RegNo, EXP_CNT), Wait);
 1036               LGKM_CNT, ScoreBrackets.getRegScore(RegNo, LGKM_CNT), Wait);
 1048     Wait = Wait.combined(AMDGPU::Waitcnt::allZero(IV));
 1048     Wait = Wait.combined(AMDGPU::Waitcnt::allZero(IV));
 1058       Wait.LgkmCnt = 0;
 1063   if (!ScoreBrackets.simplifyWaitcnt(Wait) && !IsForceEmitWaitcnt) {
 1090     Wait = AMDGPU::Waitcnt::allZero(IV);
 1093     Wait.VmCnt = 0;
 1095     Wait.ExpCnt = 0;
 1097     Wait.LgkmCnt = 0;
 1099     Wait.VsCnt = 0;
 1101   ScoreBrackets.applyWaitcnt(Wait);
 1117           Wait = Wait.combined(IWait);
 1117           Wait = Wait.combined(IWait);
 1118         unsigned NewEnc = AMDGPU::encodeWaitcnt(IV, Wait);
 1123         Wait.VmCnt = ~0u;
 1124         Wait.LgkmCnt = ~0u;
 1125         Wait.ExpCnt = ~0u;
 1133           Wait.VsCnt = std::min(Wait.VsCnt, ICnt);
 1133           Wait.VsCnt = std::min(Wait.VsCnt, ICnt);
 1134         if (Wait.VsCnt != ICnt) {
 1135           II->getOperand(1).setImm(Wait.VsCnt);
 1138         Wait.VsCnt = ~0u;
 1145       if (!Wait.hasWait())
 1150   if (Wait.VmCnt != ~0u || Wait.LgkmCnt != ~0u || Wait.ExpCnt != ~0u) {
 1150   if (Wait.VmCnt != ~0u || Wait.LgkmCnt != ~0u || Wait.ExpCnt != ~0u) {
 1150   if (Wait.VmCnt != ~0u || Wait.LgkmCnt != ~0u || Wait.ExpCnt != ~0u) {
 1151     unsigned Enc = AMDGPU::encodeWaitcnt(IV, Wait);
 1163   if (Wait.VsCnt != ~0u) {
 1170             .addImm(Wait.VsCnt);