Return the offset to the first branch weight data

Synopsis

Declared in <llvm/IR/ProfDataUtils.h>

unsigned int
getBranchWeightOffset(MDNode const* ProfileData);

Return Value

The index of the first branch weight operand in ProfileData.

Parameters

Name

Description

ProfileData

The MD_prof metadata node to inspect

Created with MrDocs