[Utils] Improved chunk-print-before-all.py script
authordbakunevich <dbakunevich@azul.com>
Mon, 14 Nov 2022 09:26:55 +0000 (16:26 +0700)
committerdbakunevich <dbakunevich@azul.com>
Tue, 22 Nov 2022 18:11:54 +0000 (01:11 +0700)
commit073aebc431d55d895f84d84f61cd6a1a358a4d2f
tree88bb4b75f0c3435cc34beef1d13cf4e98e1c5231
parent48ab3e75279a7a7d0221e9dc3b60c59cdf41330d
[Utils] Improved chunk-print-before-all.py script

As part of this patch, the ability to work with dump files
containing ir after passes received using the -print-after-all
option was added to script chunk-print-before-all.py.
The names of the output files have also been changed.
Before: chunk-NUM.ll
Now: NUM-STAGE-PASS_NAME.ll
NUM - sequence number of the pass operation.
STAGE - stage of the pass operation (for example: before, after, dump).
PASS_NAME - the name of the pass.
llvm/utils/chunk-print-before-all.py