Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Summary

1 //===- ProfileSummaryInfo.cpp - Global profile summary information --------===//
10 // This file contains a pass that provides access to the global profile summary
30 "profile-summary-cutoff-hot", cl::Hidden, cl::init(999000), cl::ZeroOrMore,
35 "profile-summary-cutoff-cold", cl::Hidden, cl::init(999999), cl::ZeroOrMore,
47 // detailed summary.
53 // The profile summary metadata may be attached either by the frontend or by
55 // checks if the Summary is null and if so checks if the summary metadata is now
56 // available in the module and parses it to get the Summary object.
58 if (Summary)
63 Summary.reset(ProfileSummary::getFromMD(SummaryMD));
71 if (!F || !Summary)
79 (uint64_t)(0.3 * (double)Summary->getMaxFunctionCount()));
92 if (!Summary)
100 (uint64_t)(0.01 * (double)Summary->getMaxFunctionCount()));
105 if (!Summary)
107 if (!Summary)
109 auto &DetailedSummary = Summary->getDetailedSummary();
134 INITIALIZE_PASS(ProfileSummaryInfoWrapperPass, "profile-summary-info",
135 "Profile summary info", false, true)