Home | History | Annotate | Download | only in llvm-diff

Lines Matching refs:RI

196     BasicBlock::iterator RI = R->begin();
201 assert(LI != LE && RI != R->end());
202 Instruction *LeftI = &*LI, *RightI = &*RI;
215 ++LI, ++RI;
221 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI)
222 unify(&*LI, &*RI);
226 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI);
280 InvokeInst *RI = cast<InvokeInst>(R);
281 if (diffCallSites(CallSite(LI), CallSite(RI), Complain))
285 tryUnify(LI->getNormalDest(), RI->getNormalDest());
286 tryUnify(LI->getUnwindDest(), RI->getUnwindDest());
292 BranchInst *RI = cast<BranchInst>(R);
293 if (LI->isConditional() != RI->isConditional()) {
299 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
303 if (TryUnify) tryUnify(LI->getSuccessor(1), RI->getSuccessor(1));
305 if (TryUnify) tryUnify(LI->getSuccessor(0), RI->getSuccessor(0));
310 SwitchInst *RI = cast<SwitchInst>(R);
311 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
315 if (TryUnify) tryUnify(LI->getDefaultDest(), RI->getDefaultDest());
325 for (SwitchInst::CaseIt I = RI->case_begin(), E = RI->case_end();
468 RI = R->arg_begin(), RE = R->arg_end();
469 LI != LE && RI != RE; ++LI, ++RI)
470 Values[&*LI] = &*RI;
515 for (BasicBlock::iterator RI = RStart; RI != RE; ++RI) {
523 if (matchForBlockDiff(&*LI, &*RI)) {
527 TentativeValues.insert(std::make_pair(&*LI, &*RI));
547 BasicBlock::iterator LI = LStart, RI = RStart;
559 unify(&*LI, &*RI);
560 ++PI, ++LI, ++RI;
566 assert(LI != LE && RI != RE);
568 Instruction *L = &*LI, *R = &*RI;
572 ++LI; ++RI;
582 assert(RI != RE);
583 Diff.addRight(&*RI);
584 ++RI;
592 assert(RI != RE);
593 unify(&*LI, &*RI);
594 ++LI, ++RI;