Lines Matching refs:ShowFormat
89 enum class ShowFormat { Text, Json, Yaml }; enum
326 cl::opt<ShowFormat>
327 SFormat("show-format", cl::init(ShowFormat::Text),
330 cl::values(clEnumValN(ShowFormat::Text, "text",
332 clEnumValN(ShowFormat::Json, "json", "emit JSON"),
333 clEnumValN(ShowFormat::Yaml, "yaml", "emit YAML")));
2689 static int showInstrProfile(ShowFormat SFormat, raw_fd_ostream &OS) { in showInstrProfile()
2690 if (SFormat == ShowFormat::Json) in showInstrProfile()
2692 if (SFormat == ShowFormat::Yaml) in showInstrProfile()
3066 static int showSampleProfile(ShowFormat SFormat, raw_fd_ostream &OS) { in showSampleProfile()
3067 if (SFormat == ShowFormat::Yaml) in showSampleProfile()
3087 if (SFormat == ShowFormat::Json) in showSampleProfile()
3092 if (SFormat == ShowFormat::Json) in showSampleProfile()
3121 static int showMemProfProfile(ShowFormat SFormat, raw_fd_ostream &OS) { in showMemProfProfile()
3122 if (SFormat == ShowFormat::Json) in showMemProfProfile()
3140 ShowFormat SFormat, raw_fd_ostream &OS) { in showDebugInfoCorrelation()
3141 if (SFormat == ShowFormat::Json) in showDebugInfoCorrelation()
3148 if (SFormat == ShowFormat::Yaml) { in showDebugInfoCorrelation()
3186 SFormat = ShowFormat::Json; in show_main()