Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfReader.h136 class RawMemProfReader final : public MemProfReader {
138 RawMemProfReader(const RawMemProfReader &) = delete;
139 RawMemProfReader &operator=(const RawMemProfReader &) = delete;
140 virtual ~RawMemProfReader() override;
155 static Expected<std::unique_ptr<RawMemProfReader>>
157 static Expected<std::unique_ptr<RawMemProfReader>>
169 RawMemProfReader(std::unique_ptr<llvm::symbolize::SymbolizableModule> Sym,
187 RawMemProfReader(object::OwningBinary<object::Binary> &&Bin, bool KeepName) in RawMemProfReader() function
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfReader.cpp54 if (!RawMemProfReader::hasFormat(Buffer)) in checkBuffer()
258 Expected<std::unique_ptr<RawMemProfReader>>
259 RawMemProfReader::create(const Twine &Path, const StringRef ProfiledBinary, in create()
269 Expected<std::unique_ptr<RawMemProfReader>>
270 RawMemProfReader::create(std::unique_ptr<MemoryBuffer> Buffer, in create()
296 std::unique_ptr<RawMemProfReader> Reader( in create()
297 new RawMemProfReader(std::move(BinaryOr.get()), KeepName)); in create()
306 RawMemProfReader::~RawMemProfReader() { in ~RawMemProfReader()
314 bool RawMemProfReader::hasFormat(const StringRef Path) { in hasFormat()
323 bool RawMemProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp663 using ::llvm::memprof::RawMemProfReader; in loadInput()
664 if (RawMemProfReader::hasFormat(Input.Filename)) { in loadInput()
665 auto ReaderOrErr = RawMemProfReader::create(Input.Filename, ProfiledBinary); in loadInput()
669 std::unique_ptr<RawMemProfReader> Reader = std::move(ReaderOrErr.get()); in loadInput()
3199 auto ReaderOr = llvm::memprof::RawMemProfReader::create( in showMemProfProfile()
3207 std::unique_ptr<llvm::memprof::RawMemProfReader> Reader( in showMemProfProfile()