Searched refs:ScalingFactor (Results 1 – 3 of 3) sorted by relevance
417 uint64_t ScalingFactor = in calcMetadataWeights() local420 if (ScalingFactor > 1) { in calcMetadataWeights()423 Weights[I] /= ScalingFactor; in calcMetadataWeights()939 uint64_t ScalingFactor = TotalWeight / UINT32_MAX + 1; in calcEstimatedHeuristics() local942 SuccWeights[Idx] /= ScalingFactor; in calcEstimatedHeuristics()
496 Scaled64 ScalingFactor = Scaled64(1, MaxBits - Slack) / Max; in convertFloatingToInteger() local500 << ", factor = " << ScalingFactor << "\n"); in convertFloatingToInteger()503 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
1377 KnownBits ScalingFactor(IndexBitWidth); in computeKnownBitsFromOperator() local1383 ScalingFactor.Zero.setLowBits(llvm::countr_zero(TypeSizeInBytes)); in computeKnownBitsFromOperator()1386 APInt ScalingFactor(IndexBitWidth, TypeSizeInBytes); in computeKnownBitsFromOperator() local1387 IndexConst *= ScalingFactor; in computeKnownBitsFromOperator()1391 ScalingFactor = in computeKnownBitsFromOperator()1394 IndexBits = KnownBits::mul(IndexBits, ScalingFactor); in computeKnownBitsFromOperator()