Searched refs:PerModulePasses (Results 1 – 1 of 1) sorted by relevance
62 mutable legacy::PassManager *PerModulePasses; member in __anona74313260111::EmitAssemblyHelper83 if (!PerModulePasses) { in getPerModulePasses()84 PerModulePasses = new legacy::PassManager(); in getPerModulePasses()85 PerModulePasses->add( in getPerModulePasses()88 return PerModulePasses; in getPerModulePasses()125 PerModulePasses(nullptr), PerFunctionPasses(nullptr) {} in EmitAssemblyHelper()129 delete PerModulePasses; in ~EmitAssemblyHelper()675 if (PerModulePasses) { in EmitAssembly()677 PerModulePasses->run(*TheModule); in EmitAssembly()