//===- IndirectCallPromotionAnalysis.h - Indirect call analysis -*- 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 // //===----------------------------------------------------------------------===// /// \file /// Interface to identify indirect call promotion candidates. /// //===----------------------------------------------------------------------===// #ifndef LLVM_ANALYSIS_INDIRECTCALLPROMOTIONANALYSIS_H #define LLVM_ANALYSIS_INDIRECTCALLPROMOTIONANALYSIS_H #include "llvm/ProfileData/InstrProf.h" namespace llvm { class Instruction; // Class for identifying profitable indirect call promotion candidates when // the indirect-call value profile metadata is available. class ICallPromotionAnalysis { … }; } // end namespace llvm #endif