Llvm optimization
The list of available LLVM passes is described here . I am interested to know what passes are included for different optimization levels. For example, for -O2 that passes, included. Is there any website or document that provides this information.
+3
source to share
2 answers
It appears in the PassManagerBuilder.cpp file. Take a look at the populateModulePassManager method, where OptLevel is an integer that follows the -O option.
+4
source to share