Tagged articles
4 articles
Page 1 of 1
21CTO
21CTO
Aug 23, 2023 · Backend Development

Why LLVM Is the Secret Engine Powering Modern Languages

This article explains what LLVM is, how it differs from GCC, its design for portability, its role in language development, JIT compilation, automatic optimizations, domain‑specific language support, and what it does not handle, providing a comprehensive overview for developers.

IRJITLLVM
0 likes · 13 min read
Why LLVM Is the Secret Engine Powering Modern Languages
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2022 · Fundamentals

Understanding Kotlin IR and Compose Compiler Code Generation

This article explains how the Kotlin Compose Compiler uses the intermediate representation (IR) to generate code, covering IR tree structure, traversal with visitors and transformers, and the process of adding composer parameters and restart groups via custom IrGenerationExtension plugins.

AndroidCompiler PluginsCompose Compiler
0 likes · 10 min read
Understanding Kotlin IR and Compose Compiler Code Generation
Amap Tech
Amap Tech
Aug 28, 2020 · Fundamentals

Code Coverage Instrumentation Using LLVM and GCOV

The article explains how to instrument code for coverage using LLVM’s modular compiler infrastructure—adding compile‑time probes that generate .gcno files, runtime counters that produce .gcda files, and then parsing these with GCOV, while detailing LLVM IR, basic blocks, flow graphs, and extensions for custom plugins.

IRInstrumentationLLVM
0 likes · 17 min read
Code Coverage Instrumentation Using LLVM and GCOV