基于死代码消除的多线程程序指针分析
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 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。