Lines Matching refs:Before
128 std::string doSystemDiff(StringRef Before, StringRef After, in doSystemDiff() argument
131 StringRef SR[2]{Before, After}; in doSystemDiff()
439 IRUnitT &Before = BeforeStack.back(); in handleIRAfterPass() local
445 if (same(Before, After)) { in handleIRAfterPass()
449 handleAfter(PassID, Name, Before, After, IR); in handleIRAfterPass()
547 const std::string &Before, in handleAfter() argument
552 << Before; in handleAfter()
570 const OrderedChangedData &Before, const OrderedChangedData &After, in report() argument
572 const auto &BFD = Before.getData(); in report()
574 std::vector<std::string>::const_iterator BI = Before.getOrder().begin(); in report()
575 std::vector<std::string>::const_iterator BE = Before.getOrder().end(); in report()
640 assert(Before.getData().size() == 1 && "Expected only one function."); in compare()
643 Before.getData().begin()->getValue(), in compare()
649 Before, After, [&](const ChangedFuncData *B, const ChangedFuncData *A) { in compare()
969 const CFG &Before, in printDiff() argument
972 if (Before.isPoisoned()) { in printDiff()
978 if (Before.Graph.size() != After.Graph.size()) in printDiff()
980 << Before.Graph.size() << ", after=" << After.Graph.size() << "\n"; in printDiff()
982 for (auto &BB : Before.Graph) { in printDiff()
992 auto BB = Before.Graph.find(BA.first); in printDiff()
993 if (BB == Before.Graph.end()) { in printDiff()
1173 const ChangedIRData &Before, in handleAfter() argument
1178 ChangedIRComparer(Out, Before, After, UseColour) in handleAfter()
1190 const ChangedFuncData &Before, in handleFunctionCompare() argument
1197 Before, After, [&](const ChangedBlockData *B, const ChangedBlockData *A) { in handleFunctionCompare()