//===- bolt/Passes/ReorderFunctions.h - Reorder functions -------*- 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 // //===----------------------------------------------------------------------===// #ifndef BOLT_PASSES_REORDER_FUNCTIONS_H #define BOLT_PASSES_REORDER_FUNCTIONS_H #include "bolt/Core/BinaryFunctionCallGraph.h" #include "bolt/Passes/BinaryPasses.h" namespace llvm { namespace bolt { class Cluster; /// Modify function order for streaming based on hotness. class ReorderFunctions : public BinaryFunctionPass { … }; } // namespace bolt } // namespace llvm #endif // BOLT_PASSES_REORDER_FUNCTIONS_H