Lines Matching refs:CT
1378 std::optional<InstCounterType> CT = counterTypeForInstr(Opcode); in applyPreexistingWaitcnt() local
1379 assert(CT.has_value()); in applyPreexistingWaitcnt()
1383 ScoreBrackets.simplifyWaitcnt(CT.value(), OldCnt); in applyPreexistingWaitcnt()
1384 addWait(Wait, CT.value(), OldCnt); in applyPreexistingWaitcnt()
1385 UpdatableInstr = &WaitInstrs[CT.value()]; in applyPreexistingWaitcnt()
1486 for (auto CT : inst_counter_types(NUM_EXTENDED_INST_CNTS)) { in applyPreexistingWaitcnt() local
1487 if (!WaitInstrs[CT]) in applyPreexistingWaitcnt()
1490 unsigned NewCnt = getWait(Wait, CT); in applyPreexistingWaitcnt()
1492 Modified |= updateOperandIfDifferent(*WaitInstrs[CT], in applyPreexistingWaitcnt()
1494 Modified |= promoteSoftWaitCnt(WaitInstrs[CT]); in applyPreexistingWaitcnt()
1496 ScoreBrackets.applyWaitcnt(CT, NewCnt); in applyPreexistingWaitcnt()
1497 setNoWait(Wait, CT); in applyPreexistingWaitcnt()
1501 << "New Instr at block end: " << *WaitInstrs[CT] in applyPreexistingWaitcnt()
1505 << "New Instr: " << *WaitInstrs[CT] << '\n'); in applyPreexistingWaitcnt()
1507 WaitInstrs[CT]->eraseFromParent(); in applyPreexistingWaitcnt()
1560 for (auto CT : inst_counter_types(NUM_EXTENDED_INST_CNTS)) { in createNewWaitcnt() local
1561 unsigned Count = getWait(Wait, CT); in createNewWaitcnt()
1566 BuildMI(Block, It, DL, TII->get(instrsForExtendedCounterTypes[CT])) in createNewWaitcnt()
2474 for (auto CT : inst_counter_types(NUM_EXTENDED_INST_CNTS)) { in runOnMachineFunction() local
2475 if (CT == LOAD_CNT || CT == DS_CNT || CT == STORE_CNT) in runOnMachineFunction()
2479 TII->get(instrsForExtendedCounterTypes[CT])) in runOnMachineFunction()