V2EX  ›  英汉词典
Enqueued related words: Three-Address Code, Abstract Syntax Tree

Intermediate Representation

释义 Definition

中间表示(IR):在编译器或解释器中,介于源代码与目标代码(如机器码、字节码)之间的一种内部代码形式/抽象表示,用于便于优化、分析与跨平台代码生成。常见形式包括三地址码、SSA(静态单赋值)、控制流图等。

发音 Pronunciation (IPA)

/ˌɪntərˈmiːdiət ˌrɛprɪzenˈteɪʃən/

例句 Examples

The compiler translates the program into an intermediate representation before optimization.
编译器会先把程序翻译成中间表示,然后再进行优化。

A well-designed intermediate representation makes it easier to perform data-flow analysis and generate code for multiple architectures.
良好的中间表示能更方便地做数据流分析,并为多种硬件架构生成代码。

词源 Etymology

intermediate 源自拉丁语 intermedius(“在中间的”),representation 来自拉丁语 repraesentare(“呈现、表示”)。合起来字面意思就是“处于中间阶段的表示形式”,在计算机科学里特指编译过程中的“中间代码/内部表示”。

相关词 Related Words

文学与经典作品中的出现 Literary Works

  • Compilers: Principles, Techniques, and Tools(Aho, Lam, Sethi, Ullman,“龙书”)
  • Engineering a Compiler(Keith D. Cooper, Linda Torczon)
  • Modern Compiler Implementation(Andrew W. Appel)
  • Advanced Compiler Design and Implementation(Steven Muchnick)
  • LLVM 官方文档(如 LLVM Language Reference Manual,大量讨论 IR 设计与用途)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1062 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 17:41 · PVG 01:41 · LAX 09:41 · JFK 12:41
♥ Do have faith in what you're doing.