Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
InstrProfWriter.cpp File Reference
#include "llvm/ProfileData/InstrProfWriter.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/ProfileData/DataAccessProf.h"
#include "llvm/ProfileData/IndexedMemProfData.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/ProfileData/ProfileCommon.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/OnDiskHashTable.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <ctime>
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "llvm/ProfileData/InstrProfData.inc"

Go to the source code of this file.

Classes

class  llvm::InstrProfRecordWriterTrait

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define VALUE_PROF_KIND(Enumerator, Value, Descr)
#define INSTR_PROF_VISIBILITY
#define INSTR_PROF_DATA(Type, LLVMType, Name, Initializer)
#define INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Initializer)
#define INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer)
#define INSTR_PROF_RAW_HEADER(Type, Name, Initializer)
#define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType)
#define INSTR_PROF_COMMA
#define INSTR_PROF_DATA_DEFINED
#define COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer)
#define COVMAP_HEADER(Type, LLVMType, Name, Initializer)
#define COVINIT_FUNC(Type, LLVMType, Name, Initializer)

Functions

static void setSummary (IndexedInstrProf::Summary *TheSummary, ProfileSummary &PS)

Variables

static const charValueProfKindStr []

Macro Definition Documentation

◆ COVINIT_FUNC

#define COVINIT_FUNC ( Type,
LLVMType,
Name,
Initializer )

◆ COVMAP_FUNC_RECORD

#define COVMAP_FUNC_RECORD ( Type,
LLVMType,
Name,
Initializer )

◆ COVMAP_HEADER

#define COVMAP_HEADER ( Type,
LLVMType,
Name,
Initializer )

◆ INSTR_PROF_COMMA

#define INSTR_PROF_COMMA

◆ INSTR_PROF_DATA

#define INSTR_PROF_DATA ( Type,
LLVMType,
Name,
Initializer )

◆ INSTR_PROF_DATA_DEFINED

#define INSTR_PROF_DATA_DEFINED

◆ INSTR_PROF_RAW_HEADER

#define INSTR_PROF_RAW_HEADER ( Type,
Name,
Initializer )

◆ INSTR_PROF_VALUE_NODE

#define INSTR_PROF_VALUE_NODE ( Type,
LLVMType,
Name,
Initializer )

◆ INSTR_PROF_VISIBILITY

#define INSTR_PROF_VISIBILITY

◆ INSTR_PROF_VTABLE_DATA

#define INSTR_PROF_VTABLE_DATA ( Type,
LLVMType,
Name,
Initializer )

◆ VALUE_PROF_FUNC_PARAM

#define VALUE_PROF_FUNC_PARAM ( ArgType,
ArgName,
ArgLLVMType )

◆ VALUE_PROF_KIND

#define VALUE_PROF_KIND ( Enumerator,
Value,
Descr )
Value:
#Enumerator,

Function Documentation

◆ setSummary()

Variable Documentation

◆ ValueProfKindStr

const char* ValueProfKindStr[]
static

Definition at line 687 of file InstrProfWriter.cpp.

Referenced by llvm::InstrProfWriter::writeRecordInText().