[PATCH] D109310: [NPM] Added -print-pipeline-passes print params for a few passes.

Markus Lavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 6 03:41:54 PDT 2021


markus created this revision.
markus added reviewers: aeubanks, bjope.
Herald added subscribers: ormris, zzheng, hiraditya.
markus requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is a follow up to D108298 <https://reviews.llvm.org/D108298>

  [NPM] Added -print-pipeline-passes print params for a few passes.
  
  Added '-print-pipeline-passes' printing of parameters for those passes
  declared with *_WITH_PARAMS macro in PassRegistry.def.
  
  Note that it only prints the parameters declared inside *_WITH_PARAMS as
  in a few cases there appear to be additional parameters not parsable.
  
  The following passes are now covered (i.e. all of those with *_WITH_PARAMS in
  PassRegistry.def).
  
  LoopExtractorPass - loop-extract
  HWAddressSanitizerPass - hwsan
  EarlyCSEPass - early-cse
  EntryExitInstrumenterPass - ee-instrument
  LowerMatrixIntrinsicsPass - lower-matrix-intrinsics
  LoopUnrollPass - loop-unroll
  AddressSanitizerPass - asan
  MemorySanitizerPass - msan
  SimplifyCFGPass - simplifycfg
  LoopVectorizePass - loop-vectorize
  MergedLoadStoreMotionPass - mldst-motion
  GVN - gvn
  StackLifetimePrinterPass - print<stack-lifetime>
  SimpleLoopUnswitchPass - simple-loop-unswitch


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109310

Files:
  llvm/include/llvm/Analysis/StackLifetime.h
  llvm/include/llvm/Transforms/IPO/LoopExtractor.h
  llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h
  llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
  llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
  llvm/include/llvm/Transforms/Scalar/EarlyCSE.h
  llvm/include/llvm/Transforms/Scalar/GVN.h
  llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h
  llvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h
  llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
  llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
  llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h
  llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
  llvm/lib/Analysis/StackLifetime.cpp
  llvm/lib/Transforms/IPO/LoopExtractor.cpp
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/lib/Transforms/Scalar/GVN.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
  llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109310.370884.patch
Type: text/x-patch
Size: 17724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210906/2d8f40bd/attachment.bin>


More information about the llvm-commits mailing list