Home
last modified time | relevance | path

Searched refs:OutputFormat (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp77 static OutputFormatTy OutputFormat;
204 /// This is when used when @c OutputFormat is darwin and produces the same in printDarwinSectionSizes()
279 /// This is when used when @c OutputFormat is berkeley with a Mach-O file and in printDarwinSegmentSizes()
354 /// The format used is determined by @c OutputFormat and @c Radix. in printObjectSectionSizes()
361 // If OutputFormat is darwin and we have a MachOObjectFile print as darwin's in printObjectSectionSizes()
362 // size(1) -m output, else if OutputFormat is darwin and not a Mach-O object in printObjectSectionSizes()
363 // let it fall through to OutputFormat berkeley. in printObjectSectionSizes()
365 if (OutputFormat == darwin && MachO) in printObjectSectionSizes()
367 // If we have a MachOObjectFile and the OutputFormat is berkeley print as in printObjectSectionSizes()
369 else if (MachO && OutputFormat in printObjectSectionSizes()
73 static OutputFormatTy OutputFormat; global() variable
[all...]
/llvm-project/llvm/unittests/Remarks/
H A DRemarksLinkingTest.cpp19 remarks::Format OutputFormat, in serializeAndCheck() argument
26 Error E = RL.serialize(OS, OutputFormat); in serializeAndCheck()
30 if (OutputFormat == remarks::Format::Bitstream) { in serializeAndCheck()
44 remarks::Format OutputFormat, StringRef ExpectedOutput, in check() argument
50 serializeAndCheck(RL, OutputFormat, ExpectedOutput);
55 remarks::Format OutputFormat, StringRef ExpectedOutput) { in check() argument
59 serializeAndCheck(RL, OutputFormat, ExpectedOutput); in check()
/llvm-project/llvm/include/llvm/Analysis/
H A DReplayInlineAdvisor.h29 return OutputFormat == Format::LineColumn || in outputColumn()
30 OutputFormat == Format::LineColumnDiscriminator; in outputColumn()
34 return OutputFormat == Format::LineDiscriminator || in outputDiscriminator()
35 OutputFormat == Format::LineColumnDiscriminator; in outputDiscriminator()
38 Format OutputFormat;
39 Format OutputFormat; global() member
/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkConvert.cpp32 static constexpr Format OutputFormat = Format::Bitstream; variable
40 static constexpr Format OutputFormat = Format::YAML; variable
79 auto MaybeOF = getOutputFileForRemarks(OutputFileName, OutputFormat); in tryReserializeYAML2Bitstream()
84 OutputFormat, SerializerMode::Standalone, OF->os(), std::move(StrTab)); in tryReserializeYAML2Bitstream()
109 auto MaybeOF = getOutputFileForRemarks(OutputFileName, OutputFormat); in tryBitstream2YAML()
114 OutputFormat, SerializerMode::Standalone, OF->os()); in tryBitstream2YAML()
H A DRemarkUtilHelpers.cpp49 getOutputFileForRemarks(StringRef OutputFileName, Format OutputFormat) { in getOutputFileForRemarks() argument
50 assert((OutputFormat == Format::YAML || OutputFormat == Format::Bitstream) && in getOutputFileForRemarks()
52 return getOutputFileWithFlags(OutputFileName, OutputFormat == Format::YAML in getOutputFileForRemarks()
H A DRemarkUtilHelpers.h57 getOutputFileForRemarks(StringRef OutputFileName, Format OutputFormat);
/llvm-project/clang/tools/scan-build/libexec/
H A Dccc-analyzer484 my $OutputFormat = $ENV{'CCC_ANALYZER_OUTPUT_FORMAT'};
485 if (!defined $OutputFormat) { $OutputFormat = "html"; }
753 if (defined $OutputFormat) {
754 push @AnalyzeArgs, "-analyzer-output=" . $OutputFormat;
755 if ($OutputFormat =~ /plist/ || $OutputFormat =~ /sarif/) {
757 my $Suffix = $OutputFormat =~ /plist/ ? ".plist" : ".sarif";
/llvm-project/clang/lib/Frontend/
H A DDependencyFile.cpp226 OutputFormat(Opts.OutputFormat), InputFileIndex(0) { in DependencyFileGenerator()
316 DependencyOutputFormat OutputFormat) { in PrintFilename() argument
321 if (OutputFormat == DependencyOutputFormat::NMake) { in PrintFilename()
331 assert(OutputFormat == DependencyOutputFormat::Make); in PrintFilename()
403 PrintFilename(OS, File, OutputFormat); in outputDependencyFile()
414 PrintFilename(OS, *I, OutputFormat); in outputDependencyFile()
H A DASTConsumers.cpp41 OutputKind(K), OutputFormat(Format), FilterString(FilterString), in ASTPrinter()
61 if (OutputFormat == ADOF_Default) in TraverseDecl()
98 D->dump(Out, OutputKind == DumpFull, OutputFormat); in print()
107 // FIXME: Support OutputFormat in type dumping. in print()
123 ASTDumpOutputFormat OutputFormat;
122 ASTDumpOutputFormat OutputFormat; global() member in __anon48507f630111::ASTPrinter
/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp78 case CoverageViewOptions::OutputFormat::Text: in create()
82 case CoverageViewOptions::OutputFormat::HTML: in create()
86 case CoverageViewOptions::OutputFormat::Lcov: in create()
150 case CoverageViewOptions::OutputFormat::Text: in create()
153 case CoverageViewOptions::OutputFormat::HTML: in create()
156 case CoverageViewOptions::OutputFormat::Lcov: in create()
H A DCodeCoverage.cpp691 cl::opt<CoverageViewOptions::OutputFormat> Format( in run()
693 cl::values(clEnumValN(CoverageViewOptions::OutputFormat::Text, "text", in run()
695 clEnumValN(CoverageViewOptions::OutputFormat::HTML, "html", in run()
697 clEnumValN(CoverageViewOptions::OutputFormat::Lcov, "lcov", in run()
699 cl::init(CoverageViewOptions::OutputFormat::Text)); in run()
826 case CoverageViewOptions::OutputFormat::Text: in run()
831 case CoverageViewOptions::OutputFormat::HTML: in run()
836 case CoverageViewOptions::OutputFormat::Lcov: in run()
1050 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
1198 (ViewOpts.Format == CoverageViewOptions::OutputFormat in doShow()
[all...]
H A DCoverageViewOptions.h20 enum class OutputFormat { enum
49 OutputFormat Format;
/llvm-project/mlir/lib/Support/
H A DTiming.cpp35 using OutputFormat = DefaultTimingManager::OutputFormat; typedef
602 llvm::cl::opt<OutputFormat> outputFormat{
604 llvm::cl::init(OutputFormat::Text),
605 llvm::cl::values(clEnumValN(OutputFormat::Text, "text",
607 clEnumValN(OutputFormat::Json, "json",
626 if (options->outputFormat == OutputFormat::Text) in applyDefaultTimingManagerCLOptions()
628 else if (options->outputFormat == OutputFormat::Json) in applyDefaultTimingManagerCLOptions()
/llvm-project/clang/tools/scan-build/bin/
H A Dscan-build66 OutputFormat => "html",
929 if (defined $Options{OutputFormat}) {
930 if ($Options{OutputFormat} =~ /plist/ ||
931 $Options{OutputFormat} =~ /sarif/) {
933 ($Options{OutputFormat} =~ /plist/ ? "plist" : "sarif") .
936 if ($Options{OutputFormat} =~ /html/) {
1740 $Options{OutputFormat} = "sarif";
1746 $Options{OutputFormat} = "plist";
1752 $Options{OutputFormat} = "plist-html";
1976 'CCC_ANALYZER_OUTPUT_FORMAT' => $Options{OutputFormat},
[all...]
/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp103 static OutputFormatTy OutputFormat;
297 // the OutputFormat is darwin or we are printing Mach-O symbols in hex. For
626 if (OutputFormat == posix && !ArchiveName.empty()) in writeFileName()
737 if ((OutputFormat == bsd || OutputFormat == posix || in printSymbolList()
738 OutputFormat == just_symbols) && in printSymbolList()
741 } else if (OutputFormat == sysv) { in printSymbolList()
758 printFormat = OutputFormat == posix ? "%" PRIo64 : "%016" PRIo64; in printSymbolList()
761 printFormat = OutputFormat == posix ? "%" PRIx64 : "%016" PRIx64; in printSymbolList()
764 printFormat = OutputFormat in printSymbolList()
101 static OutputFormatTy OutputFormat; global() variable
[all...]
/llvm-project/llvm/tools/llvm-rc/
H A Dllvm-rc.cpp225 Format OutputFormat = Res;
407 Opts.OutputFormat = in parseWindresOptions()
411 Opts.OutputFormat = Coff; in parseWindresOptions()
412 deduceFormat(Opts.OutputFormat, Opts.OutputFile); in parseWindresOptions()
414 if (Opts.OutputFormat == Rc) in parseWindresOptions()
416 if (Opts.InputFormat == Opts.OutputFormat) { in parseWindresOptions()
757 if (Opts.OutputFormat == Coff) { in llvm_rc_main()
765 if (Opts.OutputFormat == Coff) {
217 Format OutputFormat = Res; global() member
/llvm-project/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp88 std::optional<FileFormat> OutputFormat;
322 Config.OutputFormat = StringSwitch<std::optional<FileFormat>>(A->getValue()) in parseArgs()
327 if (!Config.OutputFormat) in parseArgs()
511 if (!Config.OutputFormat) { in llvm_ifs_main()
515 } else if (Config.OutputFormat) { in llvm_ifs_main()
520 if (Config.OutputFormat) { in llvm_ifs_main()
521 // TODO: Remove OutputFormat flag in the next revision. in llvm_ifs_main()
524 switch (*Config.OutputFormat) { in llvm_ifs_main()
86 std::optional<FileFormat> OutputFormat; global() member
/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp769 StringRef InputFormat, OutputFormat; in parseObjcopyOptions()
772 OutputFormat = InputArgs.getLastArgValue(OBJCOPY_target); in parseObjcopyOptions()
775 OutputFormat = InputArgs.getLastArgValue(OBJCOPY_output_target); in parseObjcopyOptions()
845 Config.OutputFormat = StringSwitch<FileFormat>(OutputFormat) in parseObjcopyOptions()
850 if (Config.OutputFormat == FileFormat::Unspecified) { in parseObjcopyOptions()
851 if (OutputFormat.empty()) { in parseObjcopyOptions()
852 Config.OutputFormat = Config.InputFormat; in parseObjcopyOptions()
855 getOutputTargetInfoByTargetName(OutputFormat); in parseObjcopyOptions()
858 Config.OutputFormat in parseObjcopyOptions()
670 StringRef InputFormat, OutputFormat; parseObjcopyOptions() local
[all...]
H A Dllvm-objcopy.cpp116 switch (Config.OutputFormat) { in executeObjcopyOnRawBinary()
/llvm-project/clang-tools-extra/clangd/index/dex/dexp/
H A DDexp.cpp164 static const auto *OutputFormat = "{0,-4} | {1,-40} | {2,-25}\n"; in run() local
165 llvm::outs() << llvm::formatv(OutputFormat, "Rank", "Symbol ID", in run()
169 llvm::outs() << llvm::formatv(OutputFormat, Rank++, Sym.ID.str(), in run()
/llvm-project/clang/include/clang/Frontend/
H A DDependencyOutputOptions.h64 DependencyOutputFormat OutputFormat = DependencyOutputFormat::Make; variable
H A DUtils.h130 DependencyOutputFormat OutputFormat; variable
/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp170 cl::opt<ProfileFormat> OutputFormat(
934 ProfileFormat OutputFormat, in mergeInstrProfile()
938 OutputFormat == PF_Text ? sys::fs::OF_TextWithCRLF in mergeInstrProfile()
943 if (OutputFormat == PF_Text) { in mergeInstrProfile()
960 if (OutputFormat == PF_Compact_Binary) in mergeInstrProfile()
962 if (OutputFormat != PF_Binary && OutputFormat != PF_Ext_Binary && in mergeInstrProfile()
963 OutputFormat != PF_Text) in mergeInstrProfile()
1081 writeInstrProfile(OutputFilename, OutputFormat, Contexts[0]->Writer);
1426 /// \p OutputFormat specifie in remapSamples()
151 cl::opt<ProfileFormat> OutputFormat( global() variable
884 writeInstrProfile(StringRef OutputFilename,ProfileFormat OutputFormat,InstrProfWriter & Writer) writeInstrProfile() argument
1464 handleExtBinaryWriter(sampleprof::SampleProfileWriter & Writer,ProfileFormat OutputFormat,MemoryBuffer * Buffer,sampleprof::ProfileSymbolList & WriterList,bool CompressAllSections,bool UseMD5,bool GenPartialProfile) handleExtBinaryWriter() argument
[all...]
/llvm-project/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp26 static cl::opt<SampleProfileFormat> OutputFormat( variable
159 if (PopulateProfileSymbolList && OutputFormat == SPF_Ext_Binary) { in write()
169 auto WriterOrErr = SampleProfileWriter::create(OutputFilename, OutputFormat); in write()
174 if (OutputFormat != SPF_Ext_Binary) in write()
/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp108 if (Opts->OutputFormat != DependencyOutputFormat::Make) in getP1689ModuleDependencyFile()

12