axe_transform.h 770 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Andrea Di Biagio
  3. * Politecnico di Milano, 2007
  4. *
  5. * axe_transform.h
  6. * Formal Languages & Compilers Machine, 2007/2008
  7. *
  8. */
  9. #ifndef _AXE_TRANSFORM_H
  10. #define _AXE_TRANSFORM_H
  11. #include "axe_engine.h"
  12. #include "axe_cflow_graph.h"
  13. #include "axe_reg_alloc.h"
  14. /* once executed the liveness analysis, by calling this function
  15. * we will obtain a graph with the correct load and store
  16. * instructions */
  17. extern t_cflow_Graph * insertLoadAndStoreInstr
  18. (t_program_infos *program, t_cflow_Graph *graph);
  19. /* update the instructions within the control flow graph with the
  20. * informations retrieved from the register allocation */
  21. extern void updateProgramInfos(t_program_infos *program
  22. , t_cflow_Graph *graph, t_reg_allocator *RA);
  23. #endif