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

Lines Matching refs:RI

196     BasicBlock::iterator RI = R->begin();
199 assert(LI != LE && RI != R->end());
200 Instruction *LeftI = &*LI, *RightI = &*RI;
213 ++LI, ++RI;
219 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI)
220 unify(&*LI, &*RI);
224 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI);
278 InvokeInst *RI = cast<InvokeInst>(R);
279 if (diffCallSites(CallSite(LI), CallSite(RI), Complain))
283 tryUnify(LI->getNormalDest(), RI->getNormalDest());
284 tryUnify(LI->getUnwindDest(), RI->getUnwindDest());
290 BranchInst *RI = cast<BranchInst>(R);
291 if (LI->isConditional() != RI->isConditional()) {
297 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
301 if (TryUnify) tryUnify(LI->getSuccessor(1), RI->getSuccessor(1));
303 if (TryUnify) tryUnify(LI->getSuccessor(0), RI->getSuccessor(0));
308 SwitchInst *RI = cast<SwitchInst>(R);
309 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
313 if (TryUnify) tryUnify(LI->getDefaultDest(), RI->getDefaultDest());
323 for (SwitchInst::CaseIt I = RI->case_begin(), E = RI->case_end();
466 RI = R->arg_begin(), RE = R->arg_end();
467 LI != LE && RI != RE; ++LI, ++RI)
468 Values[&*LI] = &*RI;
513 for (BasicBlock::iterator RI = RStart; RI != RE; ++RI) {
521 if (matchForBlockDiff(&*LI, &*RI)) {
525 RI));
545 BasicBlock::iterator LI = LStart, RI = RStart;
557 unify(&*LI, &*RI);
558 ++PI, ++LI, ++RI;
564 assert(LI != LE && RI != RE);
566 Instruction *L = &*LI, *R = &*RI;
570 ++LI; ++RI;
580 assert(RI != RE);
581 Diff.addRight(&*RI);
582 ++RI;
590 assert(RI != RE);
591 unify(&*LI, &*RI);
592 ++LI, ++RI;