//==- MemProfContextDisambiguation.h - Context Disambiguation ----*- 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 // //===----------------------------------------------------------------------===// // // Implements support for context disambiguation of allocation calls for profile // guided heap optimization using memprof metadata. See implementation file for // details. // //===----------------------------------------------------------------------===// #ifndef LLVM_TRANSFORMS_IPO_MEMPROF_CONTEXT_DISAMBIGUATION_H #define LLVM_TRANSFORMS_IPO_MEMPROF_CONTEXT_DISAMBIGUATION_H #include "llvm/Analysis/IndirectCallPromotionAnalysis.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/ModuleSummaryIndex.h" #include "llvm/IR/PassManager.h" #include "llvm/Transforms/Utils/ValueMapper.h" #include <functional> namespace llvm { class GlobalValueSummary; class Module; class OptimizationRemarkEmitter; class MemProfContextDisambiguation : public PassInfoMixin<MemProfContextDisambiguation> { … }; } // end namespace llvm #endif // LLVM_TRANSFORMS_IPO_MEMPROF_CONTEXT_DISAMBIGUATION_H