#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Passes/PassPlugin.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Analysis/InlineAdvisor.h"
usingnamespacellvm;
namespace {
InlineAdvisor *DefaultAdvisorFactory(Module &M, FunctionAnalysisManager &FAM,
InlineParams Params, InlineContext IC) { … }
struct DefaultDynamicAdvisor : PassInfoMixin<DefaultDynamicAdvisor> { … };
}
llvm::PassPluginLibraryInfo getDefaultDynamicAdvisorPluginInfo() { … }
extern "C" LLVM_ATTRIBUTE_WEAK ::llvm::PassPluginLibraryInfo
llvmGetPassPluginInfo() { … }