Register Allocation

Register allocation

Register allocation is a process used in compiler optimization to assign local variables and expression results to processor registers. It can be done on a basic block, function/procedure, or across functions. Save/restore may need to be inserted around call-sites when done per function/procedure.

4 courses cover this concept

CS 243: Program Analysis and Optimizations

Stanford University

Winter 2023

Focuses on efficient high-level programming through code optimization and program analysis for quality improvement. Also explores automatic memory management and natural language coding through machine learning.

No concepts data

+ 16 more concepts

CS 164: Programming Languages and Compilers

UC Berkeley

Fall 2022

Explores how compilers translate high-level languages into machine-understandable code, offering practical experience with developing compilers for various languages. Also covers reasoning about compiler correctness and understanding runtime errors.

No concepts data

+ 28 more concepts

15-411 Compiler Design

Carnegie Mellon University

Fall 2020

Comprehensive study of compiler design and implementation, examining interaction between language design and runtime organization. Topics include program analysis, code generation, optimization, memory management.

No concepts data

+ 21 more concepts

CS 143 Compilers

Stanford University

Spring 2022

Combination of theoretical and practical perspectives on compiler design. This course emphasizes correctness over performance, providing a deep understanding of compiler structure and functioning.

No concepts data

+ 16 more concepts