Check if Branch Weight Metadata has an "expected" field from an llvm.expect* intrinsic
Declared in <llvm/IR/ProfDataUtils.h>
bool
hasBranchWeightOrigin(MDNode const* ProfileData);
True if ProfileData has an "expected" field from an llvm.expect* intrinsic. False otherwise.
| Name | Description |
|---|---|
| ProfileData | The MD_prof metadata node to inspect |