Lines Matching refs:ShowFormat
88 enum class ShowFormat { Text, Json, Yaml }; enum
353 cl::opt<ShowFormat>
354 SFormat("show-format", cl::init(ShowFormat::Text),
357 cl::values(clEnumValN(ShowFormat::Text, "text",
359 clEnumValN(ShowFormat::Json, "json", "emit JSON"),
360 clEnumValN(ShowFormat::Yaml, "yaml", "emit YAML")));
2748 static int showInstrProfile(ShowFormat SFormat, raw_fd_ostream &OS) { in showInstrProfile()
2749 if (SFormat == ShowFormat::Json) in showInstrProfile()
2751 if (SFormat == ShowFormat::Yaml) in showInstrProfile()
3141 static int showSampleProfile(ShowFormat SFormat, raw_fd_ostream &OS) { in showSampleProfile()
3142 if (SFormat == ShowFormat::Yaml) in showSampleProfile()
3162 if (SFormat == ShowFormat::Json) in showSampleProfile()
3167 if (SFormat == ShowFormat::Json) in showSampleProfile()
3196 static int showMemProfProfile(ShowFormat SFormat, raw_fd_ostream &OS) { in showMemProfProfile()
3197 if (SFormat == ShowFormat::Json) in showMemProfProfile()
3215 ShowFormat SFormat, raw_fd_ostream &OS) { in showDebugInfoCorrelation()
3216 if (SFormat == ShowFormat::Json) in showDebugInfoCorrelation()
3223 if (SFormat == ShowFormat::Yaml) { in showDebugInfoCorrelation()
3262 SFormat = ShowFormat::Json; in show_main()