期刊文献+

基于LLVM中间表示的数据依赖并行计算方法 被引量:1

Approach of parallel data dependence relation computation based on LLVM IR
下载PDF
导出
摘要 底层虚拟机(LLVM)是一个广泛使用的编译框架,其中间表示(IR)中包含有丰富的程序分析信息,众多以LLVM为平台的相关工作均以IR为基础开展。数据依赖关系在错误检测、定位及程序调试等领域有着重要应用,基于IR的数据依赖关系计算多采用串行迭代方式,但在应对较大规模IR文件时可扩展性不够理想。对此进行了数据依赖关系计算中指令读写的可并行性挖掘,结合图形处理器并行计算优势,提出一种基于LLVM IR的数据依赖关系并行计算方法DRPC。以IR为输入,采用CPU-GPU双端协同方式实现程序数据依赖关系的高效计算。实验结果表明,针对基准程序集SPEC,DRPC分别在直接及传递数据依赖关系计算上最高获得了3.48x和4.91x的加速比。 The low level virtual machine(LLVM)is a widely used compiler framework.Its intermediate representation(IR)contains abundant program analysis information,and many related work based on program analysis takes a basis of IR.Data dependence plays an important role in fault detection,fault location,and program debugging.IR-based data-dependence computing often adopts serial iterative approaches,such approaches usually suffer scalability issues when dealing with larger-scale IR contents.To address above issues,this paper carried out the parallelism mining of instructions reading and writing in data dependence calculation.Combined with the parallel computing advantages of graphics processing unit,it proposed a parallel computing method DRPC based on LLVM IR.This method accepted IR as inputs,and achieved efficient program data dependence computation through a CPU-GPU cooperation way.The experimental results show that DRPC’s highest speedup is 3.48 x and 4.9 x respectively in the direct and transitive data dependence computation with benchmark SPEC.
作者 朱燕 衷璐洁 Zhu Yan;Zhong Lujie(College of Information Engineering,Capital Normal University,Beijing 100048,China)
出处 《计算机应用研究》 CSCD 北大核心 2020年第2期437-442,共6页 Application Research of Computers
基金 国家自然科学基金资助项目(61872253,61402303).
关键词 底层虚拟机 中间表示 数据依赖 图形处理器 可扩展性 LLVM intermediate representation data dependence graphics processing unit scalability
  • 相关文献

参考文献5

二级参考文献133

  • 1Zhen-QiangChen,Bao-WenXu,Yu-MingZhou.Measuring Class Cohesion Based on Dependence Analysis[J].Journal of Computer Science & Technology,2004,19(6):859-866. 被引量:1
  • 2徐宝文,聂长海,史亮,陈火旺.一种基于组合测试的软件故障调试方法[J].计算机学报,2006,29(1):132-138. 被引量:38
  • 3高念书,硕士学位论文,1994年 被引量:1
  • 4Li Z,Language and Compliers for Parallel Computing,1990年 被引量:1
  • 5Shen Z,Proc International Conference on Parallel Processing,1989年 被引量:1
  • 6Zeller A. Why Programs Fail: A Guide to Systematic Debugging. 2nd Edition. Amsterdam, Holland: Elsevier, 2009. 被引量:1
  • 7Jones J A, Harrold M J, Stasko J. Visualization of test information to assist fault localization//Proceedings of the 24th International Conference on Software Engineering. Florida, USA, 2002:467-477. 被引量:1
  • 8Renieres M, Reiss S P. Fault localization with nearest neighbor queries//Proceedings of 18th IEEE International Conference on the Automated Software Engineering. Montreal, Canada, 2003, 30-39. 被引量:1
  • 9Lihlit B, Aiken A, Zheng A X, et al. Bug isolation via remote program sampling//Proceedings of the ACM SIGPLAN 2003 Conference on Programming Language Design and Implemen- tation. San Diego, USA, 2003:141-154. 被引量:1
  • 10Jones J A. Fault localization using visualization of test information//Proceedings of the 26th IEEE International Conference on Software Engineering. Scotland, UK, 2004, 54-56. 被引量:1

共引文献31

同被引文献11

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部