summaryrefslogtreecommitdiff
path: root/utils/DSAextract.py
Commit message (Collapse)AuthorAge
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵Sylvestre Ledru2012-09-27
| | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164768 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164767 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-15
| | | | | | | | Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a break that I meant to include originally, for efficiency. BasicallyPatrick Meredith2005-12-20
| | | | | | | | | | | it keeps it from trying to add the same node to the node set over and over if it matches multiple given patterns. Also in cases where there are a lot of patterns to be matched, and it matches an early one, this will make the script run slightly faster. It's more there because it logically should be, than anything else, I mean, Python is never going to be fast ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24876 91177308-0d34-0410-b5e6-96231b3b80d8
* This is a script to extract nodes and edges associated with those nodesPatrick Meredith2005-12-19
from a dot file that is the output of DSA. Nodes to extract are specified by giving the name of the node seen in the graphical representation, i.e. in the .ps if the node is specified %xyz asking for just x, xy, or xyz will retain it in the output file. Because it operates on substrings underspecifying may result in additional unexpected nodes. Be as specific as possible. Obviously, however, if you ask for %xyz and there is a getelementptr of %xyz you will get both nodes. Some manual editing may still be necessary because of this, but this script can pare down 10,000 line files to 20 line files, making like easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24851 91177308-0d34-0410-b5e6-96231b3b80d8