Lines Matching refs:ToNotOptimize
269 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs() local
271 SplitFunctionsOutOfModule(ToNotOptimize.get(), FuncsOnClone, VMap); in TestFuncs()
274 TestFn(BD, std::move(ToOptimize), std::move(ToNotOptimize), Error); in TestFuncs()
307 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops() local
308 Module *ToOptimize = SplitFunctionsOutOfModule(ToNotOptimize.get(), in ExtractLoops()
331 std::move(ToNotOptimize), Error, Failure); in ExtractLoops()
350 ToNotOptimize.get()); in ExtractLoops()
368 std::unique_ptr<Module> TNOBackup = CloneModule(ToNotOptimize.get(), VMap); in ExtractLoops()
374 std::move(ToNotOptimize), Error); in ExtractLoops()
379 ToNotOptimize = std::move(TNOBackup); in ExtractLoops()
391 if (Linker::linkModules(*ToNotOptimize, in ExtractLoops()
397 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); in ExtractLoops()
403 BD.setNewProgram(ToNotOptimize.release()); in ExtractLoops()
419 if (Linker::linkModules(*ToNotOptimize, std::move(ToOptimizeLoopExtracted))) in ExtractLoops()
427 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); in ExtractLoops()
433 BD.setNewProgram(ToNotOptimize.release()); in ExtractLoops()
509 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs() local
511 SplitFunctionsOutOfModule(ToNotOptimize.get(), FuncsOnClone, VMap); in TestFuncs()
517 bool Ret = TestFn(BD, std::move(New), std::move(ToNotOptimize), Error); in TestFuncs()
749 Module *ToNotOptimize = CloneModule(getProgram(), VMap).release(); in debugMiscompilation() local
751 SplitFunctionsOutOfModule(ToNotOptimize, MiscompiledFunctions, VMap) in debugMiscompilation()
755 EmitProgressBitcode(ToNotOptimize, "tonotoptimize", true); in debugMiscompilation()
756 delete ToNotOptimize; // Delete hacked module. in debugMiscompilation()