Lines Matching refs:LI
194 BasicBlock::iterator LI = L->begin(), LE = L->end(); in diff() local
198 assert(LI != LE && RI != R->end()); in diff()
199 Instruction *LeftI = &*LI, *RightI = &*RI; in diff()
212 ++LI; in diff()
214 } while (LI != LE); // This is sufficient: we can't get equality of in diff()
219 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) in diff()
220 unify(&*LI, &*RI); in diff()
224 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI);
277 InvokeInst *LI = cast<InvokeInst>(L); in diff() local
279 if (diffCallSites(CallSite(LI), CallSite(RI), Complain)) in diff()
283 tryUnify(LI->getNormalDest(), RI->getNormalDest()); in diff()
284 tryUnify(LI->getUnwindDest(), RI->getUnwindDest()); in diff()
289 BranchInst *LI = cast<BranchInst>(L); in diff() local
291 if (LI->isConditional() != RI->isConditional()) { in diff()
296 if (LI->isConditional()) { in diff()
297 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) { in diff()
301 if (TryUnify) tryUnify(LI->getSuccessor(1), RI->getSuccessor(1)); in diff()
303 if (TryUnify) tryUnify(LI->getSuccessor(0), RI->getSuccessor(0)); in diff()
307 SwitchInst *LI = cast<SwitchInst>(L); in diff() local
309 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) { in diff()
313 if (TryUnify) tryUnify(LI->getDefaultDest(), RI->getDefaultDest()); in diff()
319 for (SwitchInst::CaseIt I = LI->case_begin(), E = LI->case_end(); 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()
559 ++LI; in runBlockDiff()
566 assert(LI != LE && RI != RE); in runBlockDiff()
568 Instruction *L = &*LI, *R = &*RI; in runBlockDiff()
572 ++LI; ++RI; in runBlockDiff()
576 assert(LI != LE); in runBlockDiff()
577 Diff.addLeft(&*LI); in runBlockDiff()
578 ++LI; in runBlockDiff()
591 while (LI != LE) { in runBlockDiff()
593 unify(&*LI, &*RI); in runBlockDiff()
594 ++LI; in runBlockDiff()