IR print visitor: print ir_dereference instructions
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Mar 2010 00:38:13 +0000 (17:38 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Mar 2010 01:40:36 +0000 (18:40 -0700)
commit8c70a621939e55a81a363f04dee3333772339cbe
tree0e54585385d44cbbb9b00c271e13af47d6eac61e
parent6e7c278e243e506dd10cc7e0ca5768c187c33b27
IR print visitor: print ir_dereference instructions

Also make a slight change to ir_variable.  The ir_dereference tracks
the number of nested dereferences.  If an ir_variable is visited and
the count is non-zero, just print the name of the variable.
ir_print_visitor.cpp
ir_print_visitor.h