| The development of digital application technology has greatly promoted the development of embedded system,and the key factor determining the performance of embedded system is the performance of microprocessor in embedded system.And the performance of microprocessor depends on the efficiency and accuracy of compiler in microprocessor.Therefore,designing and developing a suitable compiler plays a vital role in the development of embedded system.Applying the technology of knowledge map to the field of compiler development needs to systematically analyze the TD files described by the back-end according to the back-end porting structure of LLVM compilation framework,integrate the information of the architecture,and extract the entities and the relationships between entities,so as to form a knowledge map.Then the neo4j graph database is used for database storage,so that the relevant information of the back-end migration structure can be presented in a visual form,which is convenient for the development of the compiler.Based on the investigation and analysis of the existing knowledge map technology,this paper deeply studies the effective scheme of applying the above technology to solve the back-end migration problem based on LLVM compilation framework.By analyzing the data sources and research requirements,the knowledge map construction mode suitable for the back-end transplantation of LLVM compilation framework is specified,the knowledge map of the back-end transplantation information of LLVM compilation framework is built,and a reasonable map database is selected for storage.Then,the application of back-end transplantation development based on knowledge map is carried out,and the back-end transplantation development based on knowledge map is carried out according to virtual DSP.Finally,it is verified by the regression test of LLVM compilation framework. |