[llvm] [MergeFunctions] Add support to run the pass over a set of function pointers (PR #111045)

Rafael Eckstein via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 27 07:20:34 PST 2024


================
@@ -25,6 +27,10 @@ class Module;
 class MergeFunctionsPass : public PassInfoMixin<MergeFunctionsPass> {
 public:
   PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
+
+  static bool runOnModule(Module &M);
+  static std::pair<bool, DenseMap<Function *, Function *>>
+  runOnFunctions(std::set<Function *> &F);
----------------
Casperento wrote:

Resolved in [350395d](https://github.com/llvm/llvm-project/pull/111045/commits/350395d7c6e7614e3012443abe155cfc1b307e87).

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


More information about the llvm-commits mailing list