List of optimizers

Sorry for the probably stupid question, but is there a list of optimisation passes on LLVM site?

http://llvm.org/docs/Passes.html

Regards,

John Criswell

Thanks but is there the list of their classes I can use in a llvm::PassManager ?

Thanks but is there the list of their classes I can use in a llvm::PassManager ?

I do not know of such a list, but all the passes have names that are similar to the names in that document, so finding the right pass shouldn't be too difficult.

Most (if not all) of the passes are in lib/Analysis and lib/Transforms.

Regards,

John Criswell

egrep "INITIALIZE_PASS(_BEGIN)?\\(" * -r

in llvm sourcecode should get you close. Some CodeGen passes are known to miss the INITIALIZE_PASS bits, however you should not need to manually schedule them in a PassManager anyway.

- Matthias