布施什么意思| 心脏房颤是什么症状| 腊月初四是什么星座| 三周年祭奠有什么讲究| c肽高说明什么| 襄是什么意思| 什么是中产阶级| 背部长痘痘是什么原因造成| 黄芪配什么不上火| 手机流量是什么| 6月18号是什么星座| 尿液发黄什么原因| 精字五行属什么| 道地药材是什么意思| 茯苓的功效与作用是什么| 财主代表什么生肖| cb是什么意思| 限期使用日期是什么意思| 捡和拣有什么区别| 间歇脉多见于什么病| 一什么荷叶| 手脚经常发麻是什么原因| 肾上腺挂什么科| 是什么意思啊| 化疗后骨髓抑制是什么意思| 航空器是什么| 科学解释什么叫上火| 厌恶是什么意思| 全身痒是什么病| 董五行属什么| 皮肤过敏吃什么| sn是什么| 精虫上脑是什么意思| 双子座和什么星座最不配| 月非念什么| 雷什么风什么成语| 白痰咳嗽用什么药最好| 痔疮是什么样子的| 左侧后背疼是什么原因男性| 正常小便是什么颜色| 湘女多情是什么意思| 党内的最高处分是什么| 合菜是什么| 梦见大胖小子是什么意思| 血糖高的人应该吃什么食物最好| 宾馆和酒店有什么区别| 血红蛋白浓度是什么意思| 月子里可以吃什么蔬菜| 拉肚子可以吃什么食物| 夏天什么面料的衣服最舒服| 孕吐什么时候出现| 路演是什么意思| 泥丸宫在什么位置| 小舌头学名叫什么| 目翳是什么意思| 爱是什么感觉| 常吃南瓜子有什么好处和坏处| 肺部感染有什么症状| 淋巴肿了吃什么消炎药| 梦见下大雪是什么预兆| 湾湾是什么意思| 味素是什么| 胖次是什么意思| 清油是什么油| 平舌音是什么| 老年人头晕挂什么科| 怕什么| 梦见摘西红柿是什么意思| no2是什么| 月经期生气会造成什么后果| 熹字五行属什么| 什么货币最值钱| 内分泌失调吃什么食物好| ts是什么意思| 阴虱用什么药最有效| 莲藕不能和什么一起吃| 4月6日什么星座| 幼儿园什么时候放暑假| 佛性是什么意思| 下身有异味用什么药| 勾践属什么生肖| 2月4号是什么星座| 2019属什么生肖| 香菇炒什么菜好吃| 喝鲜羊奶有什么好处和坏处| 胡说八道是什么意思| 恩怨是什么意思| 经常喝茶叶有什么好处| 默契的意思是什么| 狗的尾巴有什么作用| 戒心是什么意思| 牙周病是什么| 梦见死人复活什么预兆| 昝是什么意思| 挂急诊和门诊有什么区别| fev1是什么意思| 耳石症是什么原因引起的| 单抗主要治疗什么| 1114是什么星座| 风热感冒吃什么消炎药| 铿锵玫瑰是什么意思| 迁移宫是什么意思| 91年什么命| 甲状腺球蛋白低是什么原因| 三唑仑是什么药| 鼻梁有横纹是什么原因| 流产能吃什么水果| 咳嗽发烧是什么原因| 副省长是什么级别| 苦荞茶有什么功效| 连号的钱为什么不能花| 怀孕有什么表现| 一什么桥| 阴虚湿热吃什么中成药| 姓丁的女孩起什么名字好| 左眼跳什么意思| 春天的花开秋天的风是什么歌| 什么床不能睡觉| 一什么点心| 冰心的原名叫什么| 羟苯乙酯是什么东西| 胰腺炎可以吃什么| pw是什么| 咳嗽有白痰一直不好是什么原因| 8.2号是什么星座| 肠炎能吃什么水果| 什么是音色| 茉莉花茶属于什么茶| 嗝屁是什么意思| 肠鸣是什么原因| 两个人背靠背是什么牌子| 是什么| 2月7日是什么星座| 牛吃什么| 如泰山前面一个字是什么啊| 车牌字体是什么字体| 说辞是什么意思| 甲减和甲亢有什么区别| 记忆力减退吃什么药效果好| 什么时辰出生最好| 心电图是检查什么的| 支原体抗体阳性是什么意思| 怀孕不到一个月有什么症状| 阳性阴性是什么意思| 茂盛的意思是什么| 拘谨是什么意思| 测怀孕的试纸叫什么| 整个后背疼是什么原因| 十八罗汉分别叫什么| 蒙羞是什么意思| 马甲线是什么意思| 四川大学校长什么级别| 早孕试纸什么时候测最准确| 嗓子不舒服挂什么科| 抽筋缺什么维生素| 小根蒜学名叫什么| 四平八稳是什么生肖| 香水前调中调后调是什么意思| 堃怎么读什么意思| 晚上五点是什么时辰| 闷骚什么意思| 孕妇现在吃什么水果好| 什么时候跑步减肥效果最好| 什么是细节描写| 小苏打是什么| 线束厂是做什么的| cml是什么意思| 站着腰疼是什么原因引起的| 什么是天眼| 电器发生火灾用什么灭火器| 孕妇胆固醇高对胎儿有什么影响| 每天喝豆浆有什么好处| 转网是什么意思| imei是什么意思| 吃什么增肥最快| 孙悟空是个什么样的人| 噫气是什么意思| 1953年属什么| 早搏心律不齐吃什么药| 阴毛有什么用| 舌头看什么科| 什么是碱性水| 处女座属于什么星象| 吃什么降尿酸最有效| 什么样的柳条| 师参谋长是什么军衔| 荡气回肠什么意思| 拉新是什么意思| 教育是什么意思| 园五行属什么| 子痫是什么病| 脑软化灶是什么意思| 双签是什么意思| 上眼药是什么意思| 两肺纹理增多模糊是什么意思| .什么意思| ofs是什么意思| 女人下面长什么样| 男孩适合学什么专业| 什么是脂肪肝| 什么水果最老实| 梦见前男友是什么意思| 1990是什么生肖| 牙齿冷热都疼是什么原因| 胃热吃什么药效果好| cp感什么意思| 4月9日什么星座| 兼得是什么意思| ct是什么| 肉桂和桂皮有什么区别| 升血压吃什么药| 腰背疼痛挂什么科| 手指甲有月牙代表什么| 西夏是现在的什么地方| 苹果越狱是什么意思啊| 排卵期同房后要注意什么| 什么是沙眼| 皮肤癣用什么药| 去香港澳门需要什么证件| 2005属什么| 冠心病什么症状表现| 狮子座跟什么星座最配| 兔肉不能和什么一起吃| 癌变是什么意思| 生酮是什么| 日本浪人是什么意思| 阴道里面有个肉球是什么| 怀孕前三个月需要注意什么| 痰盂是什么意思| 天网是什么意思| 牙疼不能吃什么| 2002年属什么生肖| 心眼是什么意思| 宁字属于五行属什么| 羊传染人的病叫什么名| 热火朝天是什么意思| 维和部队是干什么的| 左后背疼什么原因| 小儿舌苔白厚什么原因| 匀字五行属什么| 耳后淋巴结肿大挂什么科| 妇科炎症用什么药最好| 下焦湿热吃什么药| 容易长口腔溃疡是什么原因| 海豹吃什么| 什么是粒子| 124什么意思| 2月7号是什么星座| 50岁属什么| 开飞机是什么意思| 情花是什么花| 唐伯虎属什么生肖| 脾虚吃什么食物| 吃什么可以快速减肥| 人参适合什么人吃| mc是什么意思| 西洋菜是什么菜| 僵尸为什么怕糯米| 什么是马上风| 通便吃什么药最快| 掮客是什么意思| 大什么一什么| 1.8是什么星座| 为什么叫六小龄童| 百度Jump to content

