title: Get current module inside FunctionPass llvm
body: <p>I'm writing a function pass in LLVM and need to call the method Module::getOrInsertFunction. I need to access the module of the current function. How do I get it?</p>