首页> 外国专利> Method of replacing lvalues by variables in programs containing nested aggregates in an optimizing compiler

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.
机译:一种用于分析和优化定义和使用聚合数据结构的程序的方法。检查要分析和优化的程序,以查找左值的定义和用途,即内存区域。左值可以由程序变量,指针表达式或聚合左值的组件表示。数据流求解器确定左值的定义在何处使用。为定义和用途计算了一组“最不通用的统一体”。为每个确定为可替换的最小通用统一变量创建一个替换变量。对对应于可替换的最小通用统一名的左值的每个引用都由对相应替换变量或其组件的引用替换。该方法即使在存在潜在混叠的情况下也适用。

著录项

  • 公开/公告号US5710927A

    专利类型

  • 公开/公告日1998-01-20

    原文格式PDF

  • 申请/专利权人 KUCK & ASSOCIATES INC.;

    申请/专利号US19950490130

  • 发明设计人 ARCH D. ROBISON;

    申请日1995-06-14

  • 分类号G06F9/00;

  • 国家 US

  • 入库时间 2022-08-22 02:40:18

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号