reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/bugpoint/CrashDebugger.cpp
 1095     if (Error E = ReduceGlobalInitializers(BD, TestFn))
 1100   for (Function &F : BD.getProgram())
 1110         ReduceCrashingFunctions(BD, TestFn).reduceList(Functions);
 1115       BD.EmitProgressBitcode(BD.getProgram(), "reduced-function");
 1115       BD.EmitProgressBitcode(BD.getProgram(), "reduced-function");
 1120   for (Function &F : BD.getProgram())
 1130       Function *Fn = BD.getProgram().getFunction(Name);
 1139           ReduceCrashingFunctionAttributes(BD, Name, TestFn).reduceList(Attrs);
 1147       BD.EmitProgressBitcode(BD.getProgram(), "reduced-function-attributes");
 1147       BD.EmitProgressBitcode(BD.getProgram(), "reduced-function-attributes");
 1154     for (Function &F : BD.getProgram())
 1159         ReduceCrashingConditionals(BD, TestFn, true).reduceList(Blocks);
 1162     Result = ReduceCrashingConditionals(BD, TestFn, false).reduceList(Blocks);
 1166       BD.EmitProgressBitcode(BD.getProgram(), "reduced-conditionals");
 1166       BD.EmitProgressBitcode(BD.getProgram(), "reduced-conditionals");
 1176     for (Function &F : BD.getProgram())
 1180     Expected<bool> Result = ReduceCrashingBlocks(BD, TestFn).reduceList(Blocks);
 1184       BD.EmitProgressBitcode(BD.getProgram(), "reduced-blocks");
 1184       BD.EmitProgressBitcode(BD.getProgram(), "reduced-blocks");
 1189     for (Function &F : BD.getProgram())
 1193     Expected<bool> Result = ReduceSimplifyCFG(BD, TestFn).reduceList(Blocks);
 1197       BD.EmitProgressBitcode(BD.getProgram(), "reduced-simplifycfg");
 1197       BD.EmitProgressBitcode(BD.getProgram(), "reduced-simplifycfg");
 1203     if (Error E = ReduceInsts(BD, TestFn))
 1208     std::unique_ptr<Module> M = CloneModule(BD.getProgram());
 1210     if (TestFn(BD, M.get()))
 1211       BD.setNewProgram(std::move(M));
 1228       for (auto &NamedMD : BD.getProgram().named_metadata())
 1231           ReduceCrashingNamedMD(BD, TestFn).reduceList(NamedMDNames);
 1240       for (auto &NamedMD : BD.getProgram().named_metadata())
 1244           ReduceCrashingNamedMDOps(BD, TestFn).reduceList(NamedMDOps);
 1248     BD.EmitProgressBitcode(BD.getProgram(), "reduced-named-md");
 1248     BD.EmitProgressBitcode(BD.getProgram(), "reduced-named-md");
 1254     std::unique_ptr<Module> M = CloneModule(BD.getProgram());
 1255     M = BD.performFinalCleanups(std::move(M), true);
 1258     if (M && TestFn(BD, M.get()))
 1259       BD.setNewProgram(
 1263   BD.EmitProgressBitcode(BD.getProgram(), "reduced-simplified");
 1263   BD.EmitProgressBitcode(BD.getProgram(), "reduced-simplified");