diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-01-14 06:03:18 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-01-14 06:03:18 +0000 |
commit | d8976b8ed3f9ffcabceb1092a1b24999b5d307ef (patch) | |
tree | a4a86471db5e64396357ecec83762f194762aa7d /llvm/docs/CodeGenerator.rst | |
parent | 648eff1695d5b764542d51e76af4d4bfd41728ce (diff) | |
download | bcm5719-llvm-d8976b8ed3f9ffcabceb1092a1b24999b5d307ef.tar.gz bcm5719-llvm-d8976b8ed3f9ffcabceb1092a1b24999b5d307ef.zip |
SelectionDAG: add a -filter-view-dags option to llc
This option takes the name of the basic block you want to visualize
with -view-*-dags
Differential Revision: http://reviews.llvm.org/D6948
llvm-svn: 225953
Diffstat (limited to 'llvm/docs/CodeGenerator.rst')
-rw-r--r-- | llvm/docs/CodeGenerator.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/docs/CodeGenerator.rst b/llvm/docs/CodeGenerator.rst index b0a1059224e..7e5b6eb7639 100644 --- a/llvm/docs/CodeGenerator.rst +++ b/llvm/docs/CodeGenerator.rst @@ -464,7 +464,7 @@ code: mov %EAX, %EDX sar %EDX, 31 idiv %ECX - ret + ret This approach is extremely general (if it can handle the X86 architecture, it can handle anything!) and allows all of the target specific knowledge about the @@ -848,6 +848,10 @@ is based on the final SelectionDAG, with nodes that must be scheduled together bundled into a single scheduling-unit node, and with immediate operands and other nodes that aren't relevant for scheduling omitted. +The option ``-filter-view-dags`` allows to select the name of the basic block +that you are interested to visualize and filters all the previous +``view-*-dags`` options. + .. _Build initial DAG: Initial SelectionDAG Construction |