Analyzing and Transforming Programs
- 255 Downloads
Code transformations are useful for different purposes, such as improving performance, reducing memory used at runtime, reducing power consumed by the program, and so on. Usually, code transformations rely on code analysis applied either at static time or at runtime (i.e., code profiling). This chapter describes how to implement both code analysis and code transformations inside ILDJIT by describing the interface between them and the framework. Finally, several examples are both provided and described.