summaryrefslogtreecommitdiff
path: root/ir_copy_propagation.cpp
AgeCommit message (Collapse)Author
2010-05-05Move optimization pass prototypes to a single header.Eric Anholt
2010-05-05ir_copy_propagation: Fix up the doxygen about the file.Eric Anholt
2010-05-05ir_copy_propagation: Return true if we optimized out any assignments.Eric Anholt
This may trigger other optimization phases to make more progress themselves.
2010-05-05ir_copy_propagation: Handle swizzles and array derefs on LHS of assign.Eric Anholt
This improves the ACP to not get cleared when more complicated assignments occur, cleaning up more redundant copies in programs.
2010-05-04ir_copy_propagation: New pass to rewrite dereferences to avoid copies.Eric Anholt
This is pretty basic. Right now it only handles pure assignments -- same type on each side, no swizzling, and only within basic blocks.