/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 92 if (InsertElementInst *III = dyn_cast<InsertElementInst>(V)) { in FindScalarElement() 200 } else if (InsertElementInst *IE = dyn_cast<InsertElementInst>(I)) { in visitExtractElementInst() 274 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in CollectSingleShuffleElements() 341 } else if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in CollectShuffleElements() 391 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) { in visitInsertElementInst() 423 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.use_back())) { in visitInsertElementInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 240 } else if (InsertElementInst *IE = dyn_cast<InsertElementInst>(I)) { in visitExtractElementInst() 314 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectSingleShuffleElements() 367 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() 414 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 469 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectShuffleElements() 593 static Instruction *foldInsSequenceIntoBroadcast(InsertElementInst &InsElt) { in foldInsSequenceIntoBroadcast() 596 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoBroadcast() 608 InsertElementInst *CurrIE = &InsElt; in foldInsSequenceIntoBroadcast() 610 InsertElementInst *FirstIE = nullptr; in foldInsSequenceIntoBroadcast() 619 auto *NextIE = dyn_cast<InsertElementInst>(CurrIE->getOperand(0)); in foldInsSequenceIntoBroadcast() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/ |
D | SLPVectorizer.h | 39 class InsertElementInst; variable 125 bool vectorizeInsertElementInst(InsertElementInst *IEI, BasicBlock *BB,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 214 } else if (InsertElementInst *IE = dyn_cast<InsertElementInst>(I)) { in visitExtractElementInst() 321 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectSingleShuffleElements() 374 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() 468 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectShuffleElements() 569 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) { in visitInsertElementInst() 602 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.user_back())) { in visitInsertElementInst() 877 return InsertElementInst::Create(V, I->getOperand(1), in EvaluateInDifferentElementOrder()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SITypeRewriter.cpp | 118 InsertElementInst *Def = cast<InsertElementInst>(Arg); in visitCallInst()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 536 if (isa<InsertElementInst>(V) || isa<ExtractElementInst>(V)) in getDepthFactor() 711 bool isPureIEChain(InsertElementInst *IE) { in isPureIEChain() 712 InsertElementInst *IENext = IE; in isPureIEChain() 715 !isa<InsertElementInst>(IENext->getOperand(0))) { in isPureIEChain() 719 dyn_cast<InsertElementInst>(IENext->getOperand(0)))); in isPureIEChain() 910 isa<ExtractElementInst>(I) || isa<InsertElementInst>(I))) { in isInstVectorizable() 1919 !isa<InsertElementInst>(S->first) && in findBestDAGFor() 2099 InsertElementInst *IEO1 = dyn_cast<InsertElementInst>(O1), in findBestDAGFor() 2100 *IEO2 = dyn_cast<InsertElementInst>(O2); in findBestDAGFor() 2414 if (InsertElementInst *LIE = dyn_cast<InsertElementInst>(LOp)) { in expandIEChain() [all …]
|
D | SLPVectorizer.cpp | 2722 InsertElementInst *Insert = dyn_cast<InsertElementInst>(it); in optimizeGatherSequence() 2778 if (!isa<InsertElementInst>(In) && !isa<ExtractElementInst>(In)) in optimizeGatherSequence() 3829 assert(isa<InsertElementInst>(I) || isa<InsertValueInst>(I)); in tryToVectorizeList() 4203 static bool findBuildVector(InsertElementInst *FirstInsertElem, in findBuildVector() 4209 InsertElementInst *IE = FirstInsertElem; in findBuildVector() 4217 InsertElementInst *NextUse = dyn_cast<InsertElementInst>(IE->user_back()); in findBuildVector() 4486 if (InsertElementInst *FirstInsertElem = dyn_cast<InsertElementInst>(it)) { in vectorizeChainsInBlock()
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 244 if (InsertElementInst *III = dyn_cast<InsertElementInst>(V)) { in findScalarElement() 301 dyn_cast<InsertElementInst>(ShuffleInst->getOperand(0)); in getSplatValue()
|
D | CostModel.cpp | 476 const InsertElementInst * IE = cast<InsertElementInst>(I); in getInstructionCost()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 354 if (isa<InsertElementInst>(I)) in findBaseDefiningValueOfVector() 528 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isKnownBaseResult() 679 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV); in findBasePointer() 719 } else if (auto *IE = dyn_cast<InsertElementInst>(Current)) { in findBasePointer() 784 auto *IE = cast<InsertElementInst>(BDV); in findBasePointer() 834 assert(!isa<InsertElementInst>(I) || State.isConflict()); in findBasePointer() 859 auto *IE = cast<InsertElementInst>(I); in findBasePointer() 863 return InsertElementInst::Create(VecUndef, ScalarUndef, in findBasePointer() 967 auto *BaseIE = cast<InsertElementInst>(State.getBaseValue()); in findBasePointer() 968 auto *BdvIE = cast<InsertElementInst>(BDV); in findBasePointer()
|
D | EarlyCSE.cpp | 73 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle() 129 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in getHashValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 455 if (isa<InsertElementInst>(I)) in findBaseDefiningValueOfVector() 643 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isKnownBaseResult() 796 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV) || in findBasePointer() 837 } else if (auto *IE = dyn_cast<InsertElementInst>(Current)) { in findBasePointer() 901 } else if (auto *IE = dyn_cast<InsertElementInst>(BDV)){ in findBasePointer() 959 assert(!isa<InsertElementInst>(I) || State.isConflict()); in findBasePointer() 983 } else if (auto *IE = dyn_cast<InsertElementInst>(I)) { in findBasePointer() 987 return InsertElementInst::Create(VecUndef, ScalarUndef, in findBasePointer() 1096 } else if (auto *BaseIE = dyn_cast<InsertElementInst>(State.getBaseValue())){ in findBasePointer() 1097 auto *BdvIE = cast<InsertElementInst>(BDV); in findBasePointer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 246 if (InsertElementInst *III = dyn_cast<InsertElementInst>(V)) { in findScalarElement() 303 dyn_cast<InsertElementInst>(ShuffleInst->getOperand(0)); in getSplatValue()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instructions.h | 1572 class InsertElementInst : public Instruction { 1573 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 1576 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 1579 virtual InsertElementInst *clone_impl() const; 1582 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1585 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 1587 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 1590 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 1608 static inline bool classof(const InsertElementInst *) { return true; } 1618 struct OperandTraits<InsertElementInst> : [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 65 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle() 114 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst)) && in getHashValue()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVToOCL20.cpp | 292 InsertElementInst::Create(UndefValue::get(CI->getType()), getImageSize, in visitCallSPRIVImageQuerySize() 324 InsertElementInst::Create(getImageSize, getImageArraySize, in visitCallSPRIVImageQuerySize()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | InstVisitor.h | 194 RetTy visitInsertElementInst(InsertElementInst &I) { DELEGATE(Instruction); } in visitInsertElementInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 164 void visitInsertElementInst(InsertElementInst &I);
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 1477 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 1481 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 1491 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 1495 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 1506 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt, in isValidOperands() 3440 InsertElementInst *InsertElementInst::clone_impl() const { in clone_impl() 3441 return InsertElementInst::Create(getOperand(0), in clone_impl()
|
/external/llvm/include/llvm/IR/ |
D | Instructions.h | 2088 class InsertElementInst : public Instruction { 2089 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 2092 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr, 2098 InsertElementInst *cloneImpl() const; 2101 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 2104 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 2106 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 2109 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 2136 struct OperandTraits<InsertElementInst> : 2137 public FixedNumOperandTraits<InsertElementInst, 3> { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Instructions.h | 2331 class InsertElementInst : public Instruction { 2332 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, 2335 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr, 2342 InsertElementInst *cloneImpl() const; 2345 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 2348 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore); 2351 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx, 2354 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd); 2381 struct OperandTraits<InsertElementInst> : 2382 public FixedNumOperandTraits<InsertElementInst, 3> { [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 183 void visitInsertElementInst(InsertElementInst &I);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | Lint.cpp | 94 void visitInsertElementInst(InsertElementInst &I); 530 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 1549 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 1553 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 1563 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 1567 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 1578 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt, in isValidOperands() 3825 InsertElementInst *InsertElementInst::cloneImpl() const { in cloneImpl() 3826 return InsertElementInst::Create(getOperand(0), getOperand(1), getOperand(2)); in cloneImpl()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1789 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 1793 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 1803 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst 1807 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst() 1818 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt, in isValidOperands() 4027 InsertElementInst *InsertElementInst::cloneImpl() const { in cloneImpl() 4028 return InsertElementInst::Create(getOperand(0), getOperand(1), getOperand(2)); in cloneImpl()
|