opt

opt

TLDR

Run an optimization or analysis on a bitcode file

>_ opt -[passname] [path/to/file.bc] -S -o [file_opt.bc]
copy

Output the Control Flow Graph of a function to a "dot" file

>_ opt [-dot-cfg] -S [path/to/file.bc] -disable-output
copy

Optimize the program at level 2 and output the result to another file

>_ opt -O2 [path/to/file.bc] -S -o [path/to/output_file.bc]
copy

Copied to clipboard
free 100$ digital ocean credit