llvm/bolt/include/bolt/Core/CallGraphWalker.h

//===- bolt/Core/CallGraphWalker.h ----------------------------*- 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_CALLGRAPHWALKER_H
#define BOLT_PASSES_CALLGRAPHWALKER_H

#include <deque>
#include <functional>
#include <vector>

namespace llvm {
namespace bolt {
class BinaryFunction;
class BinaryFunctionCallGraph;

/// Perform a bottom-up walk of the call graph with the intent of computing
/// a property that depends on callees. In the event of a CG cycles, this will
/// re-visit functions until their observed property converges.
class CallGraphWalker {};

} // namespace bolt
} // namespace llvm

#endif