Home | History | Annotate | Download | only in X86

Lines Matching full:cycles

40     // Cycles - Number of cycles until return if HasReturn is true, otherwise
41 // number of cycles until end of the BB
42 unsigned int Cycles;
44 VisitedBBInfo() : HasReturn(false), Cycles(0) {}
45 VisitedBBInfo(bool HasReturn, unsigned int Cycles)
46 : HasReturn(HasReturn), Cycles(Cycles) {}
62 unsigned int Cycles = 0);
65 unsigned int &Cycles);
74 // cycles until the return, starting from the entry block.
113 unsigned int Cycles = 0;
119 Cycles = I->second;
121 if (Cycles < Threshold) {
133 addPadding(MBB, ReturnLoc, Threshold - Cycles);
144 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) {
145 // If this BB has a return, note how many cycles it takes to get there.
146 bool hasReturn = cyclesUntilReturn(MBB, Cycles);
147 if (Cycles >= Threshold)
151 ReturnBBs[MBB] = std::max(ReturnBBs[MBB], Cycles);
160 findReturns(*I, Cycles);
166 /// Cycles will be incremented by the number of cycles taken to reach the
169 unsigned int &Cycles) {
175 Cycles += BBInfo.Cycles;
189 Cycles += CyclesToEnd;
197 Cycles += CyclesToEnd;