| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 491 if (auto *IE = dyn_cast<InsertElementInst>(I)) { in visitExtractElementInst() 633 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectSingleShuffleElements() 683 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() 729 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 782 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectShuffleElements() 1191 static Instruction *foldInsSequenceIntoSplat(InsertElementInst &InsElt) { in foldInsSequenceIntoSplat() 1194 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat() 1210 InsertElementInst *CurrIE = &InsElt; in foldInsSequenceIntoSplat() 1212 InsertElementInst *FirstIE = nullptr; in foldInsSequenceIntoSplat() 1221 auto *NextIE = dyn_cast<InsertElementInst>(CurrIE->getOperand(0)); in foldInsSequenceIntoSplat() [all …]
|
| H A D | InstCombineCasts.cpp | 780 auto *InsElt = dyn_cast<InsertElementInst>(Trunc.getOperand(0)); in shrinkInsertElt() 795 return InsertElementInst::Create(NarrowUndef, NarrowOp, Index); in shrinkInsertElt() 2113 return InsertElementInst::Create(Vec, NewCast, Index); in visitPtrToInt() 2770 return InsertElementInst::Create(PoisonValue::get(DestTy), Elem, in visitBitCast() 2809 if (auto *InsElt = dyn_cast<InsertElementInst>(Src)) in visitBitCast()
|
| H A D | InstCombineNegator.cpp | 373 auto *IEI = cast<InsertElementInst>(I); in visitImpl()
|
| H A D | InstCombineInternal.h | 169 Instruction *visitInsertElementInst(InsertElementInst &IE);
|
| H A D | InstCombineSimplifyDemanded.cpp | 1543 Instruction *New = InsertElementInst::Create( in SimplifyDemandedVectorElts()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | SLPVectorizer.h | 37 class InsertElementInst; variable 144 bool vectorizeInsertElementInst(InsertElementInst *IEI, BasicBlock *BB,
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 215 if (!isa<InsertElementInst, ExtractElementInst>(V) && in isVectorLikeInstWithConstOps() 225 assert(isa<InsertElementInst>(V) && "Expected only insertelement."); in isVectorLikeInstWithConstOps() 292 if (const auto *IE = dyn_cast<InsertElementInst>(InsertInst)) { in getInsertIndex() 376 while (auto *II = dyn_cast<InsertElementInst>(Base)) { 3871 InsertElementInst *VU, InsertElementInst *V, in areTwoInsertFromSameBuildVector() 3872 function_ref<Value *(InsertElementInst *)> GetBaseOperand) { in areTwoInsertFromSameBuildVector() 3901 IE1 = dyn_cast_or_null<InsertElementInst>(GetBaseOperand(IE1)); in areTwoInsertFromSameBuildVector() 3908 IE2 = dyn_cast_or_null<InsertElementInst>(GetBaseOperand(IE2)); in areTwoInsertFromSameBuildVector() 3974 (TopToBottom && isa<StoreInst, InsertElementInst>(TE.getMainOp()))) && in getReorderingData() 3983 if (auto *IE1 = dyn_cast<InsertElementInst>(FirstUserOfPhi1)) in getReorderingData() [all …]
|
| H A D | VPlanRecipes.cpp | 985 InsertElementInst *IEI = cast<InsertElementInst>(VectorValue); in execute()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 128 Repl = InsertElementInst::Create( in runLowerConstExpr() 238 InsertElementInst::Create(PVal, CI->getOperand(1), ConstInt, "", CI); in visitCallScalToVec()
|
| H A D | SPIRVEmitIntrinsics.cpp | 83 Instruction *visitInsertElementInst(InsertElementInst &I); 230 Instruction *SPIRVEmitIntrinsics::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 224 bool visitInsertElementInst(InsertElementInst &IEI); 326 InsertElementInst *Insert = dyn_cast<InsertElementInst>(V); in operator []() 801 bool ScalarizerVisitor::visitInsertElementInst(InsertElementInst &IEI) { in visitInsertElementInst()
|
| H A D | RewriteStatepointsForGC.cpp | 452 if (isa<InsertElementInst>(I)) { in findBaseDefiningValueOfVector() 728 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isOriginalBaseResult() 906 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV) || in findBasePointer() 935 } else if (auto *IE = dyn_cast<InsertElementInst>(BDV)) { in findBasePointer() 1143 assert(!isa<InsertElementInst>(I) || State.isConflict()); in findBasePointer() 1155 } else if (isa<InsertElementInst>(I)) { in findBasePointer() 1271 } else if (auto *BaseIE = dyn_cast<InsertElementInst>(State.getBaseValue())){ in findBasePointer() 1272 auto *BdvIE = cast<InsertElementInst>(BDV); in findBasePointer()
|
| H A D | EarlyCSE.cpp | 148 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in canHandle() 298 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in getHashValueImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 164 void visitInsertElementInst(InsertElementInst &I);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1945 class InsertElementInst : public Instruction { 1946 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 1949 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr, 1956 InsertElementInst *cloneImpl() const; 1959 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1962 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 1965 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1968 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 1995 struct OperandTraits<InsertElementInst> : 1996 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
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2004 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 2008 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 2018 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 2022 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 2033 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt, in isValidOperands() 4932 InsertElementInst *InsertElementInst::cloneImpl() const { in cloneImpl() 4933 return InsertElementInst::Create(getOperand(0), getOperand(1), getOperand(2)); in cloneImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 299 return InsertElementInst::Create(Srcs[0], Srcs[1], Srcs[2], "I", Inst); in insertElementDescriptor()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 534 Value *V = InsertElementInst::Create( in Act()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 739 if (isa<InsertValueInst>(User) || isa<InsertElementInst>(User)) in collectUsesWithPtrTypes()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1178 auto *IE = dyn_cast<InsertElementInst>(U); in getInstructionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 805 void visitInsertElementInst(InsertElementInst &I); 2798 void DFSanVisitor::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
|