Home
last modified time | relevance | path

Searched refs:ScalingFactor (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp478 Scaled64 ScalingFactor; in convertFloatingToInteger() local
482 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()
H A DBranchProbabilityInfo.cpp356 uint64_t ScalingFactor = in calcMetadataWeights() local
359 if (ScalingFactor > 1) { in calcMetadataWeights()
362 Weights[I] /= ScalingFactor; in calcMetadataWeights()
891 uint64_t ScalingFactor = TotalWeight / UINT32_MAX + 1; in calcEstimatedHeuristics() local
894 SuccWeights[Idx] /= ScalingFactor; in calcEstimatedHeuristics()
H A DValueTracking.cpp1315 KnownBits ScalingFactor(IndexBitWidth); in computeKnownBitsFromOperator() local
1321 ScalingFactor.Zero.setLowBits(countTrailingZeros(TypeSizeInBytes)); in computeKnownBitsFromOperator()
1324 APInt ScalingFactor(IndexBitWidth, TypeSizeInBytes); in computeKnownBitsFromOperator() local
1325 IndexConst *= ScalingFactor; in computeKnownBitsFromOperator()
1329 ScalingFactor = in computeKnownBitsFromOperator()
1332 IndexBits = KnownBits::mul(IndexBits, ScalingFactor); in computeKnownBitsFromOperator()