Intermediate representation IR processing method and apparatus, and related device
By translating the IR generated by different compilers into a unified second type of IR, the development cost and threshold problems caused by the differences in IR of different compilers are solved, and ecological interoperability between compilers and improvement of development efficiency is achieved.
Patent Information
- Application Number
- CN202311225969.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-20
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2043-09-20
AI Technical Summary
There are large differences in the intermediate representation of IR in different compilers, which leads to developers who need to learn a variety of different types of IR when developing new compilation tools based on different compilers, which increases learning costs and technical thresholds.
Translated different types of IR into a unified second type of IR through multiple code mapping sets, allowing developers to develop new compilation tools only by learning one type of IR, and implement IR conversion between different compilers through the second type of IR.
It reduces the learning cost and technical threshold of developers, improves the efficiency of developing new compilation tools, and realizes ecological interoperability between different compilers.