Dead code elimination based pointer analysis for multithreaded programs

This paper presents a new approach for optimizing multitheaded programs with pointer constructs. The approach has applications in the area of certified code (proof-carrying code) where a justification or a proof for the correctness of each optimization is required. The optimization meant here is tha...

Full description

Bibliographic Details
Main Author: Mohamed A. El-Zawawy
Format: Article
Language:English
Published: SpringerOpen 2012-04-01
Series:Journal of the Egyptian Mathematical Society
Online Access:http://www.sciencedirect.com/science/article/pii/S1110256X11000344
id doaj-94bf440ed36b419cb1b4c915faba640e
record_format Article
spelling doaj-94bf440ed36b419cb1b4c915faba640e2020-11-25T02:01:55ZengSpringerOpenJournal of the Egyptian Mathematical Society1110-256X2012-04-01201283710.1016/j.joems.2011.12.011Dead code elimination based pointer analysis for multithreaded programsMohamed A. El-ZawawyThis paper presents a new approach for optimizing multitheaded programs with pointer constructs. The approach has applications in the area of certified code (proof-carrying code) where a justification or a proof for the correctness of each optimization is required. The optimization meant here is that of dead code elimination. Towards optimizing multithreaded programs the paper presents a new operational semantics for parallel constructs like join-fork constructs, parallel loops, and conditionally spawned threads. The paper also presents a novel type system for flow-sensitive pointer analysis of multithreaded programs. This type system is extended to obtain a new type system for live-variables analysis of multithreaded programs. The live-variables type system is extended to build the third novel type system, proposed in this paper, which carries the optimization of dead code elimination. The justification mentioned above takes the form of type derivation in our approach.http://www.sciencedirect.com/science/article/pii/S1110256X11000344
collection DOAJ
language English
format Article
sources DOAJ
author Mohamed A. El-Zawawy
spellingShingle Mohamed A. El-Zawawy
Dead code elimination based pointer analysis for multithreaded programs
Journal of the Egyptian Mathematical Society
author_facet Mohamed A. El-Zawawy
author_sort Mohamed A. El-Zawawy
title Dead code elimination based pointer analysis for multithreaded programs
title_short Dead code elimination based pointer analysis for multithreaded programs
title_full Dead code elimination based pointer analysis for multithreaded programs
title_fullStr Dead code elimination based pointer analysis for multithreaded programs
title_full_unstemmed Dead code elimination based pointer analysis for multithreaded programs
title_sort dead code elimination based pointer analysis for multithreaded programs
publisher SpringerOpen
series Journal of the Egyptian Mathematical Society
issn 1110-256X
publishDate 2012-04-01
description This paper presents a new approach for optimizing multitheaded programs with pointer constructs. The approach has applications in the area of certified code (proof-carrying code) where a justification or a proof for the correctness of each optimization is required. The optimization meant here is that of dead code elimination. Towards optimizing multithreaded programs the paper presents a new operational semantics for parallel constructs like join-fork constructs, parallel loops, and conditionally spawned threads. The paper also presents a novel type system for flow-sensitive pointer analysis of multithreaded programs. This type system is extended to obtain a new type system for live-variables analysis of multithreaded programs. The live-variables type system is extended to build the third novel type system, proposed in this paper, which carries the optimization of dead code elimination. The justification mentioned above takes the form of type derivation in our approach.
url http://www.sciencedirect.com/science/article/pii/S1110256X11000344
work_keys_str_mv AT mohamedaelzawawy deadcodeeliminationbasedpointeranalysisformultithreadedprograms
_version_ 1724955082076717056