13#ifndef LLVM_PROFILEDATA_PGOCTXPROFWRITER_H_
14#define LLVM_PROFILEDATA_PGOCTXPROFWRITER_H_
66 void writeImpl(std::optional<uint32_t> CallerIndex,
71 std::optional<unsigned> VersionOverride = std::nullopt)
Write one or more ContextNodes to the provided raw_fd_stream.
static constexpr unsigned VBREncodingBits
static constexpr uint32_t CurrentVersion
void write(const ctx_profile::ContextNode &)
static constexpr unsigned CodeLen
PGOCtxProfileWriter(raw_ostream &Out, std::optional< unsigned > VersionOverride=std::nullopt)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ FIRST_APPLICATION_BLOCKID
This is an optimization pass for GlobalISel generic memory operations.