glsl: Add is_rvalue, is_dereference, and is_jump methods
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Mar 2015 15:55:15 +0000 (08:55 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Mar 2015 17:34:59 +0000 (10:34 -0700)
commita284c6300665d4388dae14363807a57bb82e4cb5
treea96a3b2166ef706f4c0c34e39c1f76d95a30ff04
parent25d6cdd2ff1f00e0eab532956c0ae17d4ffa42da
glsl: Add is_rvalue, is_dereference, and is_jump methods

These functions deteremine when an IR node is one of the non-leaf
classes.

v2: Adjust indentation to line up.  Suggested by Matt.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/glsl/ir.h