Return the number of branch weights stored in ProfileData

Synopsis

Declared in <llvm/IR/ProfDataUtils.h>

unsigned int
getNumBranchWeights(MDNode const& ProfileData);

Return Value

The number of branch weights in ProfileData.

Parameters

Name

Description

ProfileData

The MD_prof metadata node to inspect

Created with MrDocs