Scaling the profile data attached to 'I' using the ratio of S/T.
Synopsis
Declared in <llvm/IR/ProfDataUtils.h>
void
scaleProfData(
Instruction& I,
uint64_t S,
uint64_t T);
Parameters
Name |
Description |
I |
The instruction whose profile data is scaled. |
S |
Numerator of the scale ratio. |
T |
Denominator of the scale ratio. |
Created with MrDocs