How to Write an LLVM Analysis and Transformation Pass?
How to write an LLVM analysis and/or transformation pass using LLVM’s new pass infrastructure you may wonder? Well, since the documentation that can be found on the internet is sparse, we thought it would be useful to write a blog article on how to use LLVM’s new pass manager. Unlike passes under the old legacy…