Skip to content

phrb/generate-llvm-pass-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LLVM Pass List Generator

This Python3 script generates a complete list of LLVM Analysis and Transform passes.

The generated list is structured as a JSON file containing pass names and associated opt command, pass parameters and pass dependencies.

For each pass parameter the dictionary contains the associated command, type, and default value.

The llvm_passes.json file contains passes for this llvm-mirror commit.

To run the script, it is suggested to run:

git clone https://github.com/llvm-mirror/llvm.git
git clone https://github.com/phrb/generate-llvm-pass-list.git
cd generate-llvm-pass-list && python generate_llvm_pass_list.py

About

Generate a JSON containing LLVM passes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages