Lines Matching full:cycles
42 // Cycles - Number of cycles until return if HasReturn is true, otherwise
43 // number of cycles until end of the BB
44 unsigned int Cycles = 0; member
47 VisitedBBInfo(bool HasReturn, unsigned int Cycles) in VisitedBBInfo()
48 : HasReturn(HasReturn), Cycles(Cycles) {} in VisitedBBInfo()
75 unsigned int Cycles = 0);
78 unsigned int &Cycles);
87 // cycles until the return, starting from the entry block.
133 unsigned Cycles = ReturnBB.second; in runOnMachineFunction() local
140 if (Cycles < Threshold) { in runOnMachineFunction()
152 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
163 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() argument
164 // If this BB has a return, note how many cycles it takes to get there. in findReturns()
165 bool hasReturn = cyclesUntilReturn(MBB, Cycles); in findReturns()
166 if (Cycles >= Threshold) in findReturns()
170 ReturnBBs[MBB] = std::max(ReturnBBs[MBB], Cycles); in findReturns()
177 findReturns(Succ, Cycles); in findReturns()
182 /// Cycles will be incremented by the number of cycles taken to reach the
185 unsigned int &Cycles) { in cyclesUntilReturn() argument
191 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
203 Cycles += CyclesToEnd; in cyclesUntilReturn()
211 Cycles += CyclesToEnd; in cyclesUntilReturn()