Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp445 Scaled64 ScalingFactor; in convertFloatingToInteger() local
449 ScalingFactor = Min.inverse(); in convertFloatingToInteger()
450 ScalingFactor <<= 3; in convertFloatingToInteger()
455 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger()
460 << ", factor = " << ScalingFactor << "\n"); in convertFloatingToInteger()
462 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
DBranchProbabilityInfo.cpp221 uint64_t ScalingFactor = in calcMetadataWeights() local
226 Weights[i] /= ScalingFactor; in calcMetadataWeights()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp471 Scaled64 ScalingFactor; in convertFloatingToInteger() local
475 ScalingFactor = Min.inverse(); in convertFloatingToInteger()
476 ScalingFactor <<= 3; in convertFloatingToInteger()
481 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger()
486 << ", factor = " << ScalingFactor << "\n"); in convertFloatingToInteger()
488 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger()
DBranchProbabilityInfo.cpp292 uint64_t ScalingFactor = in calcMetadataWeights() local
295 if (ScalingFactor > 1) { in calcMetadataWeights()
298 Weights[i] /= ScalingFactor; in calcMetadataWeights()