Reducing Memory Space Consumption Through Dataflow Analysis
Computer Languages, Systems and Structures
Berndl, M., Lhoták, O., Qian, F., Hendren, L., & Umanee, N. (2003). Points-to analysis using BDDs. ACM SIGPLAN Notices, 38(5), 103-114.
Please cite this item using this persistent URLhttp://hdl.handle.net/11693/12144
Memory is a key parameter in embedded systems since both code complexity of embedded applications and amount of data they process are increasing. While it is true that the memory capacity of embedded systems is continuously increasing, the increases in the application complexity and dataset sizes are far greater. As a consequence, the memory space demand of code and data should be kept minimum. To reduce the memory space consumption of embedded systems, this paper proposes a control flow graph (CFG) based technique. Specifically, it tracks the lifetime of instructions at the basic block level. Based on the CFG analysis, if a basic block is known to be not accessible in the rest of the program execution, the instruction memory space allocated to this basic block is reclaimed. On the other hand, if the memory allocated to this basic block cannot be reclaimed, we try to compress this basic block. This way, it is possible to effectively use the available on-chip memory, thereby satisfying most of instruction/data requests from the on-chip memory. Our experiments with this framework show that it outperforms the previously proposed CFG-based memory reduction approaches. (C) 2011 Elsevier Ltd. All rights