Reading .ll file to get its CFG

Hi All,

Could I read .ll file as module to get its functions in ModulePass

could it be like readModuleFromFile(M.ll) or whatever?

Thanks

llvm::ParseAssemblyFile?

-Eli