Lines Matching refs:transformPasses
224 llvm::legacy::PassManager transformPasses; in runPasses() local
229 transformPasses.add( in runPasses()
233 addInvokeHelperPass(transformPasses); in runPasses()
234 addExpandKernelPass(transformPasses); in runPasses()
235 addDebugInfoPass(script, transformPasses); in runPasses()
236 addInvariantPass(transformPasses); in runPasses()
238 if (!addInternalizeSymbolsPass(script, transformPasses)) in runPasses()
241 addGlobalInfoPass(script, transformPasses); in runPasses()
244 transformPasses.add(llvm::createGlobalOptimizerPass()); in runPasses()
245 transformPasses.add(llvm::createConstantMergePass()); in runPasses()
251 Builder.populateLTOPassManager(transformPasses); in runPasses()
274 …transformPasses.add(createRSX86_64CallConvPass()); // Add pass to correct calling convention for … in runPasses()
275 transformPasses.add(createRSIsThreadablePass()); // Add pass to mark script as threadable. in runPasses()
280 transformPasses.add(createRSEmbedInfoPass()); in runPasses()
283 transformPasses.run(script.getSource().getModule()); in runPasses()