Lines Matching refs:DynoStats

54 constexpr const char *DynoStats::Desc[];
56 bool DynoStats::operator<(const DynoStats &Other) const { in operator <()
62 bool DynoStats::operator==(const DynoStats &Other) const { in operator ==()
67 bool DynoStats::lessThan(const DynoStats &Other, in lessThan()
76 void DynoStats::print(raw_ostream &OS, const DynoStats *Other, in print()
93 for (auto Stat = DynoStats::FIRST_DYNO_STAT + 1; in print()
94 Stat < DynoStats::LAST_DYNO_STAT; ++Stat) { in print()
96 if (!PrintAArch64Stats && Stat == DynoStats::VENEER_CALLS_AARCH64) in print()
131 void DynoStats::operator+=(const DynoStats &Other) { in operator +=()
132 for (auto Stat = DynoStats::FIRST_DYNO_STAT + 1; in operator +=()
133 Stat < DynoStats::LAST_DYNO_STAT; ++Stat) { in operator +=()
161 DynoStats getDynoStats(const BinaryFunction &BF) { in getDynoStats()
164 DynoStats Stats(/*PrintAArch64Stats*/ BC.isAArch64()); in getDynoStats()
187 Stats[DynoStats::VENEER_CALLS_AARCH64] += BF.getKnownExecutionCount(); in getDynoStats()
197 DynoStats::MaxOpcodeHistogramTy MMap; in getDynoStats()
221 Stats[DynoStats::STORES] += BBExecutionCount; in getDynoStats()
224 Stats[DynoStats::LOADS] += BBExecutionCount; in getDynoStats()
234 Stats[DynoStats::FUNCTION_CALLS] += CallFreq; in getDynoStats()
236 Stats[DynoStats::INDIRECT_CALLS] += CallFreq; in getDynoStats()
240 Stats[DynoStats::PLT_CALLS] += CallFreq; in getDynoStats()
248 Stats[DynoStats::FUNCTION_CALLS] += CallFreq; in getDynoStats()
249 Stats[DynoStats::INDIRECT_CALLS] += CallFreq; in getDynoStats()
250 Stats[DynoStats::LOADS] += CallFreq; in getDynoStats()
251 Stats[DynoStats::INSTRUCTIONS] += CallFreq; in getDynoStats()
256 Stats[DynoStats::INSTRUCTIONS] += BB->getNumNonPseudos() * BBExecutionCount; in getDynoStats()
261 Stats[DynoStats::JUMP_TABLE_BRANCHES] += BBExecutionCount; in getDynoStats()
275 Stats[DynoStats::UNKNOWN_INDIRECT_BRANCHES] += BBExecutionCount; in getDynoStats()
292 Stats[DynoStats::UNCOND_BRANCHES] += BBExecutionCount; in getDynoStats()
300 Stats[DynoStats::UNCOND_BRANCHES] += BB->branch_info_begin()->Count; in getDynoStats()
314 Stats[DynoStats::FORWARD_COND_BRANCHES] += BBExecutionCount; in getDynoStats()
315 Stats[DynoStats::FORWARD_COND_BRANCHES_TAKEN] += TakenCount; in getDynoStats()
317 Stats[DynoStats::BACKWARD_COND_BRANCHES] += BBExecutionCount; in getDynoStats()
318 Stats[DynoStats::BACKWARD_COND_BRANCHES_TAKEN] += TakenCount; in getDynoStats()
322 Stats[DynoStats::UNCOND_BRANCHES] += NonTakenCount; in getDynoStats()