//===- bolt/Passes/SplitFunctions.h - Split function code -------*- 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_SPLIT_FUNCTIONS_H #define BOLT_PASSES_SPLIT_FUNCTIONS_H #include "bolt/Core/FunctionLayout.h" #include "bolt/Passes/BinaryPasses.h" #include "llvm/ADT/Hashing.h" #include "llvm/Support/CommandLine.h" #include <atomic> namespace llvm { namespace bolt { /// Strategy used to partition blocks into fragments. enum SplitFunctionsStrategy : char { … }; class SplitStrategy { … }; /// Split function code in multiple parts. class SplitFunctions : public BinaryFunctionPass { … }; } // namespace bolt } // namespace llvm #endif