<div dir="ltr"><div>I'd write new transform pass related to some function optimization, and contribute it into LLVM. But <a href="http://llvm.org/docs/WritingAnLLVMPass.html">Writing an LLVM Pass</a> was described only using as dynamic LLVM loadable modules (.so extensions).</div><div><br></div><div>I want to write LLVM pass using add_llvm_library, not add_llvm_loadable_module in CMakeLists.txt. Can I do it? If yes, how?</div></div>