Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/benchmarks/
H A DLibcBenchmark.h74 double ScalingFactor = 1.4; member
203 if (Options.ScalingFactor < 1.0)
253 if (Options.ScalingFactor > 1 &&
254 Iterations * Options.ScalingFactor == Iterations)
259 Iterations *= Options.ScalingFactor;
H A DLibcBenchmarkTest.cpp102 Options.ScalingFactor = 2; in TEST_F()
118 Options.ScalingFactor = 2; in TEST_F()
134 Options.ScalingFactor = 2; in TEST_F()
H A DJSONTest.cpp85 Field(&BenchmarkOptions::ScalingFactor, BO.ScalingFactor), in equals()
H A DJSON.cpp183 O.map("ScalingFactor", Out.ScalingFactor); in fromJson()
270 JOS.attribute("ScalingFactor", BO.ScalingFactor); in serialize()
H A DLibcMemoryBenchmarkMain.cpp120 BO.ScalingFactor = 1.4; in createStudy()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp491 Scaled64 ScalingFactor; in convertFloatingToInteger() local
495 ScalingFactor = Min.inverse(); in convertFloatingToInteger()
496 ScalingFactor <<= 3; in convertFloatingToInteger()
501 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger()
506 << ", factor = " << ScalingFactor << "\n"); in convertFloatingToInteger()
508 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
H A DBranchProbabilityInfo.cpp427 uint64_t ScalingFactor = in calcMetadataWeights() local
430 if (ScalingFactor > 1) { in calcMetadataWeights()
433 Weights[I] /= ScalingFactor; in calcMetadataWeights()
949 uint64_t ScalingFactor = TotalWeight / UINT32_MAX + 1; in calcEstimatedHeuristics() local
952 SuccWeights[Idx] /= ScalingFactor; in calcEstimatedHeuristics()
H A DValueTracking.cpp1402 KnownBits ScalingFactor(IndexBitWidth); in computeKnownBitsFromOperator() local
1408 ScalingFactor.Zero.setLowBits(countTrailingZeros(TypeSizeInBytes)); in computeKnownBitsFromOperator()
1411 APInt ScalingFactor(IndexBitWidth, TypeSizeInBytes); in computeKnownBitsFromOperator() local
1412 IndexConst *= ScalingFactor; in computeKnownBitsFromOperator()
1416 ScalingFactor = in computeKnownBitsFromOperator()
1419 IndexBits = KnownBits::mul(IndexBits, ScalingFactor); in computeKnownBitsFromOperator()