Lines Matching defs:Elt
140 Value *Elt = EI.getIndexOperand();
149 ExtractElementInst::Create(B0->getOperand(opId), Elt,
150 B0->getOperand(opId)->getName() + ".Elt"),
158 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, "");
231 if (Value *Elt = findScalarElement(X, ExtIndexC))
232 return new BitCastInst(Elt, DestTy);
269 // Vector Byte Elt Index: 0 1 2 3 4 5 6 7
928 std::optional<Instruction *> &Elt = AggElts[Indices.front()];
929 Elt = Elt.value_or(InsertedValue);
969 // Given the value \p Elt that was being inserted into element \p EltIdx of an
970 // aggregate AggTy, see if \p Elt was originally defined by an
973 // If \p PredBB is provided, does PHI translation of an \p Elt first.
975 [&](Instruction *Elt, unsigned EltIdx, std::optional<BasicBlock *> UseBB,
979 Elt = dyn_cast<Instruction>(Elt->DoPHITranslation(*UseBB, *PredBB));
980 if (Elt && Elt->getParent() == *UseBB)
986 auto *EVI = dyn_cast_or_null<ExtractValueInst>(Elt);
1164 Value *Elt = (*Val)->DoPHITranslation(UseBB, It.first);
1165 if (!isa<Constant>(Elt)) {
1184 Value *Elt = (*Val)->DoPHITranslation(UseBB, Pred);
1185 V = Builder.CreateInsertValue(V, Elt, Idx);
1268 int Elt = Shuf.getMaskValue(i);
1269 if (Elt != -1 && Elt != i && Elt != i + VecSize)