Lines Matching refs:PerFunctionPasses
60 mutable legacy::FunctionPassManager *PerFunctionPasses; member in __anona74313260111::EmitAssemblyHelper
89 if (!PerFunctionPasses) { in getPerFunctionPasses()
90 PerFunctionPasses = new legacy::FunctionPassManager(TheModule); in getPerFunctionPasses()
91 PerFunctionPasses->add( in getPerFunctionPasses()
94 return PerFunctionPasses; in getPerFunctionPasses()
123 PerFunctionPasses(nullptr) {} in EmitAssemblyHelper()
128 delete PerFunctionPasses; in ~EmitAssemblyHelper()
624 if (PerFunctionPasses) { in EmitAssembly()
627 PerFunctionPasses->doInitialization(); in EmitAssembly()
631 PerFunctionPasses->run(*I); in EmitAssembly()
632 PerFunctionPasses->doFinalization(); in EmitAssembly()