Path: blob/main/contrib/llvm-project/lld/ELF/CallGraphSort.h
34869 views
//===- CallGraphSort.h ------------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLD_ELF_CALL_GRAPH_SORT_H9#define LLD_ELF_CALL_GRAPH_SORT_H1011#include "llvm/ADT/DenseMap.h"1213namespace lld::elf {14class InputSectionBase;1516llvm::DenseMap<const InputSectionBase *, int> computeCacheDirectedSortOrder();1718llvm::DenseMap<const InputSectionBase *, int> computeCallGraphProfileOrder();19} // namespace lld::elf2021#endif222324