Checks if an instructions has valid Branch Weight Metadata
Declared in <llvm/IR/ProfDataUtils.h>
<llvm/IR/ProfDataUtils.h>
bool hasValidBranchWeightMD(Instruction const& I);
True if I has an MD_prof node containing valid Branch Weights, i.e., one weight for each successor. False otherwise.