[llvm] [MLGO] Add EvolutionInlineAdvisor (PR #166386)
Hongzheng Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 10:57:43 PST 2025
================
@@ -0,0 +1,64 @@
+//-------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements EvolutionInlineAdvisor.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Analysis/EvolutionInlineAdvisor.h"
+#include "llvm/Analysis/InlineAdvisor.h"
+#include "llvm/Analysis/OptimizationRemarkEmitter.h"
+#include "llvm/IR/PassManager.h"
+#include "llvm/Support/CommandLine.h"
+
+using namespace llvm;
+
+// EVOLVE-BLOCK-START
----------------
chhzh123 wrote:
Additional file just increases the parsing burden of the evolutionary framework. Basically, AlphaEvolve/OpenEvolve does not have a preprocessor for this. It means that if the evolvable block is in another file, we need to provide additional context.
https://github.com/llvm/llvm-project/pull/166386
More information about the llvm-commits
mailing list