Learn LLVM Pass in Action
Category: Tutorials
- views: 344
- date: 15 November 2024
- posted by: mitsumi
Learn LLVM Pass in Action

Published 11/2024
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Language: English | Duration: 49m | Size: 407 MB
Write LLVM Pass by Using the New Pass Manager Ssystem
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Language: English | Duration: 49m | Size: 407 MB
Write LLVM Pass by Using the New Pass Manager Ssystem
What you'll learn
Setup LLVM pass development environment
Write LLVM function pass, module pass, loop pass
Write LLVM pass to analysis LLVM IR
Write LLVM pass to optimize LLVM IR
Requirements
C++ programming skills
LLVM IR knowledge
Description
This is a practical class about LLVM pass programming. At the begging of the course, we will setup the LLVM pass manager develop environment on Ubuntu operation system. We will install llvm-14, clang-14, c-make, git. We will use VSCode as our editor. The VSCode is installed on the windows, we use ssl to connect Ubuntu system. After that, we will write LLVM pass hand by hand. At the early stage we will write a very basic pass that just display the function name in the C source files. Then we will learn how to write a function pass to analysis function information, such as instruction count, basic block count. We will write a module pass to analysis module information, such as function count. We will create a loop mass to analysis loop nested level. At the end stage we will create some powerful passes. For example, we will create a pass to collection function call count at compile time. We will write a pass to emit some LLVM IR to collection function called count at runtime. We will create a pass to analysis LLVM IR instructions to execute constant folding compile optimization.This course covers all the aspect of LLVM pass development.
Who this course is for
Beginner LLVM developers
rapidgator.net:
k2s.cc:
We need your support!
Make a donation to help us stay online
Bitcoin (BTC)
bc1q08g9d22cxkawsjlf8etuek2pc9n2a3hs4cdrld
Bitcoin Cash (BCH)
qqvwexzhvgauxq2apgc4j0ewvcak6hh6lsnzmvtkem
Ethereum (ETH)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
Litecoin (LTC)
ltc1qt6g2trfv9tjs4qj68sqc4uf0ukvc9jpnsyt59u
USDT (ERC20)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
USDT (TRC20)
TYdPNrz7v1P9riWBWZ317oBgJueheGjATm
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









