Lines Matching refs:Weight
338 uint64_t Weight) { in merge() argument
349 I->Count = SaturatingMultiplyAdd(J->Count, Weight, I->Count, &Overflowed); in merge()
360 uint64_t Weight) { in scale() argument
363 I->Count = SaturatingMultiply(I->Count, Weight, &Overflowed); in scale()
373 uint64_t Weight) { in mergeValueProfData() argument
385 ThisSiteRecords[I].merge(SIPE, OtherSiteRecords[I], Weight); in mergeValueProfData()
388 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight) { in merge() argument
399 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed); in merge()
405 mergeValueProfData(Kind, Other, Weight); in merge()
408 void InstrProfRecord::scaleValueProfData(uint32_t ValueKind, uint64_t Weight) { in scaleValueProfData() argument
413 ThisSiteRecords[I].scale(SIPE, Weight); in scaleValueProfData()
416 void InstrProfRecord::scale(uint64_t Weight) { in scale() argument
419 Count = SaturatingMultiply(Count, Weight, &Overflowed); in scale()
424 scaleValueProfData(Kind, Weight); in scale()