首页> 外文OA文献 >Compiling for Runtime Code Generation (Extended Version)
【2h】

Compiling for Runtime Code Generation (Extended Version)

机译:运行时代码生成的编译(扩展版本)

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Cyclone is a programming language that provides explicit support for dynamic specialization based on runtime code generation. To generate specialized code quickly, our Cyclone compiler uses a template based strategy in which pre-compiled code fragments are stitched together at runtime. To achieve good performance, the pre-compiled fragments must be optimized. This paper describes a principled approach to achieving such optimizations. In particular, we generalize standard flow-graph intermediate representations to support templates, define a formal mapping from (a subset of) Cyclone to this representation, and describe a data-flow analysis framework that supports standard optimizations. This extended version contains two mappings to the intermediate representation, a less formal one that emphasizes the novelties of our translation strategy and a purely functional one that is better suited to formal reasoning.
机译:Cyclone是一种编程语言,它为基于运行时代码生成的动态专业化提供显式支持。为了快速生成专用代码,我们的Cyclone编译器使用基于模板的策略,该策略在运行时将预编译的代码片段拼接在一起。为了获得良好的性能,必须优化预编译的片段。本文介绍了实现此类优化的原则方法。特别是,我们概括了标准流程图中间表示以支持模板,定义了从Cyclone(子集)到该表示的形式映射,并描述了支持标准优化的数据流分析框架。此扩展版本包含两个到中间表示的映射,一个不太正式的版本强调了我们翻译策略的新颖性,而一个纯粹功能的版本则更适合形式推理。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号