TC-S Code to Write
- Relevant pages:
For the The src/ssa Directory folder you will find more information on this part in the book (Modern Compiler Implementation), in chapter “19. Static Single-Assignment Form”.
- src/canon/basic-block.cc
Complete the
get_defined_variablesandinsert_phinodehelper methods.- src/ssa/phi-node.cc
Complete the
create_moveandrename_varhelper methods.- src/tree/move.cc
Complete the
collect_defs_and_useshelper method.- src/tree/temp.cc
Complete the
collect_defs_and_useshelper method.- src/ssa/lifter.cc
Complete SSA and optimization helper methods as well as the
ssaanddead_code_eliminationmethods.