Push the weights right to fit in uint32_t.
Synopsis
Declared in <llvm/IR/ProfDataUtils.h>
SmallVector<uint32_t>
fitWeights(ArrayRef<uint64_t> Weights);
Return Value
The weights scaled down to fit in uint32_t.
Parameters
Name |
Description |
Weights |
The 64‐bit weights to scale down to 32 bits. |
Created with MrDocs