Lines Matching defs:instr

78 enum ProfileKinds { instr, sample, memory };
108 cl::sub(OverlapSubcommand), cl::init(instr),
109 cl::values(clEnumVal(instr, "Instrumentation profile (default)"),
236 "supplement-instr-with-sample", cl::init(""), cl::Hidden,
238 cl::desc("Supplement an instr profile with sample profile, to correct "
240 "profile is the input of the flag. Output will be in instr "
241 "format (The flag only works with -instr)"));
245 cl::desc("For the function which is cold in instr profile but hot in "
257 "instr-prof-cold-threshold", cl::init(0), cl::Hidden,
259 cl::desc("User specified cold threshold for instr profile which will "
291 cl::desc("Generate a sparse profile (only meaningful for -instr)"));
396 cl::desc("Show instr profile data in text dump format"),
435 cl::init(instr),
436 cl::values(clEnumVal(instr, "Instrumentation profile (default)"),
1106 /// Either set all the counters in the instr profile entry \p IFE to
1173 /// Adjust the instr profile in \p WC based on the sample profile in
1180 // Function to its entry in instr profile.
1350 // If a function has multiple entries in instr profile, skip it.
1370 // Compute cold thresholds for instr profile and sample profile.
1394 // Find hot/warm functions in sample profile which is cold in instr profile
1395 // and adjust the profiles of those functions in the instr profile.
1423 /// The main function to supplement instr profile with sample profile.
1424 /// \Inputs contains the instr profile. \p SampleFilename specifies the
1433 /// instr profile summary.
1442 exitWithError("expect one input to be an instr profile");
1444 exitWithError("expect instr profile doesn't have weight");
1459 // Read instr profile.
1781 if (ProfileKind != instr)
1783 "-supplement-instr-with-sample can only work with -instr. ");
1791 if (ProfileKind == instr)
2760 if (ProfileKind == instr)
2832 exitWithError("JSON output is not supported for instr profiles");
2834 exitWithError("YAML output is not supported for instr profiles");
3374 if (ShowProfileKind == instr)