参考快评 非洲自贸区“横空出世”,将给中国带来更多机会

From Wikipedia, the free encyclopedia
百度 SK也有可能会招入其他选手。

An intermediate representation (IR) is the data structure or code used internally by a compiler or virtual machine to represent source code. An IR is designed to be conducive to further processing, such as optimization and translation.[1] A "good" IR must be accurate – capable of representing the source code without loss of information[2] – and independent of any particular source or target language.[1] An IR may take one of several forms: an in-memory data structure, or a special tuple- or stack-based code readable by the program.[3] In the latter case it is also called an intermediate language.

A canonical example is found in most modern compilers. For example, the CPython interpreter transforms the linear human-readable text representing a program into an intermediate graph structure that allows flow analysis and re-arrangement before execution. Use of an intermediate representation such as this allows compiler systems like the GNU Compiler Collection and LLVM to be used by many different source languages to generate code for many different target architectures.

Intermediate language

[edit]

An intermediate language is the language of an abstract machine designed to aid in the analysis of computer programs. The term comes from their use in compilers, where the source code of a program is translated into a form more suitable for code-improving transformations before being used to generate object or machine code for a target machine. The design of an intermediate language typically differs from that of a practical machine language in three fundamental ways:

A popular format for intermediate languages is three-address code.

The term is also used to refer to languages used as intermediates by some high-level programming languages which do not output object or machine code themselves, but output the intermediate language only. This intermediate language is submitted to a compiler for such language, which then outputs finished object or machine code. This is usually done to ease the process of optimization or to increase portability by using an intermediate language that has compilers for many processors and operating systems, such as C. Languages used for this fall in complexity between high-level languages and low-level languages, such as assembly languages.

