OSDN Git Service

ir_copy_propagation: New pass to rewrite dereferences to avoid copies.
authorEric Anholt <eric@anholt.net>
Tue, 4 May 2010 20:04:40 +0000 (13:04 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 5 May 2010 00:00:42 +0000 (17:00 -0700)
commit5c89f0ecb9581cbe83442ab3f41f2f3701fffab0
treec598e307fcc03ba9eaf5c89c19fe1d1e7b261bc4
parent05a4e59c2410292f595cfe0cc552a86ae69b20d2
ir_copy_propagation: New pass to rewrite dereferences to avoid copies.

This is pretty basic.  Right now it only handles pure assignments --
same type on each side, no swizzling, and only within basic blocks.
Makefile.am
glsl_parser_extras.cpp
ir.h
ir_basic_block.cpp [new file with mode: 0644]
ir_basic_block.h [new file with mode: 0644]
ir_copy_propagation.cpp [new file with mode: 0644]
ir_copy_propagation.h [new file with mode: 0644]
ir_visit_tree.cpp [new file with mode: 0644]
ir_visit_tree.h [new file with mode: 0644]