METHOD FOR REPRESENTING SCALAR DATA DEPENDENCIES FOR AN OPTIMIZING COMPILER
    2.
    发明授权
    METHOD FOR REPRESENTING SCALAR DATA DEPENDENCIES FOR AN OPTIMIZING COMPILER 失效
    PROCEDURE标量数据的依赖性礼物OPTIMISATIONSKOMPILER

    公开(公告)号:EP0533813B1

    公开(公告)日:1998-03-11

    申请号:EP91912005.5

    申请日:1991-06-10

    IPC分类号: G06F9/45

    摘要: A method for representing scalar data dependencies for an optimizing compiler wherein a global scalar data dependence graph (20) is created to represent all of the scalar objects in an entire program (10). 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 (10). The method for determining scalar data dependencies for the entire program (10) starts by analyzing the scalar data dependencies within each basic block (12), in a single pass, processes all definitions and uses of all non-array data objects in the basic block (12), 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.