[PATCH] D145043: [llvm-c] Remove PassRegistry and initialization APIs

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 01:18:26 PST 2023


nikic created this revision.
nikic added a reviewer: aeubanks.
Herald added a reviewer: deadalnix.
Herald added subscribers: Enna1, ormris, StephenFan, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

Remove C APIs for interacting with PassRegistry and pass initialization. As pointed out in D144970 <https://reviews.llvm.org/D144970>, these are legacy PM concepts that are no longer relevant for the new pass manager. Remaining uses of the legacy passes in the codegen pipeline will be initialized automatically.

Depends on D144970 <https://reviews.llvm.org/D144970>.


https://reviews.llvm.org/D145043

Files:
  clang/docs/tools/clang-formatted-files.txt
  llvm/bindings/python/llvm/core.py
  llvm/include/llvm-c/Core.h
  llvm/include/llvm-c/Initialization.h
  llvm/include/llvm-c/Types.h
  llvm/include/llvm/PassRegistry.h
  llvm/lib/Analysis/Analysis.cpp
  llvm/lib/CodeGen/CodeGen.cpp
  llvm/lib/IR/Core.cpp
  llvm/lib/Target/Target.cpp
  llvm/lib/Transforms/IPO/IPO.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
  llvm/lib/Transforms/Scalar/Scalar.cpp
  llvm/lib/Transforms/Utils/Utils.cpp
  llvm/lib/Transforms/Vectorize/Vectorize.cpp
  llvm/tools/llvm-c-test/include-all.c
  llvm/tools/llvm-c-test/main.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145043.501415.patch
Type: text/x-patch
Size: 15415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230301/9a982ff4/attachment.bin>


More information about the llvm-commits mailing list