#include "llvm/Support/BlockFrequency.h"
#include "llvm/Support/BranchProbability.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/ScaledNumber.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
BlockFrequency &BlockFrequency::operator*=(BranchProbability Prob) { … }
BlockFrequency BlockFrequency::operator*(BranchProbability Prob) const { … }
BlockFrequency &BlockFrequency::operator/=(BranchProbability Prob) { … }
BlockFrequency BlockFrequency::operator/(BranchProbability Prob) const { … }
std::optional<BlockFrequency> BlockFrequency::mul(uint64_t Factor) const { … }
void llvm::printRelativeBlockFreq(raw_ostream &OS, BlockFrequency EntryFreq,
BlockFrequency Freq) { … }