add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

16
pages.zh/common/opt.md Normal file
View File

@@ -0,0 +1,16 @@
# opt
> 运行优化和分析 LLVM 源文件。
> 更多信息:<https://llvm.org/docs/CommandGuide/opt.html>。
- 在位码文件上运行优化或分析:
`opt -{{passname}} {{path/to/file.bc}} -S -o {{file_opt.bc}}`
- 将函数的控制流图输出到 `.dot` 文件:
`opt {{-dot-cfg}} -S {{path/to/file.bc}} -disable-output`
- 在级别 2 优化程序,并将结果输出到另一个文件:
`opt -O2 {{path/to/file.bc}} -S -o {{path/to/output_file.bc}}`