Converts constant phi functions to copies
Simple constant propagation done
Copy propagation done
Constant folding
Constant folding done
WIP dead code elimination
Retweak to work after change to phi functions
Dead code elimination done
Apparently that didn't remotely work and the bug was just hidden by the fact our example code had nothing to eliminate. Fixed now, though!
Little bit of cleaning
Don't commit code when you can barely keep your eyes open. Fixed dead code elimination.
Expand copy propagation to also eliminate deterministic phi functions with variables instead of just constants
Minor change to dead code elimination. Think it eliminates a potential bug that I haven't actually been able to observe in practice but am fairly certain exists.
Comments and minor refactorings
Some PEP8 compliance stuff
Return CFG from the toSSA function for use in optimization passes.
Function renaming to demarkate functions that are part of the public interface and functions that are private. Private functions have prefix '_'
Restructring for readability and code reuse
Merge pull request #3 from minuteman3/constant_prop_optimizations

Constant propagation and dead code elimination