Register Account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Learn LLVM Pass in Action
#1
Learn LLVM Pass in Action

[Image: 70e2e6426172292b63e1da4555c420d4.jpeg]

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


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:

[To see links please register or login]


k2s.cc:

[To see links please register or login]

Reply


Download Now



Forum Jump:


Users browsing this thread:
1 Guest(s)

Download Now