• Home
  • Raw
  • Download

Lines Matching refs:LI

197     BasicBlock::iterator LI = L->begin(), LE = L->end();  in diff()  local
203 assert(LI != LE && RI != R->end()); in diff()
204 Instruction *LeftI = &*LI, *RightI = &*RI; in diff()
217 ++LI, ++RI; in diff()
218 } while (LI != LE); // This is sufficient: we can't get equality of in diff()
223 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff()
224 unify(&*LI, &*RI); in diff()
228 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI);
281 InvokeInst *LI = cast<InvokeInst>(L); in diff() local
283 if (diffCallSites(CallSite(LI), CallSite(RI), Complain)) in diff()
287 tryUnify(LI->getNormalDest(), RI->getNormalDest()); in diff()
288 tryUnify(LI->getUnwindDest(), RI->getUnwindDest()); in diff()
293 BranchInst *LI = cast<BranchInst>(L); in diff() local
295 if (LI->isConditional() != RI->isConditional()) { in diff()
300 if (LI->isConditional()) { in diff()
301 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) { in diff()
305 if (TryUnify) tryUnify(LI->getSuccessor(1), RI->getSuccessor(1)); in diff()
307 if (TryUnify) tryUnify(LI->getSuccessor(0), RI->getSuccessor(0)); in diff()
311 SwitchInst *LI = cast<SwitchInst>(L); in diff() local
313 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) { in diff()
317 if (TryUnify) tryUnify(LI->getDefaultDest(), RI->getDefaultDest()); in diff()
322 for (unsigned I = 1, E = LI->getNumCases(); I != E; ++I) in diff()
323 LCases[LI->getCaseValue(I)] = LI->getSuccessor(I); in diff()
465 LI = L->arg_begin(), LE = L->arg_end(), in diff() local
467 LI != LE && RI != RE; ++LI, ++RI) in diff()
468 Values[&*LI] = &*RI; in diff()
520 for (BasicBlock::iterator LI = LStart; LI != LE; ++LI, ++Index) { in runBlockDiff() local
521 if (matchForBlockDiff(&*LI, &*RI)) { in runBlockDiff()
525 TentativeValues.insert(std::make_pair(&*LI, &*RI)); in runBlockDiff()
545 BasicBlock::iterator LI = LStart, RI = RStart; in runBlockDiff() local
557 unify(&*LI, &*RI); in runBlockDiff()
558 ++PI, ++LI, ++RI; in runBlockDiff()
564 assert(LI != LE && RI != RE); in runBlockDiff()
566 Instruction *L = &*LI, *R = &*RI; in runBlockDiff()
570 ++LI; ++RI; in runBlockDiff()
574 assert(LI != LE); in runBlockDiff()
575 Diff.addLeft(&*LI); in runBlockDiff()
576 ++LI; in runBlockDiff()
589 while (LI != LE) { in runBlockDiff()
591 unify(&*LI, &*RI); in runBlockDiff()
592 ++LI, ++RI; in runBlockDiff()