Languages

[edit]

Though not explicitly designed as an intermediate language, C's nature as an abstraction of assembly and its ubiquity as the de facto system language in Unix-like and other operating systems has made it a popular intermediate language: Eiffel, Sather, Esterel, some dialects of Lisp (Lush, Gambit), Squeak's Smalltalk-subset Slang, Nim, Cython, Seed7, SystemTap, Vala, V, and others make use of C as an intermediate language. Variants of C have been designed to provide C's features as a portable assembly language, including C-- and the C Intermediate Language.

Any language targeting a virtual machine or p-code machine can be considered an intermediate language:

The GNU Compiler Collection (GCC) uses several intermediate languages internally to simplify portability and cross-compilation. Among these languages are

GCC supports generating these IRs, as a final target:

The LLVM compiler framework is based on the LLVM IR intermediate language, of which the compact, binary serialized representation is also referred to as "bitcode" and has been productized by Apple.[4][5] Like GIMPLE Bytecode, LLVM Bitcode is useful in link-time optimization. Like GCC, LLVM also targets some IRs meant for direct distribution, including Google's PNaCl IR and SPIR. A further development within LLVM is the use of Multi-Level Intermediate Representation (MLIR) with the potential to generate code for different heterogeneous targets, and to combine the outputs of different compilers.[6]

The ILOC intermediate language[7] is used in classes on compiler design as a simple target language.[8]

Other

[edit]

Static analysis tools often use an intermediate representation. For instance, Radare2 is a toolbox for binary files analysis and reverse-engineering. It uses the intermediate languages ESIL[9] and REIL[10] to analyze binary files.

See also

[edit]

References

[edit]
  1. ^ a b Walker, David. "CS320: Compilers: Intermediate Representation" (Lecture slides). Retrieved 12 February 2016.
  2. ^ Chow, Fred (22 November 2013). "The Challenge of Cross-language Interoperability". ACM Queue. 11 (10). Retrieved 12 February 2016.
  3. ^ Toal, Ray. "Intermediate Representations". Retrieved 12 February 2016.
  4. ^ "Bitcode (iOS, watchOS)". Hacker News. 10 June 2015. Retrieved 17 June 2015.
  5. ^ "LLVM Bitcode File Format". llvm.org. Retrieved 17 June 2015.
  6. ^ "MLIR".
  7. ^ "An ILOC Simulator" Archived 2025-08-05 at the Wayback Machine by W. A. Barrett 2007, paraphrasing Keith Cooper and Linda Torczon, "Engineering a Compiler", Morgan Kaufmann, 2004. ISBN 1-55860-698-X.
  8. ^ "CISC 471 Compiler Design" by Uli Kremer
  9. ^ Radare2 Contributors. "ESIL". Radare2 Project. Archived from the original on 18 August 2015. Retrieved 17 June 2015.
  10. ^ Sebastian Porst (7 March 2010). "The REIL language – Part I". zynamics.com. Retrieved 17 June 2015.
[edit]
  • The Stanford SUIF Group
北芪与黄芪有什么区别 心态是什么意思 左腿麻木是什么征兆 做什么运动可以瘦腿 山竹有什么好处
manu是什么意思 躲春是什么意思 老鼠吃什么 大姨妈是黑色是什么原因 肺不好有什么症状
imax是什么意思 肝内囊性灶什么意思 噗呲是什么意思 手机cpu是什么 鸭肉炖什么好吃
汗手是什么原因 元宵节送什么 螺蛳粉为什么那么臭 小舌头学名叫什么 孩子胃疼吃什么药
作梁是什么意思hcv8jop7ns8r.cn 睡觉身上痒是什么原因hcv9jop5ns9r.cn 大米含有什么营养成分1949doufunao.com 苦瓜不能跟什么一起吃hcv9jop2ns9r.cn 丈夫的弟弟叫什么hcv8jop0ns9r.cn
经常流鼻涕是什么原因引起的hcv8jop6ns3r.cn 舌系带短会有什么影响hcv9jop1ns4r.cn 女人吃生蚝有什么好处hcv7jop9ns0r.cn 左肩膀疼是什么原因chuanglingweilai.com 白毫银针是什么茶hcv9jop0ns0r.cn
宫后积液是什么意思hcv8jop6ns3r.cn 西字五行属什么hcv7jop9ns2r.cn 气泡水是什么1949doufunao.com 鸭跖草用什么除草剂hcv8jop6ns1r.cn 拍胸片挂什么科hcv8jop3ns1r.cn
amiri是什么牌子hcv9jop6ns6r.cn 视而不见的意思是什么wuhaiwuya.com dhc是什么hcv8jop4ns5r.cn 变节是什么意思hcv8jop6ns1r.cn 什么是血虚wzqsfys.com
百度