中間表現 - CI/CD用語集の定義
中間表現(IR)は、ソース言語とターゲット出力の間でコンパイラが内部的に使うデータ構造で、LLVM IR などがあり、ほとんどの最適化がその上で行われます。
存在する理由
共有された IR により、1 つのオプティマイザとバックエンドが多くのソース言語と多くのターゲットアーキテクチャに対応でき、これが LLVM のようなツールチェーンが言語をまたいで作業を再利用する仕組みです。
関連ガイド
Bytecode - CI/CD Glossary DefinitionBytecode: Bytecode is a compact, platform-independent instruction set produced by a compiler and executed by…
Compilation - CI/CD Glossary DefinitionCompilation: Compilation is the process of translating source code into a lower-level form (machine code, byt…
Cross-Compilation - CI/CD Glossary DefinitionCross-Compilation: Cross-compilation is building an executable on one platform (the host) that runs on a diff…