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.