//===- bolt/Core/CallGraph.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_CALLGRAPH_H #define BOLT_PASSES_CALLGRAPH_H #include "llvm/Support/FileSystem.h" #include "llvm/Support/raw_ostream.h" #include <cassert> #include <cstdint> #include <unordered_set> #include <vector> namespace llvm { namespace bolt { // TODO: find better place for this inline int64_t hashCombine(const int64_t Seed, const int64_t Val) { … } /// A call graph class. class CallGraph { … }; template <class L> void CallGraph::printDot(StringRef FileName, L GetLabel) const { … } } // namespace bolt } // namespace llvm #endif