clang executes the precisely same sequence of passes as opt -ON. So, you can do something like
llvm-as < /dev/null | opt -O3 -disable-output -debug-pass=Arguments
to derive the "full" set of passes which are run at O3.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…