[LLVMdev] Using LLVM to serialize object state -- and performance

Anton Korobeynikov anton at korobeynikov.info
Tue Nov 13 17:57:43 PST 2012


> Why is apparently another FunctionPassManager being used during the JIT'ing of the IR code?
Because codegeneration consists of series of passes. See
lib/CodeGen/LLVMTargetMachine.cpp and lib/CodeGen/Passes.cpp for more
information

>  And how do I control what the passes are to that FunctionPassManager?
You should not. There are some options though, like optimization level
inside TargetMachine / TargetPassConfig

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list