[LLVMdev] output -stats to file.txt

Villmow, Micah Micah.Villmow at amd.com
Tue Jun 12 12:03:09 PDT 2012


Have you tried "opt -stats bitecode.bc > test.txt"?

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Rafael Parizi
Sent: Tuesday, June 12, 2012 11:36 AM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] output -stats to file.txt

Hi!
I'm estimating the  number of basic blocks  of the a program using "opt -stats bitecode.bc"
I would like to save the output of the -stats opt into a file .txt.
How can I do this?


--
Rafael Parizi


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120612/2d132089/attachment.html>


More information about the llvm-dev mailing list