- 2
- 0
- 约4.27千字
- 约 12页
- 2017-03-09 发布于上海
- 举报
Using Path Spectra to Direct Function Cloning利用路径谱直接作用克隆
The DIRECT ProjectDelaware Interprocedural REgion-based Compiler Toolset Tom WayBen BreechWei DuMatt BridgesVes StoyanovLori Pollock What is Region-based Compilation? What happens So what’s wrong with that? DIRECT Region Formation Interprocedural Region Formation DIRECT Project: Overview Demand-driven Inliner (Wei Du) Cloning Tool (Ves Stoyanov) VIPER Tool (Matt Bridges)Visualizing InterProcEdural Regions Sample Results:Compile-time Memory Usage DIRECT Project… Wassup? * Department of Computer Information Sciences University of Delaware, Newark, Delaware Directing the interaction between inlining and region-formation Scanner Parser High-level optimizer source code Back end Aggressive Inliner Region Formation Repartitions a program into “regions”, groups of related basic blocks. Uses profiling info to select more “important” blocks to include, while weeding out others. Wraps up regions to look like functions, so rest of compiler is unchanged. before after The Compiler: The Algorithm: Select seed Add successors Add predecessors Add all desirable successors 1 5 1 4 6 2 3 7 999 960 1500 480 990 40 Criteria: block should be at least 50% as frequent as seed AND current block The good news: Controls the size of unit of compilation The bad news: We inlined the program aggressively… So the whole program (pretty much) is in memory for the duration of region formation and optimization! Scalable? Don’t think so! “If you can control the sizeof the compilation unit, youcan control compile time!” Richard Hank Univ. of Illinois Whose idea was this, anyway? Leads to better scheduling on ILP VLIW machines Scanner Parser High-level optimizer source code Back end Demand-driven Inliner Region Formation Uses Uses High-level optimizer Our idea: Integrate inlining and optimization By doing inlining and optimization as you go, things are much more scalable Can you say “interprocedural”? Improved Algorithm: Select local seed Add local successors Recurse at callsite Finish
您可能关注的文档
- Title to go here 华东政法大学图书馆 标题去这里华东政法大学图书馆.ppt
- Titulo de Presentacin teem标题和243 presentaci N 天河城.gob.mx.ppt
- Titre powerpoint selecomPowerPoint selecom标题.ppt
- TMGT TEMPLATE 2004 Intel2004年Intel tmgt模板.ppt
- TLABTLAG – LED Decorative Tulip Antique Bronze or tlabtlag–LED装饰郁金香古铜或.ppt
- To be or not to be North Park University Baseball是或不被北公园大学棒球.ppt
- TMS465 Textile Structural Compositestms465纺织结构复合材料.ppt
- TN DNG NGN HNGNghip v NHTM – T & 205n为吴194N H & 192ngnghip V的非线性–.ppt
- TT. Poggio, R. Rifkin, S. Mukherjee, P. Niyogi General.ppt
- TT. W. Schultz, 1979 Nobel Lecture Virginia Tech.ppt
最近下载
- 2024-2025学年统编版道德与法治六年级下册全册教案(教学设计).pdf VIP
- 环保在线监测系统运行维护管理体系.pdf VIP
- 冯巧根 管理会计(第4版)课后习题答案.docx VIP
- 医疗废物岗位职责.docx VIP
- 最新人教版三年级数学下册全册教案(新课标版).docx VIP
- 基于单片机的火灾报警及灭火系统.docx VIP
- 基于单片机的灭火机器人设计.doc VIP
- 安徽省定远县2025年上半年事业单位公开招聘试题含答案分析.docx VIP
- 小学数学教学中数学建模思想与生活问题解决课题报告教学研究课题报告.docx
- 中国糖尿病防治指南(2024版)解读-糖尿病相关技术.pptx
原创力文档

文档评论(0)