Lines Matching refs:ToNotOptimize

273   Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap);  in TestFuncs()  local
274 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, FuncsOnClone, in TestFuncs()
278 bool Broken = TestFn(BD, ToOptimize, ToNotOptimize, Error); in TestFuncs()
311 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops() local
312 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, in ExtractLoops()
319 delete ToNotOptimize; in ExtractLoops()
334 ToNotOptimize, false, Error, Failure); in ExtractLoops()
353 ToNotOptimize); in ExtractLoops()
362 delete ToNotOptimize; in ExtractLoops()
371 Module *TNOBackup = CloneModule(ToNotOptimize, VMap); in ExtractLoops()
376 Failure = TestFn(BD, ToOptimizeLoopExtracted, ToNotOptimize, Error); in ExtractLoops()
381 ToNotOptimize = TNOBackup; in ExtractLoops()
395 if (Linker::LinkModules(ToNotOptimize, ToOptimizeLoopExtracted)) in ExtractLoops()
400 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); in ExtractLoops()
407 BD.setNewProgram(ToNotOptimize); in ExtractLoops()
424 if (Linker::LinkModules(ToNotOptimize, ToOptimizeLoopExtracted)) in ExtractLoops()
434 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); in ExtractLoops()
440 BD.setNewProgram(ToNotOptimize); in ExtractLoops()
515 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs() local
516 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, in TestFuncs()
527 bool Ret = TestFn(BD, New.get(), ToNotOptimize, Error); in TestFuncs()
533 delete ToNotOptimize; in TestFuncs()
760 Module *ToNotOptimize = CloneModule(getProgram(), VMap); in debugMiscompilation() local
761 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize, in debugMiscompilation()
766 EmitProgressBitcode(ToNotOptimize, "tonotoptimize", true); in debugMiscompilation()
767 delete ToNotOptimize; // Delete hacked module. in debugMiscompilation()