• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/llvmCore-3425.0.34/tools/llvm-diff/

Lines Matching refs:LI

197     BasicBlock::iterator LI = L->begin(), LE = L->end();
203 assert(LI != LE && RI != R->end());
204 Instruction *LeftI = &*LI, *RightI = &*RI;
217 ++LI, ++RI;
218 } while (LI != LE); // This is sufficient: we can't get equality of
223 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI)
224 unify(&*LI, &*RI);
228 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI);
281 InvokeInst *LI = cast<InvokeInst>(L);
283 if (diffCallSites(CallSite(LI), CallSite(RI), Complain))
287 tryUnify(LI->getNormalDest(), RI->getNormalDest());
288 tryUnify(LI->getUnwindDest(), RI->getUnwindDest());
293 BranchInst *LI = cast<BranchInst>(L);
295 if (LI->isConditional() != RI->isConditional()) {
300 if (LI->isConditional()) {
301 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
305 if (TryUnify) tryUnify(LI->getSuccessor(1), RI->getSuccessor(1));
307 if (TryUnify) tryUnify(LI->getSuccessor(0), RI->getSuccessor(0));
311 SwitchInst *LI = cast<SwitchInst>(L);
313 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
317 if (TryUnify) tryUnify(LI->getDefaultDest(), RI->getDefaultDest());
323 for (SwitchInst::CaseIt I = LI->case_begin(), E = LI->case_end();
469 LI = L->arg_begin(), LE = L->arg_end(),
471 LI != LE && RI != RE; ++LI, ++RI)
472 Values[&*LI] = &*RI;
524 for (BasicBlock::iterator LI = LStart; LI != LE; ++LI, ++Index) {
525 if (matchForBlockDiff(&*LI, &*RI)) {
529 TentativeValues.insert(std::make_pair(&*LI, &*RI));
549 BasicBlock::iterator LI = LStart, RI = RStart;
561 unify(&*LI, &*RI);
562 ++PI, ++LI, ++RI;
568 assert(LI != LE && RI != RE);
570 Instruction *L = &*LI, *R = &*RI;
574 ++LI; ++RI;
578 assert(LI != LE);
579 Diff.addLeft(&*LI);
580 ++LI;
593 while (LI != LE) {
595 unify(&*LI, &*RI);
596 ++LI, ++RI;