Method for representing scalar data dependences for an optimizing
compiler
    3.
    发明授权
    Method for representing scalar data dependences for an optimizing compiler 失效
    用于表示优化编译器的标量数据依赖的方法

    公开(公告)号:US5107418A

    公开(公告)日:1992-04-21

    申请号:US571503

    申请日:1990-08-23

    摘要: A method for representing scalar data dependencies for an optimizing compiler wherein a global scalar data dependence graph is created to represent all of the scalar objects in an entire program. The scalar data dependencies are represented as three chains: a use-definition chain (ud); a definition-use chain (du) or a definition-definition chain (dd), and is created for the entire program and is maintained during the entire compilation or assembly of the program. The method for determining scalar data dependences for the entire program starts by analyzing the scalar data dependences within each basic block, in a single pass, processes all definitions and uses of all non-array data objects in the basic block, including simple variables and complex data objects such as records, unions, pointers and procedure calls in the presence of aliasing. From these objects, information is collected, such as whether the data objects are upwardly or downwardly exposed, pointers, pointer aliases, aggregate objects, array objects, uses, definitions; whether they are calls, indirect uses, or indirect definitions.

    摘要翻译: 一种用于表示优化编译器的标量数据依赖性的方法,其中创建全局标量数据依赖图以表示整个程序中的所有标量对象。 标量数据依赖性表示为三个链:一个使用定义链(ud); 定义 - 使用链(du)或定义定义链(dd),并且是为整个程序创建的,并在程序的整个编译或汇编过程中被维护。 用于确定整个程序的标量数据依赖性的方法首先通过分析每个基本块中的标量数据依赖关系,在单个过程中,处理基本块中所有非数组数据对象的所有定义和使用,包括简单变量和复数 在存在混叠的情况下,记录,联合,指针和过程调用等数据对象。 从这些对象中,收集信息,例如数据对象是向上还是向下暴露,指针,指针别名,聚合对象,数组对象,使用,定义; 无论是电话,间接使用还是间接定义。