[#llvm-getWeightFromBranchProb] = xref:llvm.adoc[llvm]::getWeightFromBranchProb :relfileprefix: ../ :mrdocs: Convert a branch probability into an unscaled edge weight. == Synopsis Declared in `<llvm/Analysis/BlockFrequencyInfoImpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint32_t getWeightFromBranchProb(xref:llvm/BranchProbability.adoc[BranchProbability] const Prob); ---- == Return Value The unscaled numerator of `Prob.` == Parameters [cols="1,4"] |=== | Name| Description | *Prob* | Branch probability whose numerator becomes the weight. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#