Lines Matching refs:VMap
256 ValueToValueMapTy VMap; in TestFuncs() local
257 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
262 Function *F = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
267 VMap.clear(); in TestFuncs()
268 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
270 SplitFunctionsOutOfModule(ToNotOptimize.get(), FuncsOnClone, VMap); in TestFuncs()
305 ValueToValueMapTy VMap; in ExtractLoops() local
306 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
308 MiscompiledFunctions, VMap) in ExtractLoops()
337 MiscompiledFunctions[i] = cast<Function>(VMap[MiscompiledFunctions[i]]); in ExtractLoops()
366 CloneModule(ToOptimizeLoopExtracted.get(), VMap); in ExtractLoops()
367 std::unique_ptr<Module> TNOBackup = CloneModule(ToNotOptimize.get(), VMap); in ExtractLoops()
370 MiscompiledFunctions[i] = cast<Function>(VMap[MiscompiledFunctions[i]]); in ExtractLoops()
493 ValueToValueMapTy VMap; in TestFuncs() local
494 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
499 Function *F = cast<Function>(VMap[FunctionsBeingTested[i]]); in TestFuncs()
503 BasicBlock *BB = cast<BasicBlock>(VMap[BBs[i]]); in TestFuncs()
506 VMap.clear(); in TestFuncs()
508 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
510 SplitFunctionsOutOfModule(ToNotOptimize.get(), FuncsOnClone, VMap); in TestFuncs()
561 ValueToValueMapTy VMap; in ExtractBlocks() local
562 Module *ProgClone = CloneModule(BD.getProgram(), VMap).release(); in ExtractBlocks()
564 SplitFunctionsOutOfModule(ProgClone, MiscompiledFunctions, VMap) in ExtractBlocks()
742 ValueToValueMapTy VMap; in debugMiscompilation() local
743 Module *ToNotOptimize = CloneModule(getProgram(), VMap).release(); in debugMiscompilation()
745 SplitFunctionsOutOfModule(ToNotOptimize, MiscompiledFunctions, VMap) in debugMiscompilation()
1015 ValueToValueMapTy VMap; in debugCodeGenerator() local
1016 std::unique_ptr<Module> ToNotCodeGen = CloneModule(getProgram(), VMap); in debugCodeGenerator()
1018 SplitFunctionsOutOfModule(ToNotCodeGen.get(), Funcs, VMap); in debugCodeGenerator()