summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt-viewer/opt-stats.py
Commit message (Collapse)AuthorAgeFilesLines
* Python compat - no explicit reference to Python versionSerge Guelton2019-01-031-1/+1
| | | | | | | | Update documentation and shebang. Differential Revision: https://reviews.llvm.org/D56252 llvm-svn: 350327
* Fix some opt-viewer test issues and disable on Windows.Zachary Turner2018-01-051-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D41784 llvm-svn: 321905
* Make find_opt_files varargAdam Nemet2017-09-291-1/+1
| | | | | | | This is slightly less verbose for the common case of a single build directory and more intuitive when using this API directly from the interpreter. llvm-svn: 314491
* [opt-viewer] Print allocated memory per remark in opt-stats.pyAdam Nemet2017-07-191-1/+13
| | | | | | | If heapy is installed print the "average" in-memory remark size. This is estimated by dividing the total heap size by the number of unique remarks. llvm-svn: 308537
* [opt-viewer] Accept directories that are searched for opt.yaml filesAdam Nemet2017-07-171-2/+12
| | | | | | | | | | | | This allows to pass the build directory where all the opt.yaml files are rather than find | xargs which may invoke opt-viewer multiple times producing incomplete html output. The patch generalizes the same functionality from opt-diff. Differential Revision: https://reviews.llvm.org/D35491 llvm-svn: 308200
* [opt-viewer] Move under tools, install itAdam Nemet2017-07-061-0/+56
We weren't installing opt-viewer and co before, this fixes the omission. I am also moving the tools from utils/ to tools/. I believe that this is more appropriate since these tools have matured greatly in the past year through contributions by multiple people (thanks!) so they are ready to become external tools. The tools are installed under <install>/share/opt-viewer/. I am *not* adding the llvm- prefix. If people feel strongly about adding that, this is probably a good time since the new location will require some mental adjustment anyway. Fixes PR33521 Differential Revision: https://reviews.llvm.org/D35048 llvm-svn: 307285
OpenPOWER on IntegriCloud