opt
命令手册A tool that takes LLVM source files and runs specified optimizations and/or analyses on them. More information: https://llvm.org/docs/CommandGuide/opt.html.
opt -{{passname}} {{path/to/file.bc}} -S -o {{file_opt.bc}}
opt {{-dot-cfg}} -S {{path/to/file.bc}} -disable-output
opt -O2 {{path/to/file.bc}} -S -o {{path/to/output_file.bc}}