reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/SimplifyCFG.cpp
 1252   DbgInfoIntrinsic *DBI1 = dyn_cast<DbgInfoIntrinsic>(I1);
 1255     while (isa<DbgInfoIntrinsic>(I1))
 1256       I1 = &*BB1_Itr++;
 1261   if (isa<PHINode>(I1) || !I1->isIdenticalToWhenDefined(I2) ||
 1261   if (isa<PHINode>(I1) || !I1->isIdenticalToWhenDefined(I2) ||
 1262       (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2)) ||
 1262       (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2)) ||
 1263       isa<CallBrInst>(I1))
 1272     if (I1->isTerminator())
 1280     auto *C1 = dyn_cast<CallInst>(I1);
 1286     if (!TTI.isProfitableToHoist(I1) || !TTI.isProfitableToHoist(I2))
 1289     if (isa<DbgInfoIntrinsic>(I1) || isa<DbgInfoIntrinsic>(I2)) {
 1290       assert (isa<DbgInfoIntrinsic>(I1) && isa<DbgInfoIntrinsic>(I2));
 1295                                      BB1->getInstList(), I1);
 1304                                      BB1->getInstList(), I1);
 1306         I2->replaceAllUsesWith(I1);
 1307       I1->andIRFlags(I2);
 1320       combineMetadata(I1, I2, KnownIDs, true);
 1324       I1->applyMergedLocation(I1->getDebugLoc(), I2->getDebugLoc());
 1324       I1->applyMergedLocation(I1->getDebugLoc(), I2->getDebugLoc());
 1330     I1 = &*BB1_Itr++;
 1333     DbgInfoIntrinsic *DBI1 = dyn_cast<DbgInfoIntrinsic>(I1);
 1336       while (isa<DbgInfoIntrinsic>(I1))
 1337         I1 = &*BB1_Itr++;
 1341   } while (I1->isIdenticalToWhenDefined(I2));
 1348   if (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2))
 1348   if (isa<InvokeInst>(I1) && !isSafeToHoistInvoke(BB1, BB2, I1, I2))
 1352   if (isa<CallBrInst>(I1))
 1376   Instruction *NT = I1->clone();
 1379     I1->replaceAllUsesWith(NT);
 1381     NT->takeName(I1);
 1386   NT->applyMergedLocation(I1->getDebugLoc(), I2->getDebugLoc());