Lines Matching defs:RI2
136 RewriteInstance &RI2;
228 for (const auto &BFI : RI2.BC->getBinaryFunctions()) {
231 const double Score = getNormalizedScore(Function, RI2);
251 for (const auto &BFI2 : RI2.BC->getBinaryFunctions()) {
301 RI1.BC->logBOLTErrorsAndQuitOnFatal(PPS.runOnFunctions(*RI2.BC));
383 const double ScoreEdge2 = getNormalizedScore(BIIter2, RI2);
421 std::make_pair<>(std::abs(getNormalizedScore(*BB2, RI2) -
436 const double Score2 = getNormalizedScore(*BB2, RI2);
510 for (const auto &BFI : RI2.BC->getBinaryFunctions()) {
513 double Score = getNormalizedScore(Function, RI2);
525 RI2.BC->getBinaryFunctions().size() - Bin2MappedFuncs.size();
546 double Score2 = getNormalizedScore(*Func2, RI2);
645 for (const auto &BFI2 : RI2.BC->getBinaryFunctions()) {
670 RewriteInstanceDiff(RewriteInstance &RI1, RewriteInstance &RI2)
671 : RI1(RI1), RI2(RI2) {
680 void RewriteInstance::compare(RewriteInstance &RI2) {
684 outs() << "Trace for binary 2 has " << RI2.getTotalScore()
688 static_cast<double>(RI2.getTotalScore() - this->getTotalScore()) /
695 if (!this->getTotalScore() || !RI2.getTotalScore()) {
707 BC->logBOLTErrorsAndQuitOnFatal(ICF.runOnFunctions(*RI2.BC));
710 RewriteInstanceDiff RID(*this, RI2);