International Conference on Software Technology and Engineering, 3rd (ICSTE 2011)
2 To-Be-Recorded Analysis inside Derivative Code Compiler
Download citation file:
Algorithmic Differentiation (AD) is applied to numerical simulation programs in order to produce code for the computation of various kinds of derivatives. A data flow analysis called To-Be-Recorded (TBR) analysis aims to detect the set of variables required in reverse section and values that can be lost because of the overwriting in forward section for adjoint mode of AD. The implementation of the TBR analysis uses a syntax-directed algorithm based on the following attribute grammar. The expected result of TBR analysis is to get more efficient generated code in terms of memory. We have implemented TBR analysis inside our AD-tool...