Difference between revisions of "Compiler"

From NaplesPU Documentation
Jump to: navigation, search
Line 1: Line 1:
 
<strong>This is the main nu+ compiler documentation page</strong>
 
<strong>This is the main nu+ compiler documentation page</strong>
  
An LLVM backend is made up of ...
+
Adding a new target architecture, i.e. nu+, to llvm requires three steps:
 +
* write all backend files and place them into the lib/Target/NuPlus folder
 +
* modify the Clang frontend
 +
* register and add the new backend to llvm
 +
 
  
  
 
[[How to add a new backend to llvm|How to add a new backend to llvm]]
 
[[How to add a new backend to llvm|How to add a new backend to llvm]]
 
== subsection ==
 

Revision as of 17:07, 12 September 2017

This is the main nu+ compiler documentation page

Adding a new target architecture, i.e. nu+, to llvm requires three steps:

  • write all backend files and place them into the lib/Target/NuPlus folder
  • modify the Clang frontend
  • register and add the new backend to llvm


How to add a new backend to llvm