Lines Matching refs:Expected

53   Expected<TestResult> doTest(std::vector<std::string> &Prefix,
61 Expected<ReduceMiscompilingPasses::TestResult>
83 Expected<bool> Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", in doTest()
189 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>,
194 Expected<bool> (*F)(BugDriver &, in ReduceMiscompilingFunctions()
199 Expected<TestResult> doTest(std::vector<Function *> &Prefix, in doTest()
202 Expected<bool> Ret = TestFuncs(Suffix); in doTest()
209 Expected<bool> Ret = TestFuncs(Prefix); in doTest()
218 Expected<bool> TestFuncs(const std::vector<Function *> &Prefix);
228 static Expected<std::unique_ptr<Module>> testMergedProgram(const BugDriver &BD, in testMergedProgram()
239 Expected<bool> Diff = BD.diffProgram(*Merged, "", "", false); in testMergedProgram()
249 Expected<bool>
283 Expected<bool> Broken = in TestFuncs()
306 static Expected<bool>
308 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractLoops()
336 Expected<std::unique_ptr<Module>> New = testMergedProgram( in ExtractLoops()
378 Expected<bool> Result = TestFn(BD, std::move(ToOptimizeLoopExtracted), in ExtractLoops()
447 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>,
453 Expected<bool> (*F)(BugDriver &, in ReduceMiscompiledBlocks()
459 Expected<TestResult> doTest(std::vector<BasicBlock *> &Prefix, in doTest()
462 Expected<bool> Ret = TestFuncs(Suffix); in doTest()
469 Expected<bool> Ret = TestFuncs(Prefix); in doTest()
478 Expected<bool> TestFuncs(const std::vector<BasicBlock *> &BBs);
485 Expected<bool>
525 Expected<bool> Ret = TestFn(BD, std::move(New), std::move(ToNotOptimize)); in TestFuncs()
536 static Expected<bool>
538 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractBlocks()
555 Expected<bool> Ret = ReduceMiscompiledBlocks(BD, TestFn, MiscompiledFunctions) in ExtractBlocks()
562 Expected<bool> Ret = in ExtractBlocks()
613 static Expected<std::vector<Function *>> DebugAMiscompilation( in DebugAMiscompilation()
615 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in DebugAMiscompilation()
629 Expected<bool> Ret = ReduceMiscompilingFunctions(BD, TestFn) in DebugAMiscompilation()
646 Expected<bool> Ret = ExtractLoops(BD, TestFn, MiscompiledFunctions); in DebugAMiscompilation()
670 Expected<bool> Ret = ExtractBlocks(BD, TestFn, MiscompiledFunctions); in DebugAMiscompilation()
699 static Expected<bool> TestOptimizer(BugDriver &BD, std::unique_ptr<Module> Test, in TestOptimizer()
737 Expected<bool> Result = in debugMiscompilation()
753 Expected<std::vector<Function *>> MiscompiledFunctions = in debugMiscompilation()
941 static Expected<bool> TestCodeGenerator(BugDriver &BD, in TestCodeGenerator()
981 Expected<std::string> SharedObject = in TestCodeGenerator()
990 Expected<bool> Result = in TestCodeGenerator()
1007 Expected<std::string> Result = in debugCodeGenerator()
1023 Expected<std::vector<Function *>> Funcs = in debugCodeGenerator()
1068 Expected<std::string> SharedObject = compileSharedObject(SafeModuleBC.str()); in debugCodeGenerator()