Presentation is loading. Please wait.

Presentation is loading. Please wait.

LLVM Compiler Katie Dew. Lectures High-level overview of LLVM (Katie) Walkthrough of LLVM in context of our project (Jason) –Input requirements –Configuration.

Similar presentations


Presentation on theme: "LLVM Compiler Katie Dew. Lectures High-level overview of LLVM (Katie) Walkthrough of LLVM in context of our project (Jason) –Input requirements –Configuration."— Presentation transcript:

1 LLVM Compiler Katie Dew

2 Lectures High-level overview of LLVM (Katie) Walkthrough of LLVM in context of our project (Jason) –Input requirements –Configuration needs Additional configuration and global context (Dave) –Optimizations –Other file formats 2

3 Overview High level overview of toolchain Sub-projects, libraries Advantages Audience Features Basic commands 3

4 What is LLVM? Research project at the University of Illinois in 2000 –Goal: build a dynamic compiler for static and dynamic programming languages Set of modular and reusable compiler and toolchain technologies http://llvm.org/ 4

5 Sub-Projects of LLVM LLVM Core Libraries –http://llvm.org/docs/http://llvm.org/docs/ Clang libc++ 5

6 Why Use LLVM? Low-level language with strictly defined semantics Front-ends for C and C++ Garbage collection Documentation and projects –http://llvm.org/ProjectsWithLLVM/http://llvm.org/ProjectsWithLLVM/ Tools to make development easier –Bugpoint tool –http://llvm.org/docs/Bugpoint.htmlhttp://llvm.org/docs/Bugpoint.html 6

7 Who is LLVM For? Developers Researchers End-users 7

8 Features Front-ends for C, C++, Objective-C, and Fortran Stable implementation of LLVM instruction set Easy retargettable code generator which supports –X86, X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, Xcore Just-In-Time (JIT) code generation system http://llvm.org/Features.html 8

9 Basic Commands llvm-as llvm-dis opt llc lli llvm-link llvm-ar http://llvm.org/docs/CommandGuide/ 9

10 Questions? 10


Download ppt "LLVM Compiler Katie Dew. Lectures High-level overview of LLVM (Katie) Walkthrough of LLVM in context of our project (Jason) –Input requirements –Configuration."

Similar presentations


Ads by Google