Skip to content

Files

Latest commit

d2f52e1 · Feb 25, 2023

History

History

Tutorial01-Introduction_to_LLVM

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 25, 2023
Jan 15, 2023

Tutorial 1 Introduction to LLVM

Handout: [Overleaf]

TL'DR

  • C++ Fundamentals
    • Pass by Reference
    • Public Inheritance
    • Templates and Instantiations
    • Standard Template Library (STL)
  • How to write an LLVM Analysis pass?
    • Intermediate Representation (IR) and Optimization Passes
    • Analysis vs. Transform
    • LLVM Module, Iterators, Downcasting
    • LLVM Pass Interfaces

Examples

  1. Cpp_Fundamentals shows you some basic concepts and usage of C++, including variable references, public inheritance, and standard template libraries.
    /Example1-Cpp_Fundamentals$ make
    /Example1-Cpp_Fundamentals$ ./1-VarReference
    /Example1-Cpp_Fundamentals$ ./2-PublicInheritance
    /Example1-Cpp_Fundamentals$ ./3-STL