Lines Matching defs:IE2
5521 auto *IE2 = V;
5523 std::optional<unsigned> Idx2 = getElementIndex(IE2);
5527 // either VU as the original vector for IE2 or V as the original vector for
5533 if (IE2 == VU && !IE1)
5535 if (IE1 == V && !IE2)
5546 if (IE2 && IE2 != VU) {
5547 unsigned Idx2 = getElementIndex(IE2).value_or(*Idx1);
5550 if ((IE2 != V && !IE2->hasOneUse()) || IsReusedIdx)
5551 IE2 = nullptr;
5553 IE2 = dyn_cast_or_null<InsertElementInst>(GetBaseOperand(IE2));
5555 } while (!IsReusedIdx && (IE1 || IE2));
5747 auto *IE2 = dyn_cast<InsertElementInst>(FirstUserOfPhi2);
5750 if (IE1 && !IE2)
5752 if (!IE1 && IE2)
5754 if (IE1 && IE2) {
5760 return getElementIndex(IE1) < getElementIndex(IE2);
12280 /// Checks if the \p IE1 instructions is followed by \p IE2 instruction in the
12283 const InsertElementInst *IE2) {
12284 if (IE1 == IE2)
12287 const auto *I2 = IE2;
12291 unsigned Idx2 = *getElementIndex(IE2);
12295 if (I1 == IE2)
12302 if (I2 && ((I2 == IE2 || I2->hasOneUse())) &&