Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/MCA/
H A DInstruction.cpp49 CyclesLeft = TotalCycles; in writeStartEvent()
50 IsReady = !CyclesLeft; in writeStartEvent()
57 CyclesLeft = getLatency(); in onInstructionIssued()
101 CyclesLeft--; in cycleEvent()
118 if (CyclesLeft) { in cycleEvent()
119 --CyclesLeft; in cycleEvent()
120 IsReady = !CyclesLeft; in cycleEvent()
184 if (!CyclesLeft) in execute()
190 CyclesLeft = 0; in forceExecuted()
251 CyclesLeft--; in cycleEvent()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/MCA/
H A DInstruction.h202 int CyclesLeft; variable
258 int getCyclesLeft() const { return CyclesLeft; } in getCyclesLeft()
294 unsigned CyclesLeft = getDependentWriteCyclesLeft(); in isReady() local
295 return !CyclesLeft || CyclesLeft < getLatency(); in isReady()
299 return CyclesLeft != UNKNOWN_CYCLES && CyclesLeft <= 0; in isExecuted()
307 CyclesLeft = 0; in setEliminated()
340 int CyclesLeft; variable
358 CyclesLeft(UNKNOWN_CYCLES), TotalCycles(0), CRD(), IsReady(true), in ReadState()
616 int CyclesLeft; variable
649 CyclesLeft(UNKNOWN_CYCLES), RCUTokenID(0), LSUTokenID(0), in Instruction()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp127 const int CyclesLeft = PrevInst.getCyclesLeft(); in handleWaitCnt() local
128 assert(CyclesLeft != UNKNOWN_CYCLES && in handleWaitCnt()
132 if ((unsigned)CyclesLeft < CyclesToWaitVm) in handleWaitCnt()
133 CyclesToWaitVm = CyclesLeft; in handleWaitCnt()
137 if ((unsigned)CyclesLeft < CyclesToWaitExp) in handleWaitCnt()
138 CyclesToWaitExp = CyclesLeft; in handleWaitCnt()
142 if ((unsigned)CyclesLeft < CyclesToWaitLgkm) in handleWaitCnt()
143 CyclesToWaitLgkm = CyclesLeft; in handleWaitCnt()
147 if ((unsigned)CyclesLeft < CyclesToWaitVs) in handleWaitCnt()
148 CyclesToWaitVs = CyclesLeft; in handleWaitCnt()
/openbsd/gnu/llvm/llvm/lib/MCA/Stages/
H A DInOrderIssueStage.cpp26 CyclesLeft = 0; in clear()
32 CyclesLeft = Cycles; in update()
40 if (!CyclesLeft) in cycleEnd()
43 --CyclesLeft; in cycleEnd()
91 int CyclesLeft = WS.getCyclesLeft(); in findFirstWriteBackCycle() local
92 if (CyclesLeft == UNKNOWN_CYCLES) in findFirstWriteBackCycle()
93 CyclesLeft = WS.getLatency(); in findFirstWriteBackCycle()
94 if (CyclesLeft < 0) in findFirstWriteBackCycle()
95 CyclesLeft = 0; in findFirstWriteBackCycle()
96 FirstWBCycle = std::min(FirstWBCycle, (unsigned)CyclesLeft); in findFirstWriteBackCycle()
[all …]
/openbsd/gnu/llvm/llvm/lib/MCA/HardwareUnits/
H A DRegisterFile.cpp589 Hazard.CyclesLeft = UNKNOWN_CYCLES; in checkRAWHazards()
593 int CyclesLeft = WS->getCyclesLeft() - ReadAdvance; in checkRAWHazards() local
594 if (CyclesLeft > 0) { in checkRAWHazards()
595 if (Hazard.CyclesLeft < CyclesLeft) { in checkRAWHazards()
597 Hazard.CyclesLeft = CyclesLeft; in checkRAWHazards()
607 int CyclesLeft = NegReadAdvance - Elapsed; in checkRAWHazards() local
608 assert(CyclesLeft > 0 && "Write should not be in the CommottedWrites set!"); in checkRAWHazards()
609 if (Hazard.CyclesLeft < CyclesLeft) { in checkRAWHazards()
611 Hazard.CyclesLeft = CyclesLeft; in checkRAWHazards()
/openbsd/gnu/llvm/llvm/include/llvm/MCA/Stages/
H A DInOrderIssueStage.h38 unsigned CyclesLeft; member
41 StallInfo() : CyclesLeft(), Kind(StallKind::DEFAULT) {} in StallInfo()
44 unsigned getCyclesLeft() const { return CyclesLeft; } in getCyclesLeft()
/openbsd/gnu/llvm/llvm/include/llvm/MCA/HardwareUnits/
H A DRegisterFile.h241 int CyclesLeft; member
243 RAWHazard() : RegisterID(), CyclesLeft() {} in RAWHazard()
245 bool hasUnknownCycles() const { return CyclesLeft < 0; } in hasUnknownCycles()