Lines Matching defs:Elt
404 Constant *Elt,
411 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue())
434 Result.push_back(Elt);
454 if (all_of(Mask, [](int Elt) { return Elt == PoisonMaskElem; })) {
460 if (all_of(Mask, [](int Elt) { return Elt == 0; })) {
462 Constant *Elt =
465 if (Elt->isNullValue()) {
469 return ConstantVector::getSplat(MaskEltCount, Elt);
482 int Elt = Mask[i];
483 if (Elt == -1) {
488 if (unsigned(Elt) >= SrcNumElts*2)
490 else if (unsigned(Elt) >= SrcNumElts) {
494 ConstantInt::get(Ty, Elt - SrcNumElts));
497 InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt));
580 if (Constant *Elt = ConstantFoldUnaryInstruction(Opcode, Splat))
581 return ConstantVector::getSplat(VTy->getElementCount(), Elt);
589 Constant *Elt = ConstantExpr::getExtractElement(C, ExtractIdx);
590 Constant *Res = ConstantFoldUnaryInstruction(Opcode, Elt);
1177 if (Constant *Elt =
1179 return ConstantVector::getSplat(C1VTy->getElementCount(), Elt);
1197 Constant *Elt = ConstantFoldCompareInstruction(Predicate, C1E, C2E);
1198 if (!Elt)
1201 ResElts.push_back(Elt);