[DomPrinter] Migrate -dot-dom to the new pass manager.
authorYang Keao <yangkeao@chunibyo.icu>
Mon, 16 May 2022 19:12:50 +0000 (14:12 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Mon, 16 May 2022 20:07:16 +0000 (15:07 -0500)
commit7dce9eb6e507d48d0b79bfb408592936d378cc28
tree3d112e3369279846764fa43f166a5e3dd58bebc4
parent7dd05ba9ed5e8c8f0f9a9bd979b6c7a70799aed6
[DomPrinter] Migrate -dot-dom to the new pass manager.

In D123677, @YangKeao provided an implementation of `DOTGraphTraits{Viewer,Printer}` in the new pass manager. This commit migrates the `DomPrinter` and `DomViewer` to the new pass manager.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D124904
llvm/include/llvm/Analysis/DomPrinter.h
llvm/include/llvm/Analysis/PostDominators.h
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/lib/Analysis/Analysis.cpp
llvm/lib/Analysis/DomPrinter.cpp
llvm/lib/Passes/PassRegistry.def