[LLVMdev] Cross-module optimization
andrii.vasyliev at gmail.com
Sat Sep 5 07:40:09 PDT 2009
I want to load several modules with BitcodeReader and build a module
with IRBuilder and then optimize them alltogether. Actually I want
functions from loaded modules to be inlined in functions that I've built.
Is it possible with LLVM? As I understood PassManager runs upon only
one module at once.
May be is there some workaround? Like joining all the modules in one
and then optimize it. Unfortunately I couldn't find a way to join modules.
More information about the llvm-dev