An Intermediate Code Optimization System Based on Algebraic Calculus
A code optimization and algebraic technology, applied in the field of formal semantics, can solve the problem of high compiler cost and achieve the effect of ensuring the scope of application
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] This embodiment takes the optimization of LLVM intermediate language by applying the algebraic calculation-based intermediate code optimization system of the present invention as an example.
[0025] LLVM is a compiler architecture that supports multiple high-level languages, multiple target platforms, and multi-stage optimization. It follows the standard compiler process guidelines and is divided into three parts: high-level language front-end, intermediate code optimizer, and back-end object code generator. part. The LLVM front-end first converts the source program into an LLVM IR program, optimizes the LLVM IR program after a series of control flow and data flow analysis, and then generates the corresponding target code according to the specific target processor platform.
[0026] LLVM IR comes in three forms: compiler IR, bytecode IR written to a file, and IR as assembly language. These three representations are equivalent, and it is a different representation of t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
