|
LLVM 24.0.0git
|
#include "llvm/ProfileData/SampleProfWriter.h"#include "llvm/ADT/StringRef.h"#include "llvm/ProfileData/ProfileCommon.h"#include "llvm/ProfileData/SampleProf.h"#include "llvm/Support/Compression.h"#include "llvm/Support/EndianStream.h"#include "llvm/Support/ErrorOr.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/LEB128.h"#include "llvm/Support/MD5.h"#include "llvm/Support/raw_ostream.h"#include <cmath>#include <cstdint>#include <memory>#include <system_error>#include <utility>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
| namespace | llvm::support |
| namespace | llvm::support::endian |
Macros | |
| #define | DEBUG_TYPE "llvm-profdata" |
Functions | |
| template<class KeyT, class ValT> | |
| static SmallVector< std::pair< KeyT, ValT > *, 0 > | stabilizeTable (MapVector< KeyT, ValT > &Table) |
| static void | splitProfileMapToTwo (const SampleProfileMap &ProfileMap, SampleProfileMap &ContextProfileMap, SampleProfileMap &NoContextProfileMap) |
Variables | |
| static cl::opt< bool > | ExtBinaryWriteVTableTypeProf ("extbinary-write-vtable-type-prof", cl::init(false), cl::Hidden, cl::desc("Write vtable type profile in ext-binary sample profile writer")) |
| static cl::opt< uint64_t > | RequestedVersion ("sample-profile-format-version", cl::init(DefaultVersion), cl::Hidden, cl::desc("Format version to write for extensible binary profiles")) |
| #define DEBUG_TYPE "llvm-profdata" |
Definition at line 38 of file SampleProfWriter.cpp.
|
static |
Definition at line 523 of file SampleProfWriter.cpp.
References I.
|
static |
Definition at line 351 of file SampleProfWriter.cpp.
References llvm::enumerate(), I, llvm::make_pointer_range(), and llvm::sort().
Referenced by llvm::sampleprof::SampleProfileWriterExtBinaryBase::writeCSNameTableSection(), llvm::sampleprof::SampleProfileWriterBinary::writeNameTable(), and llvm::sampleprof::SampleProfileWriterExtBinaryBase::writeNameTable().
|
static |
|
static |
Referenced by llvm::sampleprof::SampleProfileWriter::create().