Lines Matching defs:MapEntry
352 for (const auto &MapEntry : FuncMap) {
353 const BinaryFunction *const &Func1 = MapEntry.second;
354 const BinaryFunction *const &Func2 = MapEntry.first;
417 for (const auto &MapEntry : BBMap) {
418 const BinaryBasicBlock *BB2 = MapEntry.first;
419 const BinaryBasicBlock *BB1 = MapEntry.second;
539 for (const auto &MapEntry : FuncMap) {
540 const BinaryFunction *const &Func1 = MapEntry.second;
541 const BinaryFunction *const &Func2 = MapEntry.first;
555 std::make_pair<>(std::abs(Score1 - Score2), MapEntry));
565 for (decltype(this->FuncMap)::value_type &MapEntry :
568 MapEntry.second->computeHash(/*UseDFS=*/true) ==
569 MapEntry.first->computeHash(/*UseDFS=*/true))
571 const std::pair<double, double> &Scores = ScoreMap[MapEntry.first];
572 outs() << "Function " << MapEntry.first->getDemangledName();
573 if (MapEntry.first->getDemangledName() !=
574 MapEntry.second->getDemangledName())
575 outs() << "\nmatched " << MapEntry.second->getDemangledName();
581 if (MapEntry.second->computeHash(/*UseDFS=*/true) !=
582 MapEntry.first->computeHash(/*UseDFS=*/true)) {
587 MapEntry.second->dump();
591 MapEntry.first->dump();
609 for (std::pair<const double, const BinaryFunction *> &MapEntry :
611 outs() << "Function " << MapEntry.second->getDemangledName() << "\n";
612 auto Iter = ScoreMap.find(MapEntry.second);
616 outs() << "\tScore bin2 = " << format("%.2f", MapEntry.first * 100.0)
628 for (const std::pair<const double, const BinaryFunction *> &MapEntry :
630 outs() << "Function " << MapEntry.second->getDemangledName()
631 << "\n\tScore bin1 = " << format("%.2f", MapEntry.first * 100.0)