Lines Matching defs:Weight
261 uint64_t Weight) {
273 I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed);
284 instrprof_error InstrProfValueSiteRecord::scale(uint64_t Weight) {
288 I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed);
296 // Scale merged value counts by \p Weight.
299 uint64_t Weight) {
310 MergeResult(Result, ThisSiteRecords[I].merge(OtherSiteRecords[I], Weight));
315 uint64_t Weight) {
326 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed);
332 MergeResult(Result, mergeValueProfData(Kind, Other, Weight));
338 uint64_t Weight) {
344 MergeResult(Result, ThisSiteRecords[I].scale(Weight));
348 instrprof_error InstrProfRecord::scale(uint64_t Weight) {
352 Count = SaturatingMultiply(Count, Weight, &Overflowed);
358 MergeResult(Result, scaleValueProfData(Kind, Weight));