Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp417 uint64_t ScalingFactor = in calcMetadataWeights() local
420 if (ScalingFactor > 1) { in calcMetadataWeights()
423 Weights[I] /= ScalingFactor; in calcMetadataWeights()
939 uint64_t ScalingFactor = TotalWeight / UINT32_MAX + 1; in calcEstimatedHeuristics() local
942 SuccWeights[Idx] /= ScalingFactor; in calcEstimatedHeuristics()
H A DBlockFrequencyInfoImpl.cpp496 Scaled64 ScalingFactor = Scaled64(1, MaxBits - Slack) / Max; in convertFloatingToInteger() local
500 << ", factor = " << ScalingFactor << "\n"); in convertFloatingToInteger()
503 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
H A DValueTracking.cpp1202 KnownBits ScalingFactor(IndexBitWidth); in computeKnownBitsFromOperator() local
1208 ScalingFactor.Zero.setLowBits(llvm::countr_zero(TypeSizeInBytes)); in computeKnownBitsFromOperator()
1211 APInt ScalingFactor(IndexBitWidth, TypeSizeInBytes); in computeKnownBitsFromOperator() local
1212 IndexConst *= ScalingFactor; in computeKnownBitsFromOperator()
1216 ScalingFactor = in computeKnownBitsFromOperator()
1219 IndexBits = KnownBits::mul(IndexBits, ScalingFactor); in computeKnownBitsFromOperator()