【24h】

A SIMPLE DATA DEPENDENCY ANALYZER FOR C PROGRAMS

机译:用于C程序的简单数据依赖分析器

获取原文

摘要

Data dependencies that exist in a sequential program are a major hindrance towards parallelization. Dependencies between simple statements are relatively easy to detect. However, there are a lot of dependencies that are hidden due to procedure calls. Most of interprocedural data dependencies are caused by the use of global variables, passing of information via parameters and also by aliasing. Furthermore, data dependency analysis is a complex task, requiring much analysis and resources. Our work reports on the development of a simple interprocedural data dependency analyzer for C programs incorporating simple techniques. A read and write set is created for each statement, 'which are then compared for overlapping variable names. Using this technique, we are able to check dependencies between statements, across procedures, within a procedure, array loops, 1F-THEN-ELSE blocks as well as standard library function calls. Results from this analyzer is a dependency table which can be used by a parallelizing compiler.
机译:顺序程序中存在的数据依赖性是并行化的主要障碍。简单语句之间的依赖性相对容易检测。但是,由于过程调用,有很多隐藏的依赖项。过程间数据的大多数依赖关系是由于使用全局变量,通过参数传递信息以及别名引起的。此外,数据依赖性分析是一项复杂的任务,需要大量的分析和资源。我们的工作报告了一个简单的过程间数据相关性分析器的开发,该分析器用于包含简单技术的C程序。将为每个语句创建一个读写集,然后将其比较以获取重叠的变量名。使用此技术,我们能够检查过程之间,过程之间,过程内的语句之间的依赖性,数组循环,1F-THEN-ELSE块以及标准库函数调用。该分析器的结果是一个依赖关系表,可由并行化编译器使用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号