Home
last modified time | relevance | path

Searched refs:ExtractElementInst (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp68 Instruction *InstCombiner::scalarizePHI(ExtractElementInst &EI, PHINode *PN) { in scalarizePHI()
105 ExtractElementInst::Create(B0->getOperand(opId), Elt, in scalarizePHI()
113 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); in scalarizePHI()
131 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { in visitExtractElementInst()
227 return ExtractElementInst::Create(Src, in visitExtractElementInst()
323 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in collectSingleShuffleElements()
389 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in collectShuffleElements()
491 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in visitInsertElementInst()
DInstCombineInternal.h326 Instruction *visitExtractElementInst(ExtractElementInst &EI);
391 Instruction *scalarizePHI(ExtractElementInst &EI, PHINode *PN);
DInstCombineSimplifyDemanded.cpp1212 LHS = InsertNewInstWith(ExtractElementInst::Create(LHS, in SimplifyDemandedVectorElts()
1214 RHS = InsertNewInstWith(ExtractElementInst::Create(RHS, in SimplifyDemandedVectorElts()
DInstCombineCasts.cpp474 return ExtractElementInst::Create(VecInput, IC.Builder->getInt32(Elt)); in foldVecTruncToExtElt()
1772 auto *ExtElt = dyn_cast<ExtractElementInst>(BitCast.getOperand(0)); in canonicalizeBitCastExtElt()
1786 return ExtractElementInst::Create(NewBC, ExtElt->getIndexOperand()); in canonicalizeBitCastExtElt()
/external/llvm/lib/Analysis/
DCostModel.cpp239 static bool matchPairwiseReduction(const ExtractElementInst *ReduxRoot, in matchPairwiseReduction()
302 static bool matchVectorSplittingReduction(const ExtractElementInst *ReduxRoot, in matchVectorSplittingReduction()
456 const ExtractElementInst * EEI = cast<ExtractElementInst>(I); in getInstructionCost()
DCodeMetrics.cpp149 if (isa<ExtractElementInst>(II) || II->getType()->isVectorTy()) in analyzeBasicBlock()
DLint.cpp98 void visitExtractElementInst(ExtractElementInst &I);
589 void Lint::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()
DMemoryBuiltins.cpp526 ObjectSizeOffsetVisitor::visitExtractElementInst(ExtractElementInst&) { in visitExtractElementInst() argument
718 ObjectSizeOffsetEvaluator::visitExtractElementInst(ExtractElementInst&) { in visitExtractElementInst() argument
DCFLAliasAnalysis.cpp409 void visitExtractElementInst(ExtractElementInst &Inst) { in visitExtractElementInst()
/external/llvm/include/llvm/Analysis/
DMemoryBuiltins.h190 SizeOffsetType visitExtractElementInst(ExtractElementInst &I);
255 SizeOffsetEvalType visitExtractElementInst(ExtractElementInst &I);
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp536 if (isa<ExtractElementInst>(I)) in findBaseDefiningValue()
580 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isKnownBaseResult()
750 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV); in findBasePointer()
788 } else if (auto *EE = dyn_cast<ExtractElementInst>(Current)) { in findBasePointer()
846 } else if (auto *EE = dyn_cast<ExtractElementInst>(BDV)) { in findBasePointer()
889 if (State.isBase() && isa<ExtractElementInst>(I) && in findBasePointer()
891 auto *EE = cast<ExtractElementInst>(I); in findBasePointer()
895 auto *BaseInst = ExtractElementInst::Create(State.getBase(), in findBasePointer()
927 } else if (auto *EE = dyn_cast<ExtractElementInst>(I)) { in findBasePointer()
930 return ExtractElementInst::Create(Undef, EE->getIndexOperand(), Name, in findBasePointer()
[all …]
DEarlyCSE.cpp71 isa<SelectInst>(Inst) || isa<ExtractElementInst>(Inst) || in canHandle()
137 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in getHashValue()
DSCCP.cpp477 void visitExtractElementInst(ExtractElementInst &I);
932 void SCCPSolver::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()
DLICM.cpp508 !isa<InsertElementInst>(I) && !isa<ExtractElementInst>(I) && in canSinkOrHoistInst()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp536 if (isa<InsertElementInst>(V) || isa<ExtractElementInst>(V)) in getDepthFactor()
903 isa<ExtractElementInst>(I) || isa<InsertElementInst>(I))) { in isInstVectorizable()
1902 !isa<ExtractElementInst>(S->first)) in findBestDAGFor()
1995 if (isa<ExtractElementInst>(U)) in findBestDAGFor()
2026 if (isa<ExtractElementInst>(U)) in findBestDAGFor()
2087 ExtractElementInst *EIO1 = dyn_cast<ExtractElementInst>(O1), in findBestDAGFor()
2088 *EIO2 = dyn_cast<ExtractElementInst>(O2); in findBestDAGFor()
2461 ExtractElementInst *LEE = dyn_cast<ExtractElementInst>(LOp); in getReplacementInput()
2462 ExtractElementInst *HEE = dyn_cast<ExtractElementInst>(HOp); in getReplacementInput()
2847 K1 = ExtractElementInst::Create(K, CV0, getReplacementName(K, false, 1)); in replaceOutputsOfPair()
[all …]
DSLPVectorizer.cpp284 ExtractElementInst *E0 = cast<ExtractElementInst>(VL0); in CanReuseExtract()
299 ExtractElementInst *E = cast<ExtractElementInst>(VL[i]); in CanReuseExtract()
1496 ExtractElementInst *E = cast<ExtractElementInst>(VL[i]); in getEntryCost()
2717 if (!isa<InsertElementInst>(In) && !isa<ExtractElementInst>(In)) in optimizeGatherSequence()
/external/llvm/include/llvm/IR/
DInstructions.h1980 class ExtractElementInst : public Instruction {
1981 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr = "",
1983 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr,
1989 ExtractElementInst *cloneImpl() const;
1992 static ExtractElementInst *Create(Value *Vec, Value *Idx,
1995 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertBefore);
1997 static ExtractElementInst *Create(Value *Vec, Value *Idx,
2000 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertAtEnd);
2029 struct OperandTraits<ExtractElementInst> :
2030 public FixedNumOperandTraits<ExtractElementInst, 2> {
[all …]
DInstVisitor.h200 RetTy visitExtractElementInst(ExtractElementInst &I) { DELEGATE(Instruction);} in visitExtractElementInst()
DNoFolder.h273 return ExtractElementInst::Create(Vec, Idx); in CreateExtractElement()
DInstruction.def191 HANDLE_OTHER_INST(59, ExtractElement, ExtractElementInst)// extract from vector
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h182 void visitExtractElementInst(ExtractElementInst &I);
/external/llvm/lib/IR/
DInstructions.cpp1617 ExtractElementInst::ExtractElementInst(Value *Val, Value *Index, in ExtractElementInst() function in ExtractElementInst
1622 OperandTraits<ExtractElementInst>::op_begin(this), in ExtractElementInst()
1631 ExtractElementInst::ExtractElementInst(Value *Val, Value *Index, in ExtractElementInst() function in ExtractElementInst
1636 OperandTraits<ExtractElementInst>::op_begin(this), in ExtractElementInst()
1647 bool ExtractElementInst::isValidOperands(const Value *Val, const Value *Index) { in isValidOperands()
3919 ExtractElementInst *ExtractElementInst::cloneImpl() const { in cloneImpl()
3920 return ExtractElementInst::Create(getOperand(0), getOperand(1)); in cloneImpl()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h40 class ExtractElementInst; variable
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp431 Value *V = ExtractElementInst::Create(Val0, in Act()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp345 void visitExtractElementInst(ExtractElementInst &I);
1285 void DFSanVisitor::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()

12