Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp198 } else if (InsertElementInst *IE = dyn_cast<InsertElementInst>(I)) { in visitExtractElementInst()
305 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectSingleShuffleElements()
383 if (InsertElementInst *IEI = dyn_cast<InsertElementInst>(V)) { in collectShuffleElements()
480 Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) { in visitInsertElementInst()
513 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.user_back())) { in visitInsertElementInst()
788 return InsertElementInst::Create(V, I->getOperand(1), in EvaluateInDifferentElementOrder()
DInstCombineCasts.cpp1835 return InsertElementInst::Create(UndefValue::get(DestTy), Elem, in visitBitCast()
1874 if (InsertElementInst *IEI = in visitBitCast()
1875 dyn_cast<InsertElementInst>(CI.getOperand(0))) in visitBitCast()
DInstCombineInternal.h325 Instruction *visitInsertElementInst(InsertElementInst &IE);
/external/llvm/lib/Target/AMDGPU/
DSITypeRewriter.cpp115 InsertElementInst *Def = cast<InsertElementInst>(Arg); in visitCallInst()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp536 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()
903 isa<ExtractElementInst>(I) || isa<InsertElementInst>(I))) { in isInstVectorizable()
1901 !isa<InsertElementInst>(S->first) && in findBestDAGFor()
2081 InsertElementInst *IEO1 = dyn_cast<InsertElementInst>(O1), in findBestDAGFor()
2082 *IEO2 = dyn_cast<InsertElementInst>(O2); in findBestDAGFor()
2396 if (InsertElementInst *LIE = dyn_cast<InsertElementInst>(LOp)) { in expandIEChain()
[all …]
DSLPVectorizer.cpp2661 InsertElementInst *Insert = dyn_cast<InsertElementInst>(*it); in optimizeGatherSequence()
2717 if (!isa<InsertElementInst>(In) && !isa<ExtractElementInst>(In)) in optimizeGatherSequence()
3535 InsertElementInst *IE = cast<InsertElementInst>(V); in tryToVectorizeList()
3903 static bool findBuildVector(InsertElementInst *FirstInsertElem, in findBuildVector()
3909 InsertElementInst *IE = FirstInsertElem; in findBuildVector()
3917 InsertElementInst *NextUse = dyn_cast<InsertElementInst>(IE->user_back()); in findBuildVector()
4166 if (InsertElementInst *FirstInsertElem = dyn_cast<InsertElementInst>(it)) { in vectorizeChainsInBlock()
/external/llvm/lib/Analysis/
DVectorUtils.cpp377 if (InsertElementInst *III = dyn_cast<InsertElementInst>(V)) { in findScalarElement()
434 dyn_cast<InsertElementInst>(ShuffleInst->getOperand(0)); in getSplatValue()
DCostModel.cpp476 const InsertElementInst * IE = cast<InsertElementInst>(I); in getInstructionCost()
DLint.cpp99 void visitInsertElementInst(InsertElementInst &I);
596 void Lint::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
DCFLAliasAnalysis.cpp415 void visitInsertElementInst(InsertElementInst &Inst) { in visitInsertElementInst()
487 Value *visitInsertElementInst(InsertElementInst &Inst) { in visitInsertElementInst()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp394 if (isa<InsertElementInst>(I)) in findBaseDefiningValueOfVector()
580 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isKnownBaseResult()
750 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV); in findBasePointer()
790 } else if (auto *IE = dyn_cast<InsertElementInst>(Current)) { in findBasePointer()
853 auto *IE = cast<InsertElementInst>(BDV); in findBasePointer()
905 if (isa<InsertElementInst>(I)) { in findBasePointer()
933 auto *IE = cast<InsertElementInst>(I); in findBasePointer()
937 return InsertElementInst::Create(VecUndef, ScalarUndef, in findBasePointer()
1049 auto *BaseIE = cast<InsertElementInst>(State.getBase()); in findBasePointer()
1050 auto *BdvIE = cast<InsertElementInst>(BDV); in findBasePointer()
DEarlyCSE.cpp72 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle()
137 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in getHashValue()
DScalarizer.cpp223 InsertElementInst *Insert = dyn_cast<InsertElementInst>(V); in operator []()
DSCCP.cpp478 void visitInsertElementInst(InsertElementInst &I);
948 void SCCPSolver::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
DLICM.cpp508 !isa<InsertElementInst>(I) && !isa<ExtractElementInst>(I) && in canSinkOrHoistInst()
/external/llvm/include/llvm/IR/
DInstructions.h2042 class InsertElementInst : public Instruction {
2043 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx,
2046 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr,
2052 InsertElementInst *cloneImpl() const;
2055 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
2058 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore);
2060 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
2063 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd);
2090 struct OperandTraits<InsertElementInst> :
2091 public FixedNumOperandTraits<InsertElementInst, 3> {
[all …]
DInstVisitor.h201 RetTy visitInsertElementInst(InsertElementInst &I) { DELEGATE(Instruction);} in visitInsertElementInst()
DNoFolder.h278 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
DInstruction.def192 HANDLE_OTHER_INST(60, InsertElement, InsertElementInst) // insert into vector
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h183 void visitInsertElementInst(InsertElementInst &I);
/external/llvm/lib/IR/
DInstructions.cpp1658 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst
1662 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst()
1672 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index, in InsertElementInst() function in InsertElementInst
1676 OperandTraits<InsertElementInst>::op_begin(this), in InsertElementInst()
1687 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt, in isValidOperands()
3923 InsertElementInst *InsertElementInst::cloneImpl() const { in cloneImpl()
3924 return InsertElementInst::Create(getOperand(0), getOperand(1), getOperand(2)); in cloneImpl()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h55 class InsertElementInst; variable
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp474 Value *V = InsertElementInst::Create(Val0, Val1, in Act()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp346 void visitInsertElementInst(InsertElementInst &I);
1289 void DFSanVisitor::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1500 const InsertElementInst* iei = cast<InsertElementInst>(I); in printInstruction()

12