Lines Matching refs:MapEntry

343     for (const auto &MapEntry : FuncMap) {  in matchBasicBlocks()  local
344 const BinaryFunction *const &Func1 = MapEntry.second; in matchBasicBlocks()
345 const BinaryFunction *const &Func2 = MapEntry.first; in matchBasicBlocks()
408 for (const auto &MapEntry : BBMap) { in reportHottestBBDiffs() local
409 const BinaryBasicBlock *BB2 = MapEntry.first; in reportHottestBBDiffs()
410 const BinaryBasicBlock *BB1 = MapEntry.second; in reportHottestBBDiffs()
526 for (const auto &MapEntry : FuncMap) { in reportHottestFuncDiffs() local
527 const BinaryFunction *const &Func1 = MapEntry.second; in reportHottestFuncDiffs()
528 const BinaryFunction *const &Func2 = MapEntry.first; in reportHottestFuncDiffs()
540 std::make_pair<>(std::abs(Score1 - Score2), MapEntry)); in reportHottestFuncDiffs()
552 &MapEntry = I->second; in reportHottestFuncDiffs() local
554 MapEntry.second->computeHash(/*UseDFS=*/true) == in reportHottestFuncDiffs()
555 MapEntry.first->computeHash(/*UseDFS=*/true)) in reportHottestFuncDiffs()
557 const std::pair<double, double> &Scores = ScoreMap[MapEntry.first]; in reportHottestFuncDiffs()
558 outs() << "Function " << MapEntry.first->getDemangledName(); in reportHottestFuncDiffs()
559 if (MapEntry.first->getDemangledName() != in reportHottestFuncDiffs()
560 MapEntry.second->getDemangledName()) in reportHottestFuncDiffs()
561 outs() << "\nmatched " << MapEntry.second->getDemangledName(); in reportHottestFuncDiffs()
567 if (MapEntry.second->computeHash(/*UseDFS=*/true) != in reportHottestFuncDiffs()
568 MapEntry.first->computeHash(/*UseDFS=*/true)) { in reportHottestFuncDiffs()
573 MapEntry.second->dump(); in reportHottestFuncDiffs()
577 MapEntry.first->dump(); in reportHottestFuncDiffs()
596 const std::pair<const double, const BinaryFunction *> &MapEntry = *I; in reportHottestFuncs() local
597 outs() << "Function " << MapEntry.second->getDemangledName() << "\n"; in reportHottestFuncs()
598 auto Iter = ScoreMap.find(MapEntry.second); in reportHottestFuncs()
602 outs() << "\tScore bin2 = " << format("%.2f", MapEntry.first * 100.0) in reportHottestFuncs()
615 const std::pair<const double, const BinaryFunction *> &MapEntry = *I; in reportHottestFuncs() local
616 outs() << "Function " << MapEntry.second->getDemangledName() in reportHottestFuncs()
617 << "\n\tScore bin1 = " << format("%.2f", MapEntry.first * 100.0) in reportHottestFuncs()