diff options
author | David Greene <greened@obbligato.org> | 2010-01-15 19:43:23 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-01-15 19:43:23 +0000 |
commit | 554039a914e7cb9514411e79906e4f676aab4849 (patch) | |
tree | 32480eb26140b4f8add92b42d22cb768c27b00be /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 082c3e69eb43c76c5b79cdf684f7a83f76dd78fa (diff) | |
download | llvm-554039a914e7cb9514411e79906e4f676aab4849.zip llvm-554039a914e7cb9514411e79906e4f676aab4849.tar.gz llvm-554039a914e7cb9514411e79906e4f676aab4849.tar.bz2 |
Add some debug routines to SelectionDAG to dump full DAGs.
print/dumpWithDepth allows one to dump a DAG up to N levels deep.
dump/printWithFullDepth prints the whole DAG, subject to a depth limit
on 100 in the default case (to prevent infinite recursion).
Have CannotYetSelect to a dumpWithFullDepth so it is clearer exactly
what the non-matching DAG looks like.
llvm-svn: 93538
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions