Searched refs:ScalingFactor (Results 1 – 3 of 3) sorted by relevance
478 Scaled64 ScalingFactor; in convertFloatingToInteger() local482 ScalingFactor = Min.inverse(); in convertFloatingToInteger()483 ScalingFactor <<= 3; in convertFloatingToInteger()488 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger()493 << ", factor = " << ScalingFactor << "\n"); in convertFloatingToInteger()495 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
356 uint64_t ScalingFactor = in calcMetadataWeights() local359 if (ScalingFactor > 1) { in calcMetadataWeights()362 Weights[I] /= ScalingFactor; in calcMetadataWeights()891 uint64_t ScalingFactor = TotalWeight / UINT32_MAX + 1; in calcEstimatedHeuristics() local894 SuccWeights[Idx] /= ScalingFactor; in calcEstimatedHeuristics()
1315 KnownBits ScalingFactor(IndexBitWidth); in computeKnownBitsFromOperator() local1321 ScalingFactor.Zero.setLowBits(countTrailingZeros(TypeSizeInBytes)); in computeKnownBitsFromOperator()1324 APInt ScalingFactor(IndexBitWidth, TypeSizeInBytes); in computeKnownBitsFromOperator() local1325 IndexConst *= ScalingFactor; in computeKnownBitsFromOperator()1329 ScalingFactor = in computeKnownBitsFromOperator()1332 IndexBits = KnownBits::mul(IndexBits, ScalingFactor); in computeKnownBitsFromOperator()