Analysis of LLVM Compiler Infrastructure and Backend Porting for Arm
- Author
- DongFeng
- Advisor
- FuYuZhuo , XieKaiNian
- School
- Shanghai Jiaotong University
- Major
- Computer System Architecture
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 404
- Citations
- 3
Abstract
Accompanied by the emergence of complex logic design challenges , the birth of a platform-based design . At the same time provides a good solution for hardware design , platform-based design still need to give a complete development tool chain , including compiler , assembler , emulator . ADL (Architecture Description Language) tool chain to help generate . Which MADL (Mescal Architecture Description Language) is a well-designed , but not yet perfect ADL . UADL (Unified Architecture Description Language) project is committed to a better way to provide a tool chain automatically generated in MADL the foundation . This article is UADL part of the project , provides the backend of LLVM (Low Level Virtual Machine) compiler system transplant , which constitutes the UADL project compiler automatically generates the basis of the study . The LLVM framework developed by the University of Illinois open source compiler framework , the article describes the basic structure of the LLVM architecture , its part of a detailed analysis of the of the the architecture backend transplant mechanism , including the register description , instruction set description assembler output transplant mechanism , then given to to achieve the ARM backend transplant the specific details of the work , and ultimately the LLVM architecture support for ARM processor backend .
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-17
1.1 research background 9-15
1.2 research purposes 15-16
1.3 paper work done 16-17
2 LLVM compiler system structural analysis 17-24
2.1 LLVM intermediate code 17-19
2.2 integrated library 19
2.3 toolset 19-20
2.4 LLVM compiler processes 20 -23
2.5 Chapter Summary 23-24
3 LLVM backend transplant Interface 24-49
3.1 transplant Interface Summary 24-26
3.2 TABLEGEN Profile 26-29
3.3 Register Description 29-33
3.4 Instruction Set Description 33-37
3.5 帧 stack layout description 37-38
3.6 intermediate transcoding description 38-41
3.7 assembler output description 41-43
3.8 processor sub-series support 43-45
3.9 processor JIT support 45-46
3.10 Global Descriptor 46-48
3.11 of this chapter section 48-49 < br /> 4 to achieve the LLVM ARM backend support 49-73
4.1 ARM processor architecture analysis 49-57
4.1.1 Data type and storage alignment 49-50
4.1.2 register 50-51
4.1.3 Instruction Set 51-53
4.1.4 Addressing 53 -55
4.1.5 stack frame layout 55-56
4.1.6 process calling convention 56
4.1.7 compiled format 56-57
4.2 back-end portable implementation 57-71
4.2.1 Register Description realize 57-61
4.2.2 Instruction Set Description realize 61 - 67
4.2.3 stack frame layout description achieve 67
4.2.4 Description intermediate transcoding achieve 67-69
4.2.5 assembler output description achieve 69-70
4.2.6 Sub-series support the achievement 70
4.2.7 JIT support the achievement 70
4.2.8 Global Descriptor achieve 70-71
4.3 environment settings and ARM backend generates 71-72
4.4 Chapter Summary 72-73
5 Summary and Outlook 73 - 74
References 74-79
Appendix 1 LLVM virtual instruction list 79-82
Appendix 2 link type and calling convention 82-83 < br /> Appendix 3 LLVM derived type 83-84
Appendix 4 LLVM integrated library list 84-86
Thanks 86-87
pursue a degree papers published during 87-89
Related dissertations
- Backend Porting for CSKY Based on LLVM Compiler Infrastructure
- Research on Compiling System for Wireless Sensor Networks Speicific Processor Based on LLVM
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Design of Remote Strain Measurement System Based on FGPA
- Industrial Field Data Acquisition System Design Based on CAN Bus
- The Automatic Measurement System for Plumb-line
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM