Lines Matching refs:CyclesLeft
33 assert(CyclesLeft == UNKNOWN_CYCLES); in writeStartEvent()
49 CyclesLeft = TotalCycles; in writeStartEvent()
50 IsReady = !CyclesLeft; in writeStartEvent()
55 assert(CyclesLeft == UNKNOWN_CYCLES); in onInstructionIssued()
57 CyclesLeft = getLatency(); in onInstructionIssued()
63 unsigned ReadCycles = std::max(0, CyclesLeft - User.second); in onInstructionIssued()
69 PartialWrite->writeStartEvent(IID, RegisterID, CyclesLeft); in onInstructionIssued()
76 if (CyclesLeft != UNKNOWN_CYCLES) { in addUser()
77 unsigned ReadCycles = std::max(0, CyclesLeft - ReadAdvance); in addUser()
86 if (CyclesLeft != UNKNOWN_CYCLES) { in addUser()
87 User->writeStartEvent(IID, RegisterID, std::max(0, CyclesLeft)); in addUser()
100 if (CyclesLeft != UNKNOWN_CYCLES) in cycleEvent()
101 CyclesLeft--; in cycleEvent()
115 if (CyclesLeft == UNKNOWN_CYCLES) in cycleEvent()
118 if (CyclesLeft) { in cycleEvent()
119 --CyclesLeft; in cycleEvent()
120 IsReady = !CyclesLeft; in cycleEvent()
155 CyclesLeft = UNKNOWN_CYCLES; in reset()
178 CyclesLeft = getLatency(); in execute()
184 if (!CyclesLeft) in execute()
190 CyclesLeft = 0; in forceExecuted()
248 assert(CyclesLeft && "Instruction already executed?"); in cycleEvent()
251 CyclesLeft--; in cycleEvent()
252 if (!CyclesLeft) in cycleEvent()