Constructors

Synopses

Declared in <llvm/ProfileData/InstrProf.h>

Construct an empty profile record.

constexpr
InstrProfRecord() = default;

Copy‐construct a profile record, cloning value‐profile data.

Move‐construct a profile record.

constexpr
InstrProfRecord(InstrProfRecord&& RHS) = default;

Construct a record from edge/block counts.

InstrProfRecord(std::vector<uint64_t> Counts);

Construct a record from counts and bitmap bytes.

InstrProfRecord(
    std::vector<uint64_t> Counts,
    std::vector<uint8_t> BitmapBytes);

Parameters

Name

Description

RHS

Record to copy.

Counts

Per‐block or per‐edge counts.

BitmapBytes

Coverage / MC/DC bitmap bytes.

Created with MrDocs