Check if Branch Weight Metadata has an "expected" field from an llvm.expect* intrinsic
Synopsis
Declared in <llvm/IR/ProfDataUtils.h>
bool
hasBranchWeightOrigin(MDNode const* ProfileData);
Parameters
Name |
Description |
ProfileData |
Metadata node. |
Created with MrDocs