Lines Matching refs:I1
1220 Instruction *I1, Instruction *I2) {
1225 if (BB1V != BB2V && (BB1V == I1 || BB2V == I2)) {
1251 Instruction *I1 = &*BB1_Itr++, *I2 = &*BB2_Itr++;
1253 DbgInfoIntrinsic *DBI1 = dyn_cast<DbgInfoIntrinsic>(I1);
1256 while (isa<DbgInfoIntrinsic>(I1))
1257 I1 = &*BB1_Itr++;
1262 if (isa<PHINode>(I1) || !I1->isIdenticalToWhenDefined(I2) ||
1263 (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2)) ||
1264 isa<CallBrInst>(I1))
1273 if (I1->isTerminator())
1281 auto *C1 = dyn_cast<CallInst>(I1);
1287 if (!TTI.isProfitableToHoist(I1) || !TTI.isProfitableToHoist(I2))
1290 if (isa<DbgInfoIntrinsic>(I1) || isa<DbgInfoIntrinsic>(I2)) {
1291 assert (isa<DbgInfoIntrinsic>(I1) && isa<DbgInfoIntrinsic>(I2));
1296 BB1->getInstList(), I1);
1305 BB1->getInstList(), I1);
1307 I2->replaceAllUsesWith(I1);
1308 I1->andIRFlags(I2);
1321 combineMetadata(I1, I2, KnownIDs, true);
1323 // I1 and I2 are being combined into a single instruction. Its debug
1325 I1->applyMergedLocation(I1->getDebugLoc(), I2->getDebugLoc());
1331 I1 = &*BB1_Itr++;
1334 DbgInfoIntrinsic *DBI1 = dyn_cast<DbgInfoIntrinsic>(I1);
1337 while (isa<DbgInfoIntrinsic>(I1))
1338 I1 = &*BB1_Itr++;
1342 } while (I1->isIdenticalToWhenDefined(I2));
1349 if (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2))
1353 if (isa<CallBrInst>(I1))
1377 Instruction *NT = I1->clone();
1380 I1->replaceAllUsesWith(NT);
1382 NT->takeName(I1);
1387 NT->applyMergedLocation(I1->getDebugLoc(), I2->getDebugLoc());