Home
last modified time | relevance | path

Searched refs:SampleProfileWriter (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h43 class SampleProfileWriter {
45 virtual ~SampleProfileWriter() = default;
62 static ErrorOr<std::unique_ptr<SampleProfileWriter>>
67 static ErrorOr<std::unique_ptr<SampleProfileWriter>>
77 SampleProfileWriter(std::unique_ptr<raw_ostream> &OS) in SampleProfileWriter() function
102 class SampleProfileWriterText : public SampleProfileWriter {
108 : SampleProfileWriter(OS), Indent(0) {} in SampleProfileWriterText()
121 friend ErrorOr<std::unique_ptr<SampleProfileWriter>>
127 class SampleProfileWriterBinary : public SampleProfileWriter {
130 : SampleProfileWriter(OS) {} in SampleProfileWriterBinary()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp44 std::error_code SampleProfileWriter::writeFuncProfiles( in writeFuncProfiles()
69 SampleProfileWriter::write(const StringMap<FunctionSamples> &ProfileMap) { in write()
374 if (std::error_code EC = SampleProfileWriter::write(ProfileMap)) in write()
753 ErrorOr<std::unique_ptr<SampleProfileWriter>>
754 SampleProfileWriter::create(StringRef Filename, SampleProfileFormat Format) { in create()
775 ErrorOr<std::unique_ptr<SampleProfileWriter>>
776 SampleProfileWriter::create(std::unique_ptr<raw_ostream> &OS, in create()
779 std::unique_ptr<SampleProfileWriter> Writer; in create()
806 void SampleProfileWriter::computeSummary( in computeSummary()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp652 static void handleExtBinaryWriter(sampleprof::SampleProfileWriter &Writer, in handleExtBinaryWriter()
766 SampleProfileWriter::create(OutputFilename, FormatMap[OutputFormat]); in mergeSampleProfile()