LLVM back-end for the Timber compiler

Examensarbete för masterexamen

Använd denna länk för att citera eller länka till detta dokument: https://hdl.handle.net/20.500.12380/124065
Ladda ner:
Fil Beskrivning StorlekFormat 
124065.pdfFulltext526.58 kBAdobe PDFVisa
Typ: Examensarbete för masterexamen
Master Thesis
Titel: LLVM back-end for the Timber compiler
Författare: Lundell, Mattias
Sammanfattning: This master's thesis describes the design and implementation of a new backend for the Timber compiler, based on Low Level Virtual Machine (LLVM) compiler infrastructure. The thesis describes the implementation and gives detailed information about how a Timber program is translated into a LLVM program and how it is represented. Furthermore the thesis compares the existing C based back-end with the new LLVM based back-end in terms of implementation complexity and the performance of programs that were compiled with the respective back-ends. When compared to each other, the LLVM based back-end was found to have a performance that was equal or better than the C based back-end, with the cost of increased complexity of the compiler in the form of an abstract syntax to represent LLVM assembly code and an interface to the abstract syntax. The overall conclusion is that LLVM offers a suitable back-end for the Timber programming language compiler.
Nyckelord: Programvaruteknik;Software Engineering
Utgivningsdatum: 2010
Utgivare: Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)
Chalmers University of Technology / Department of Computer Science and Engineering (Chalmers)
URI: https://hdl.handle.net/20.500.12380/124065
Samling:Examensarbeten för masterexamen // Master Theses



Materialet i Chalmers öppna arkiv är upphovsrättsligt skyddat och får ej användas i kommersiellt syfte!