[llvm] [llubi] Extract reusable methods of InstExecutor into ExecutorAPI (PR #186976)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 22 10:32:49 PDT 2026


================
@@ -0,0 +1,112 @@
+//===--- ExecutorAPI.h - Interface of InstExecutor ---------------*- 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TOOLS_LLUBI_EXECUTORAPI_H
+#define LLVM_TOOLS_LLUBI_EXECUTORAPI_H
+
+#include "Context.h"
+#include "Value.h"
+#include "llvm/IR/GetElementPtrTypeIterator.h"
+#include "llvm/IR/InstVisitor.h"
----------------
dtcxzyw wrote:

```suggestion
```
Unused headers.


https://github.com/llvm/llvm-project/pull/186976


More information about the llvm-commits mailing list