Get the valid branch weights metadata node
Declared in <llvm/IR/ProfDataUtils.h>
MDNode*
getValidBranchWeightMDNode(Instruction const& I);
A pointer to I's valid branch weights metadata node, if it exists. Nullptr otherwise.
| Name | Description |
|---|---|
| I | The Instruction to get the weights from. |