• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/

Lines Matching refs:InsertElementInst

396     if (auto *IE = dyn_cast<InsertElementInst>(I)) {
469 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) {
522 static void replaceExtractElements(InsertElementInst *InsElt,
569 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back()))
624 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) {
747 static Instruction *foldInsSequenceIntoSplat(InsertElementInst &InsElt) {
750 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back()))
762 InsertElementInst *CurrIE = &InsElt;
764 InsertElementInst *FirstIE = nullptr;
773 auto *NextIE = dyn_cast<InsertElementInst>(CurrIE->getOperand(0));
803 FirstIE = InsertElementInst::Create(UndefVec, SplatVal, Zero, "", &InsElt);
816 static Instruction *foldInsEltIntoSplat(InsertElementInst &InsElt) {
850 static Instruction *foldInsEltIntoIdentityShuffle(InsertElementInst &InsElt) {
906 static Instruction *hoistInsEltConst(InsertElementInst &InsElt2,
908 auto *InsElt1 = dyn_cast<InsertElementInst>(InsElt2.getOperand(0));
921 return InsertElementInst::Create(NewInsElt1, Y, IdxC1);
929 static Instruction *foldConstantInsEltIntoShuffle(InsertElementInst &InsElt) {
982 } else if (auto *IEI = dyn_cast<InsertElementInst>(Inst)) {
1026 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) {
1071 auto isShuffleRootCandidate = [](InsertElementInst &Insert) {
1074 auto *InsertUser = dyn_cast<InsertElementInst>(Insert.user_back());
1386 return InsertElementInst::Create(V, I->getOperand(1),
1822 return InsertElementInst::Create(V1, Scalar, IndexC);
1830 return InsertElementInst::Create(V1, Scalar, IndexC);