| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 471 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 D | InstCombineNegator.cpp | 362 auto *IEI = cast<InsertElementInst>(I); in visitImpl()
|
| H A D | InstCombineCasts.cpp | 751 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 D | InstCombineInternal.h | 168 Instruction *visitInsertElementInst(InsertElementInst &IE);
|
| H A D | InstCombineSimplifyDemanded.cpp | 1479 Instruction *New = InsertElementInst::Create( in SimplifyDemandedVectorElts()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | SLPVectorizer.h | 36 class InsertElementInst; variable 122 bool vectorizeInsertElementInst(InsertElementInst *IEI, BasicBlock *BB,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 215 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 D | VPlanRecipes.cpp | 914 InsertElementInst *IEI = cast<InsertElementInst>(VectorValue); in execute()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 221 bool visitInsertElementInst(InsertElementInst &IEI); 323 InsertElementInst *Insert = dyn_cast<InsertElementInst>(V); in operator []() 797 bool ScalarizerVisitor::visitInsertElementInst(InsertElementInst &IEI) { in visitInsertElementInst()
|
| H A D | RewriteStatepointsForGC.cpp | 450 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 D | EarlyCSE.cpp | 132 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 D | Interpreter.h | 164 void visitInsertElementInst(InsertElementInst &I);
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 83 Instruction *visitInsertElementInst(InsertElementInst &I); 228 Instruction *SPIRVEmitIntrinsics::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1936 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 D | InstVisitor.h | 192 RetTy visitInsertElementInst(InsertElementInst &I) { DELEGATE(Instruction);} in visitInsertElementInst()
|
| H A D | Instruction.def | 215 HANDLE_OTHER_INST(62, InsertElement, InsertElementInst) // insert into vector
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 115 void visitInsertElementInst(InsertElementInst &I); 612 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
|
| H A D | VectorUtils.cpp | 298 if (InsertElementInst *III = dyn_cast<InsertElementInst>(V)) { in findScalarElement()
|
| H A D | CFLGraph.h | 483 void visitInsertElementInst(InsertElementInst &Inst) { in visitInsertElementInst()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1897 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 D | Operations.cpp | 299 return InsertElementInst::Create(Srcs[0], Srcs[1], Srcs[2], "I", Inst); in insertElementDescriptor()
|
| /llvm-project-15.0.7/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 527 Value *V = InsertElementInst::Create( in Act()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 648 if (isa<InsertValueInst>(User) || isa<InsertElementInst>(User)) in collectUsesWithPtrTypes()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1137 auto *IE = dyn_cast<InsertElementInst>(U); in getUserCost()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 769 void visitInsertElementInst(InsertElementInst &I); 2606 void DFSanVisitor::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
|