//===-------- BlockFrequency.h - Block Frequency Wrapper --------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements Block Frequency class. // //===----------------------------------------------------------------------===// #ifndef LLVM_SUPPORT_BLOCKFREQUENCY_H #define LLVM_SUPPORT_BLOCKFREQUENCY_H #include <cassert> #include <cstdint> #include <optional> namespace llvm { class raw_ostream; class BranchProbability; // This class represents Block Frequency as a 64-bit value. class BlockFrequency { … }; void printRelativeBlockFreq(raw_ostream &OS, BlockFrequency EntryFreq, BlockFrequency Freq); } // namespace llvm #endif