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()
150 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest()
155 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false); in doTest()
160 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
262 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
273 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
311 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in ExtractLoops()
501 Module *Clone = CloneModule(BD.getProgram(), VMap); in TestFuncs()
515 Module *ToNotOptimize = CloneModule(BD.getProgram(), VMap); in TestFuncs()
577 Module *ProgClone = CloneModule(BD.getProgram(), VMap); in ExtractBlocks()
634 Module *Prog = BD.getProgram(); in DebugAMiscompilation()
663 DisambiguateGlobalSymbols(BD.getProgram()); in DebugAMiscompilation()
687 DisambiguateGlobalSymbols(BD.getProgram()); in DebugAMiscompilation()
760 Module *ToNotOptimize = CloneModule(getProgram(), VMap); in debugMiscompilation()
995 bool Result = BD.diffProgram(BD.getProgram(), TestModuleBC.str(), in TestCodeGenerator()
1037 Module *ToNotCodeGen = CloneModule(getProgram(), VMap); in debugCodeGenerator()