//===--- CodeGenPGO.h - PGO Instrumentation for LLVM CodeGen ----*- 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 // //===----------------------------------------------------------------------===// // // Instrumentation-based profile-guided optimization // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LIB_CODEGEN_CODEGENPGO_H #define LLVM_CLANG_LIB_CODEGEN_CODEGENPGO_H #include "CGBuilder.h" #include "CodeGenModule.h" #include "CodeGenTypes.h" #include "MCDCState.h" #include "llvm/ProfileData/InstrProfReader.h" #include <array> #include <memory> #include <optional> namespace clang { namespace CodeGen { /// Per-function PGO state. class CodeGenPGO { … }; } // end namespace CodeGen } // end namespace clang #endif