Lines Matching refs:Cycles
44 unsigned int Cycles; member
46 VisitedBBInfo() : HasReturn(false), Cycles(0) {} in VisitedBBInfo()
47 VisitedBBInfo(bool HasReturn, unsigned int Cycles) in VisitedBBInfo()
48 : HasReturn(HasReturn), Cycles(Cycles) {} in VisitedBBInfo()
76 unsigned int Cycles = 0);
79 unsigned int &Cycles);
135 unsigned Cycles = I->second; in runOnMachineFunction() local
142 if (Cycles < Threshold) { in runOnMachineFunction()
154 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
165 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() argument
167 bool hasReturn = cyclesUntilReturn(MBB, Cycles); in findReturns()
168 if (Cycles >= Threshold) in findReturns()
172 ReturnBBs[MBB] = std::max(ReturnBBs[MBB], Cycles); in findReturns()
181 findReturns(*I, Cycles); in findReturns()
190 unsigned int &Cycles) { in cyclesUntilReturn() argument
196 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
208 Cycles += CyclesToEnd; in cyclesUntilReturn()
216 Cycles += CyclesToEnd; in cyclesUntilReturn()