The optimizations available via opt depend upon what libraries were linked into it as well as any additional libraries that have been loaded with the -load option. Use the -help option to determine what optimizations you can use.
If no filename is specified on the command line, opt reads its input from standard input.
If an output filename is not specified with the -o option, opt writes its output to the standard output.
opt -load <plugin.so> -help