DocumentCode
2430550
Title
Control flow reversal for adjoint code generation
Author
Naumann, Uwe ; Utke, Jean ; Lyons, Andrew ; Fagan, Michael
Author_Institution
Math. & Comput. Sci. Div., Argonne Nat. Lab., IL
fYear
2004
fDate
16-16 Sept. 2004
Firstpage
55
Lastpage
64
Abstract
We describe an approach to the reversal of the control flow of structured programs. It is used to automatically generate adjoint code for numerical programs by semantic source transformation. After a short introduction to applications and the implementation tool set, we describe the building blocks using a simple example. We then illustrate the code reversal within basic blocks. The main part of the paper covers the reversal of structured control flow graphs. We show the algorithmic steps for simple branches and loops and give a detailed algorithm for the reversal of arbitrary combinations of loops and branches in a general control flow graph
Keywords
data flow graphs; program compilers; program control structures; adjoint code generation; code reversal; control flow reversal; numerical programs; semantic source transformation; structured control flow graphs; structured program control flow; Automatic control; Collaboration; Computer science; Contracts; Flow graphs; Laboratories; Mathematics; Open loop systems; Performance analysis; Program processors;
fLanguage
English
Publisher
ieee
Conference_Titel
Source Code Analysis and Manipulation, 2004. Fourth IEEE International Workshop on
Conference_Location
Chicago, IL
Print_ISBN
0-7695-2144-4
Type
conf
DOI
10.1109/SCAM.2004.9
Filename
1386159
Link To Document