summaryrefslogtreecommitdiff
path: root/ir_basic_block.cpp
AgeCommit message (Collapse)Author
2010-06-22Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL.Eric Anholt
2010-05-17Reimplement has_call_callback using ir_hierarchical_vistorIan Romanick
This has the added advantage that it will stop traversing the tree as soon as the first call is found. The output of all test cases was verified to be the same using diff.
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-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.