Home | History | Annotate | Download | only in bugpoint

Lines Matching refs:Error

53                       std::string &Error) override;
63 std::string &Error) {
72 errs() << " Error running this sequence of passes"
75 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false);
81 true /*delete bitcode*/, &Error);
82 if (!Error.empty())
110 errs() << " Error running this sequence of passes"
113 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false);
118 Diff = BD.diffProgram(BD.getProgram(), BitcodeResult, "", false, &Error);
119 if (!Error.empty())
134 errs() << BD.getToolName() << ": Error reading bitcode file '"
152 errs() << " Error running this sequence of passes"
155 BD.EmitProgressBitcode(BD.getProgram(), "pass-error", false);
161 true /*delete bitcode*/, &Error);
162 if (!Error.empty())
191 std::string &Error) override {
193 bool Ret = TestFuncs(Suffix, Error);
194 if (!Error.empty())
200 bool Ret = TestFuncs(Prefix, Error);
201 if (!Error.empty())
209 bool TestFuncs(const std::vector<Function*> &Prefix, std::string &Error);
214 /// if the program matches the diff. If there is an error, return NULL. If not,
222 std::string &Error,
228 Broken = BD.diffProgram(M1.get(), "", "", false, &Error);
229 if (!Error.empty())
239 std::string &Error) {
273 TestFn(BD, std::move(ToOptimize), std::move(ToNotOptimize), Error);
300 std::string &Error) {
330 std::move(ToNotOptimize), Error, Failure);
344 errs() << " *** ERROR: Loop extraction broke the program. :("
373 std::move(ToNotOptimize), Error);
374 if (!Error.empty())
383 // that masked the error. Stop loop extraction now.
452 std::string &Error) override {
454 bool Ret = TestFuncs(Suffix, Error);
455 if (!Error.empty())
461 bool Ret = TestFuncs(Prefix, Error);
462 if (!Error.empty())
470 bool TestFuncs(const std::vector<BasicBlock*> &BBs, std::string &Error);
478 std::string &Error) {
516 bool Ret = TestFn(BD, std::move(New), std::move(ToNotOptimize), Error);
532 std::string &Error) {
547 .TestFuncs(std::vector<BasicBlock*>(), Error);
548 if (!Error.empty())
554 MiscompiledFunctions).reduceList(Blocks, Error);
555 if (!Error.empty())
611 std::string &Error) {
625 Error);
626 if (!Error.empty()) {
640 bool Ret = ExtractLoops(BD, TestFn, MiscompiledFunctions, Error);
641 if (!Error.empty())
651 Error);
652 if (!Error.empty())
664 bool Ret = ExtractBlocks(BD, TestFn, MiscompiledFunctions, Error);
665 if (!Error.empty())
674 Error);
675 if (!Error.empty())
694 std::unique_ptr<Module> Safe, std::string &Error) {
706 BD, std::move(Optimized), std::move(Safe), Error, Broken);
720 void BugDriver::debugMiscompilation(std::string *Error) {
723 if (!ReduceMiscompilingPasses(*this).reduceList(PassesToRun, *Error)) {
724 if (Error->empty())
736 DebugAMiscompilation(*this, TestOptimizer, *Error);
737 if (!Error->empty())
927 std::string &Error) {
935 errs() << BD.getToolName() << "Error making unique filename: "
940 errs() << "Error writing bitcode to `" << TestModuleBC.str()
953 errs() << BD.getToolName() << "Error making unique filename: "
959 errs() << "Error writing bitcode to `" << SafeModuleBC
966 std::string SharedObject = BD.compileSharedObject(SafeModuleBC.str(), Error);
967 if (!Error.empty())
975 SharedObject, false, &Error);
976 if (!Error.empty())
990 bool BugDriver::debugCodeGenerator(std::string *Error) {
993 Error);
994 if (Error->empty()) {
1010 *Error);
1011 if (!Error->empty())
1028 errs() << getToolName() << "Error making unique filename: "
1034 errs() << "Error writing bitcode to `" << TestModuleBC
1045 errs() << getToolName() << "Error making unique filename: "
1052 errs() << "Error writing bitcode to `" << SafeModuleBC
1056 std::string SharedObject = compileSharedObject(SafeModuleBC.str(), *Error);
1057 if (!Error->empty())