llvm/bolt/include/bolt/Passes/Inliner.h

//===- bolt/Passes/Inliner.h - Inlining infra for BOLT ----------*- 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
//
//===----------------------------------------------------------------------===//
//
// The set of optimization/analysis passes that run on BinaryFunctions.
//
//===----------------------------------------------------------------------===//

#ifndef BOLT_PASSES_INLINER_H
#define BOLT_PASSES_INLINER_H

#include "bolt/Passes/BinaryPasses.h"

namespace llvm {
namespace bolt {

enum InliningType : char {};

struct InliningInfo {};

/// Check if the inliner can handle inlining of \p BF.
InliningInfo getInliningInfo(const BinaryFunction &BF);

class Inliner : public BinaryFunctionPass {};

} // namespace bolt
} // namespace llvm

#endif