Lines Matching refs:getProgram
71 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest()
76 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
81 bool Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
109 if (BD.runPasses(BD.getProgram(), Prefix, BitcodeResult, false/*delete*/, in doTest()
114 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
119 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false, &Error); in doTest()
151 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest()
156 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
161 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
258 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
269 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
307 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
495 Module *Clone = CloneModule(BD.getProgram(), VMap).release(); in TestFuncs()
509 std::unique_ptr<Module> ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
563 Module *ProgClone = CloneModule(BD.getProgram(), VMap).release(); in ExtractBlocks()
618 Module *Prog = BD.getProgram(); in DebugAMiscompilation()
647 DisambiguateGlobalSymbols(BD.getProgram()); in DebugAMiscompilation()
671 DisambiguateGlobalSymbols(BD.getProgram()); in DebugAMiscompilation()
749 Module *ToNotOptimize = CloneModule(getProgram(), VMap).release(); in debugMiscompilation()
978 bool Result = BD.diffProgram(BD.getProgram(), TestModuleBC.str(), in TestCodeGenerator()
1019 std::unique_ptr<Module> ToNotCodeGen = CloneModule(getProgram(), VMap); in debugCodeGenerator()