Back to Browse

Writing an LLVM Optimization

9.0K views
May 21, 2020
1:28:16

This presentation is a brief overview of LLVM, its pass and IR frameworks and API, and a tutorial on how to write legacy and modern optimization passes. Source code: https://github.com/jvstech/float-compare-pass Music: "COVID-19" by SP34K3RM4N (https://www.newgrounds.com/audio/listen/923105) Requirements: 1:36 Building LLVM: 2:54 LLVM overview: 5:22 LLVM IR instructions: 8:00 IR assembly example: 10:33 IR library classes: 17:10 Modifying IR: 20:25 LLVM pass overview: 22:12 LLVM pass managers: 24:50 Pass API: 28:34 Pass development example: 29:37

Download

1 formats

Video Formats

360pmp4166.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Writing an LLVM Optimization | NatokHD