Scale an individual branch count.
Synopsis
Declared in <llvm/IR/ProfDataUtils.h>
uint32_t
scaleBranchCount(
uint64_t Count,
uint64_t Scale);
Description
Scale a 64‐bit weight down to 32‐bits using Scale.
Return Value
The 32‐bit scaled branch count.
Parameters
Name |
Description |
Count |
The 64‐bit branch count to scale. |
Scale |
The divisor returned by |
Created with MrDocs