Checks if an MDNode contains Branch Weight Metadata

Synopsis

Declared in <llvm/IR/ProfDataUtils.h>

bool
isBranchWeightMD(MDNode const* ProfileData);

Return Value

True if ProfileData contains branch weight metadata. False otherwise.

Parameters

Name

Description

ProfileData

The MD_prof metadata node to inspect

Created with MrDocs