[PassManager] Implement DOTGraphTraitsViewer under NPM
authorMichael Kruse <llvm-project@meinersbur.de>
Mon, 9 May 2022 18:38:16 +0000 (13:38 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Mon, 9 May 2022 19:04:28 +0000 (14:04 -0500)
commita6b399ad79cfa994621938b2acd426b79e20566a
tree08dd16e3ee10b557350bf71b9c5e01ce7cf92dd1
parentf5d054cdc12ef6c94a75c42400372ad525934bca
[PassManager] Implement DOTGraphTraitsViewer under NPM

Rename the legacy `DOTGraphTraits{Module,}{Viewer,Printer}` to the corresponding `DOTGraphTraits...WrapperPass`, and implement a new `DOTGraphTraitsViewer` with new pass manager.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D123677
llvm/include/llvm/Analysis/DOTGraphTraitsPass.h
llvm/lib/Analysis/DomPrinter.cpp
llvm/lib/Analysis/RegionPrinter.cpp
polly/lib/Analysis/ScopGraphPrinter.cpp