Searched refs:CodeGenPasses (Results 1 – 2 of 2) sorted by relevance
36 legacy::PassManager CodeGenPasses; in codegen() local37 if (TM->addPassesToEmitFile(CodeGenPasses, OS, FileType)) in codegen()39 CodeGenPasses.run(*M); in codegen()
61 mutable legacy::PassManager *CodeGenPasses; member in __anona74313260111::EmitAssemblyHelper74 if (!CodeGenPasses) { in getCodeGenPasses()75 CodeGenPasses = new legacy::PassManager(); in getCodeGenPasses()76 CodeGenPasses->add( in getCodeGenPasses()79 return CodeGenPasses; in getCodeGenPasses()124 CodeGenerationTime("Code Generation Time"), CodeGenPasses(nullptr), in EmitAssemblyHelper()128 delete CodeGenPasses; in ~EmitAssemblyHelper()680 if (CodeGenPasses) { in EmitAssembly()682 CodeGenPasses->run(*TheModule); in EmitAssembly()