Fill Bitmap with the profile data for the given function name.

Synopsis

Declared in <llvm/ProfileData/InstrProfReader.h>

Error
getFunctionBitmap(
    StringRef FuncName,
    uint64_t FuncHash,
    BitVector& Bitmap);

Return Value

Success, or an error if the function bitmap cannot be read.

Parameters

Name

Description

FuncName

Function name whose bitmap is requested.

FuncHash

Function CFG hash that must match the record.

Bitmap

Output bit vector filled with the function's bitmap bytes.

Created with MrDocs