Home | History | Annotate | Download | only in IR

Lines Matching refs:Summary

1 //=-- Profilesummary.cpp - Profile summary support --------------------------=//
10 // This file contains support for converting profile summary data from/to
45 // This returns an MDTuple representing the detiled summary. The tuple has two
47 // of the detailed summary. Each element of this tuple is again an MDTuple whose
70 // to the kind of profile summary as returned by getFormatSpecificMD.
116 // Parse an MDTuple representing detailed summary.
117 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) {
139 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(),
185 SummaryEntryVector Summary;
186 if (!getSummaryFromMD(dyn_cast<MDTuple>(Tuple->getOperand(7)), Summary))
188 return new ProfileSummary(SummaryKind, Summary, TotalCount, MaxCount,