[LLVMdev] Whole program optimization

Bin Zeng ezengbin at gmail.com
Mon Aug 30 10:52:59 PDT 2010


  Hi folks,

I am trying to do some whole program optimization. Would you please tell 
me how to access the other modules in llvm-gcc? For example, I am going 
to compile all the C source files in a directory with:
llvm-gcc *.c -O3 -o gzip
How can I visit the other modules during compilation? Is there any 
command switch? Thanks tons.

Bin



More information about the llvm-dev mailing list