Home
last modified time | relevance | path

Searched refs:InsertElementInst (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp471 if (auto *IE = dyn_cast<InsertElementInst>(I)) { in visitExtractElementInst()
613 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectSingleShuffleElements()
663 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements()
762 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectShuffleElements()
1190 InsertElementInst *CurrIE = &InsElt; in foldInsSequenceIntoSplat()
1192 InsertElementInst *FirstIE = nullptr; in foldInsSequenceIntoSplat()
1355 return InsertElementInst::Create(NewInsElt1, Y, IdxC1); in hoistInsEltConst()
1467 static Instruction *narrowInsElt(InsertElementInst &InsElt, in narrowInsElt()
1885 return InsertElementInst::Create(V, I->getOperand(1), in evaluateInDifferentElementOrder()
2465 return InsertElementInst::Create(V1, Scalar, IndexC); in foldShuffleWithInsert()
[all …]
H A DInstCombineNegator.cpp362 auto *IEI = cast<InsertElementInst>(I); in visitImpl()
H A DInstCombineCasts.cpp751 auto *InsElt = dyn_cast<InsertElementInst>(Trunc.getOperand(0)); in shrinkInsertElt()
766 return InsertElementInst::Create(NarrowUndef, NarrowOp, Index); in shrinkInsertElt()
2114 return InsertElementInst::Create(Vec, NewCast, Index); in visitPtrToInt()
2771 return InsertElementInst::Create(PoisonValue::get(DestTy), Elem, in visitBitCast()
2810 if (auto *InsElt = dyn_cast<InsertElementInst>(Src)) in visitBitCast()
H A DInstCombineInternal.h168 Instruction *visitInsertElementInst(InsertElementInst &IE);
H A DInstCombineSimplifyDemanded.cpp1479 Instruction *New = InsertElementInst::Create( in SimplifyDemandedVectorElts()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h36 class InsertElementInst; variable
122 bool vectorizeInsertElementInst(InsertElementInst *IEI, BasicBlock *BB,
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp215 if (!isa<InsertElementInst, ExtractElementInst>(V) && in isVectorLikeInstWithConstOps()
4628 !isa<InsertElementInst>(S.OpValue)) { in buildTree_rec()
5918 if (isa<InsertElementInst>(VL[0])) in getEntryCost()
6896 const InsertElementInst *PrevI1; in isFirstInsertElement()
6897 const InsertElementInst *PrevI2; in isFirstInsertElement()
8513 isa<InsertElementInst>(Scalar) && in vectorizeTree()
8515 auto *IE = cast<InsertElementInst>(Scalar); in vectorizeTree()
8828 InsertElementInst *II = nullptr; in vectorizeTree()
9630 if (auto *IEI = dyn_cast<InsertElementInst>(V)) in getVectorElementSize()
9728 isa<InsertElementInst>(I->getOperand(0))) in collectValuesToDemote()
[all …]
H A DVPlanRecipes.cpp914 InsertElementInst *IEI = cast<InsertElementInst>(VectorValue); in execute()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp221 bool visitInsertElementInst(InsertElementInst &IEI);
323 InsertElementInst *Insert = dyn_cast<InsertElementInst>(V); in operator []()
797 bool ScalarizerVisitor::visitInsertElementInst(InsertElementInst &IEI) { in visitInsertElementInst()
H A DRewriteStatepointsForGC.cpp450 if (isa<InsertElementInst>(I)) { in findBaseDefiningValueOfVector()
726 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isOriginalBaseResult()
904 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV) || in findBasePointer()
933 } else if (auto *IE = dyn_cast<InsertElementInst>(BDV)) { in findBasePointer()
1141 assert(!isa<InsertElementInst>(I) || State.isConflict()); in findBasePointer()
1153 } else if (isa<InsertElementInst>(I)) { in findBasePointer()
1269 } else if (auto *BaseIE = dyn_cast<InsertElementInst>(State.getBaseValue())){ in findBasePointer()
1270 auto *BdvIE = cast<InsertElementInst>(BDV); in findBasePointer()
H A DEarlyCSE.cpp132 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in canHandle()
282 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in getHashValueImpl()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h164 void visitInsertElementInst(InsertElementInst &I);
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp83 Instruction *visitInsertElementInst(InsertElementInst &I);
228 Instruction *SPIRVEmitIntrinsics::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h1936 class InsertElementInst : public Instruction {
1937 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx,
1940 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr,
1947 InsertElementInst *cloneImpl() const;
1950 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
1953 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore);
1956 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
1959 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd);
1986 struct OperandTraits<InsertElementInst> :
1987 public FixedNumOperandTraits<InsertElementInst, 3> {
[all …]
H A DInstVisitor.h192 RetTy visitInsertElementInst(InsertElementInst &I) { DELEGATE(Instruction);} in visitInsertElementInst()
H A DInstruction.def215 HANDLE_OTHER_INST(62, InsertElement, InsertElementInst) // insert into vector
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLint.cpp115 void visitInsertElementInst(InsertElementInst &I);
612 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
H A DVectorUtils.cpp298 if (InsertElementInst *III = dyn_cast<InsertElementInst>(V)) { in findScalarElement()
H A DCFLGraph.h483 void visitInsertElementInst(InsertElementInst &Inst) { in visitInsertElementInst()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp1897 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst
1901 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst()
1911 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst
1915 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst()
1926 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt, in isValidOperands()
4776 InsertElementInst *InsertElementInst::cloneImpl() const { in cloneImpl()
4777 return InsertElementInst::Create(getOperand(0), getOperand(1), getOperand(2)); in cloneImpl()
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp299 return InsertElementInst::Create(Srcs[0], Srcs[1], Srcs[2], "I", Inst); in insertElementDescriptor()
/llvm-project-15.0.7/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp527 Value *V = InsertElementInst::Create( in Act()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp648 if (isa<InsertValueInst>(User) || isa<InsertElementInst>(User)) in collectUsesWithPtrTypes()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1137 auto *IE = dyn_cast<InsertElementInst>(U); in getUserCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp769 void visitInsertElementInst(InsertElementInst &I);
2606 void DFSanVisitor::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()

12