发明名称 Method of replacing lvalues by variables in programs containing nested aggregates in an optimizing compiler
摘要 A method for analyzing and optimizing programs that define and use aggregate data structures. A program to be analyzed and optimized is inspected to find definitions and uses of lvalues, which are regions of memory. The lvalues may be denoted by program variables, pointer expressions, or components of aggregate lvalues. A data-flow solver determines where definitions of lvalues reach uses. A set of "least general unifiers" are computed for the definitions and uses. A replacement variable is created for each least general unifier that is determined to be replaceable. Each reference to an lvalue that corresponds to a replaceable least general unifier is replaced by a reference to the corresponding replacement variable or a component thereof. The method is applicable even in the presence of potential aliasing.
申请公布号 US5710927(A) 申请公布日期 1998.01.20
申请号 US19950490130 申请日期 1995.06.14
申请人 KUCK & ASSOCIATES, INC. 发明人 ROBISON, ARCH D.
分类号 G06F9/45;(IPC1-7):G06F9/00 主分类号 G06F9/45
代理机构 代理人
主权项
地址