Home | History | Annotate | Download | only in Utils

Lines Matching defs:I1

530   unsigned i1 = 0, i2 = 0, e1 = V1->size(), e2 = V2->size();
531 while (i1 != e1 && i2 != e2) {
532 if ((*V1)[i1].first == (*V2)[i2].first)
534 if ((*V1)[i1].first < (*V2)[i2].first)
535 ++i1;
822 Instruction *I1, Instruction *I2) {
829 if (BB1V != BB2V && (BB1V==I1 || BB2V==I2)) {
852 Instruction *I1 = BB1_Itr++, *I2 = BB2_Itr++;
854 DbgInfoIntrinsic *DBI1 = dyn_cast<DbgInfoIntrinsic>(I1);
857 while (isa<DbgInfoIntrinsic>(I1))
858 I1 = BB1_Itr++;
862 if (isa<PHINode>(I1) || !I1->isIdenticalToWhenDefined(I2) ||
863 (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2)))
872 if (isa<TerminatorInst>(I1))
878 BIParent->getInstList().splice(BI, BB1->getInstList(), I1);
880 I2->replaceAllUsesWith(I1);
881 I1->intersectOptionalDataWith(I2);
884 I1 = BB1_Itr++;
887 DbgInfoIntrinsic *DBI1 = dyn_cast<DbgInfoIntrinsic>(I1);
890 while (isa<DbgInfoIntrinsic>(I1))
891 I1 = BB1_Itr++;
895 } while (I1->isIdenticalToWhenDefined(I2));
901 if (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2))
905 Instruction *NT = I1->clone();
908 I1->replaceAllUsesWith(NT);
910 NT->takeName(I1);
989 // br i1 %t1, label %BB1, label %BB2
998 // %t3 = select i1 %t1, %t2, %t3
1294 // Don't fold i1 branches on PHIs which contain binary operators. These can
1937 /// ... = phi i1 [ true, %entry ], [ %tmp, %DEFAULT ], [ true, %entry ]