Lines Matching refs:PerFunctionPasses
66 mutable legacy::FunctionPassManager *PerFunctionPasses; member in __anon33a349e50111::EmitAssemblyHelper
95 if (!PerFunctionPasses) { in getPerFunctionPasses()
96 PerFunctionPasses = new legacy::FunctionPassManager(TheModule); in getPerFunctionPasses()
97 PerFunctionPasses->add( in getPerFunctionPasses()
100 return PerFunctionPasses; in getPerFunctionPasses()
130 PerFunctionPasses(nullptr) {} in EmitAssemblyHelper()
135 delete PerFunctionPasses; in ~EmitAssemblyHelper()
749 if (PerFunctionPasses) { in EmitAssembly()
752 PerFunctionPasses->doInitialization(); in EmitAssembly()
755 PerFunctionPasses->run(F); in EmitAssembly()
756 PerFunctionPasses->doFinalization(); in EmitAssembly()