Lines Matching refs:getProgram

70   if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/,  in doTest()
75 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
80 bool Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
108 if (BD.runPasses(BD.getProgram(), Prefix, BitcodeResult, false/*delete*/, in doTest()
113 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
118 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false, &Error); in doTest()
149 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest()
154 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
159 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
265 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
276 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
314 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
479 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
493 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
554 Module *ProgClone = CloneModule(BD.getProgram(), VMap); in ExtractBlocks()
616 Module *Prog = BD.getProgram(); in DebugAMiscompilation()
645 DisambiguateGlobalSymbols(BD.getProgram()); in DebugAMiscompilation()
669 DisambiguateGlobalSymbols(BD.getProgram()); in DebugAMiscompilation()
741 Module *ToNotOptimize = CloneModule(getProgram(), VMap); in debugMiscompilation()
969 bool Result = BD.diffProgram(BD.getProgram(), TestModuleBC.str(), in TestCodeGenerator()
1011 Module *ToNotCodeGen = CloneModule(getProgram(), VMap); in debugCodeGenerator()