code generation
ConceptIn the provided evidence, code generation refers to the automated or semi-automated production of executable code (or test programs) from higher-level inputs, spanning at least three contexts: (1) compiler back-end code generation, in which instruction-selection rewrite rules translate an IR to a target ISA and may be synthesized from the architecture's RTL using SMT solvers; (2) LLM-based code generation, where natural-language descriptions or formal specifications are turned into code, optionally paired with specifications and machine-checkable proofs; and (3) functional-verification code generation, where tools produce diagnostic instruction sequences that drive simulation-based verification of high-performance microprocessors.
WIKI
Overview
In the provided evidence, code generation refers to the automated or semi-automated production of executable code (or test programs) from higher-level inputs. The term spans at least three distinct research contexts that all appear in the supplied evidence:
- Compiler code generation — the back-end phase that translates a compiler's intermediate representation (IR) into target-architecture instructions using a set of rewrite rules. New evidence (the 2022 SMT-synthesis paper) shows that these rewrite rules can be automatically synthesized from an architecture's RTL using satisfiability-modulo-theories (SMT) solvers.
- LLM-based code generation — generating code (and, in the verifiable variant, also formal specifications and proofs of code-specification alignment) from natural-language problem descriptions using large language models. New evidence includes the GAP-Gen guided Python code generation system and the VERINA verifiable code generation benchmark.
- Functional-verification code generation — the use of automated or semi-automated tools that produce diagnostic instruction sequences (test programs) for the simulation-based functional verification of high-performance microprocessors. (This is the content preserved from the previous version of this article, drawn from the 1996 DAC paper.)
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →