Home
last modified time | relevance | path

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

12345

/external/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp99 bool tryReplaceExtracts(ArrayRef<ExtractElementInst *> Extracts,
202 SmallVector<ExtractElementInst *, 4> Extracts; in lowerInterleavedLoad()
209 auto *Extract = dyn_cast<ExtractElementInst>(*UI); in lowerInterleavedLoad()
268 ArrayRef<ExtractElementInst *> Extracts, in tryReplaceExtracts()
278 DenseMap<ExtractElementInst *, std::pair<Value *, int>> ReplacementMap; in tryReplaceExtracts()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp68 Instruction *InstCombiner::scalarizePHI(ExtractElementInst &EI, PHINode *PN) { in scalarizePHI()
76 if (ExtractElementInst *EU = dyn_cast<ExtractElementInst>(U)) { in scalarizePHI()
115 ExtractElementInst::Create(B0->getOperand(opId), Elt, in scalarizePHI()
124 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); in scalarizePHI()
146 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { in visitExtractElementInst()
243 return ExtractElementInst::Create(Src, in visitExtractElementInst()
339 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in collectSingleShuffleElements()
375 ExtractElementInst *ExtElt, in replaceExtractElements()
431 ExtractElementInst *OldExt = dyn_cast<ExtractElementInst>(U); in replaceExtractElements()
434 auto *NewExt = ExtractElementInst::Create(WideVec, OldExt->getOperand(1)); in replaceExtractElements()
[all …]
DInstCombineInternal.h329 Instruction *visitExtractElementInst(ExtractElementInst &EI);
396 Instruction *scalarizePHI(ExtractElementInst &EI, PHINode *PN);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp119 bool tryReplaceExtracts(ArrayRef<ExtractElementInst *> Extracts,
282 SmallVector<ExtractElementInst *, 4> Extracts; in lowerInterleavedLoad()
289 auto *Extract = dyn_cast<ExtractElementInst>(*UI); in lowerInterleavedLoad()
349 ArrayRef<ExtractElementInst *> Extracts, in tryReplaceExtracts()
358 DenseMap<ExtractElementInst *, std::pair<Value *, int>> ReplacementMap; in tryReplaceExtracts()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp123 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { in visitExtractElementInst()
229 return ExtractElementInst::Create(Src, in visitExtractElementInst()
292 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in CollectSingleShuffleElements()
347 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in CollectShuffleElements()
402 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in visitInsertElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp91 Instruction *InstCombiner::scalarizePHI(ExtractElementInst &EI, PHINode *PN) { in scalarizePHI()
99 if (ExtractElementInst *EU = dyn_cast<ExtractElementInst>(U)) { in scalarizePHI()
138 ExtractElementInst::Create(B0->getOperand(opId), Elt, in scalarizePHI()
147 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); in scalarizePHI()
169 Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { in visitExtractElementInst()
269 return ExtractElementInst::Create(Src, in visitExtractElementInst()
332 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in collectSingleShuffleElements()
368 ExtractElementInst *ExtElt, in replaceExtractElements()
432 ExtractElementInst *OldExt = dyn_cast<ExtractElementInst>(U); in replaceExtractElements()
435 auto *NewExt = ExtractElementInst::Create(WideVec, OldExt->getOperand(1)); in replaceExtractElements()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemoryBuiltins.h37 class ExtractElementInst; variable
233 SizeOffsetType visitExtractElementInst(ExtractElementInst &I);
301 SizeOffsetEvalType visitExtractElementInst(ExtractElementInst &I);
/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.cpp148 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
/external/llvm/include/llvm/Analysis/
DMemoryBuiltins.h190 SizeOffsetType visitExtractElementInst(ExtractElementInst &I);
255 SizeOffsetEvalType visitExtractElementInst(ExtractElementInst &I);
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp484 if (isa<ExtractElementInst>(I)) in findBaseDefiningValue()
528 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isKnownBaseResult()
679 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV); in findBasePointer()
717 } else if (auto *EE = dyn_cast<ExtractElementInst>(Current)) { in findBasePointer()
776 } else if (auto *EE = dyn_cast<ExtractElementInst>(BDV)) { in findBasePointer()
819 if (State.isBase() && isa<ExtractElementInst>(I) && in findBasePointer()
821 auto *EE = cast<ExtractElementInst>(I); in findBasePointer()
825 auto *BaseInst = ExtractElementInst::Create( in findBasePointer()
853 } else if (auto *EE = dyn_cast<ExtractElementInst>(I)) { in findBasePointer()
856 return ExtractElementInst::Create(Undef, EE->getIndexOperand(), Name, in findBasePointer()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp599 if (isa<ExtractElementInst>(I)) in findBaseDefiningValue()
643 !isa<ExtractElementInst>(V) && !isa<InsertElementInst>(V) && in isKnownBaseResult()
796 isa<ExtractElementInst>(BDV) || isa<InsertElementInst>(BDV) || in findBasePointer()
835 } else if (auto *EE = dyn_cast<ExtractElementInst>(Current)) { in findBasePointer()
896 } else if (auto *EE = dyn_cast<ExtractElementInst>(BDV)) { in findBasePointer()
944 if (State.isBase() && isa<ExtractElementInst>(I) && in findBasePointer()
946 auto *EE = cast<ExtractElementInst>(I); in findBasePointer()
950 auto *BaseInst = ExtractElementInst::Create( in findBasePointer()
978 } else if (auto *EE = dyn_cast<ExtractElementInst>(I)) { in findBasePointer()
981 return ExtractElementInst::Create(Undef, EE->getIndexOperand(), Name, in findBasePointer()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DInstructions.h1511 class ExtractElementInst : public Instruction {
1512 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr = "",
1514 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr,
1517 virtual ExtractElementInst *clone_impl() const;
1520 static ExtractElementInst *Create(Value *Vec, Value *Idx,
1523 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertBefore);
1525 static ExtractElementInst *Create(Value *Vec, Value *Idx,
1528 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertAtEnd);
1549 static inline bool classof(const ExtractElementInst *) { return true; }
1559 struct OperandTraits<ExtractElementInst> :
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DEarlyCSE.cpp64 isa<SelectInst>(Inst) || isa<ExtractElementInst>(Inst) || in canHandle()
113 isa<SelectInst>(Inst) || isa<ExtractElementInst>(Inst) || in getHashValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCodeMetrics.cpp161 if (isa<ExtractElementInst>(I) || I.getType()->isVectorTy()) in analyzeBasicBlock()
DTargetTransformInfo.cpp827 static ReductionKind matchPairwiseReduction(const ExtractElementInst *ReduxRoot, in matchPairwiseReduction()
892 matchVectorSplittingReduction(const ExtractElementInst *ReduxRoot, in matchVectorSplittingReduction()
1047 const ExtractElementInst * EEI = cast<ExtractElementInst>(I); in getInstructionThroughput()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp536 if (isa<InsertElementInst>(V) || isa<ExtractElementInst>(V)) in getDepthFactor()
910 isa<ExtractElementInst>(I) || isa<InsertElementInst>(I))) { in isInstVectorizable()
1920 !isa<ExtractElementInst>(S->first)) in findBestDAGFor()
2013 if (isa<ExtractElementInst>(U)) in findBestDAGFor()
2044 if (isa<ExtractElementInst>(U)) in findBestDAGFor()
2105 ExtractElementInst *EIO1 = dyn_cast<ExtractElementInst>(O1), in findBestDAGFor()
2106 *EIO2 = dyn_cast<ExtractElementInst>(O2); in findBestDAGFor()
2479 ExtractElementInst *LEE = dyn_cast<ExtractElementInst>(LOp); in getReplacementInput()
2480 ExtractElementInst *HEE = dyn_cast<ExtractElementInst>(HOp); in getReplacementInput()
2865 K1 = ExtractElementInst::Create(K, CV0, getReplacementName(K, false, 1)); in replaceOutputsOfPair()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp756 const ExtractElementInst *EEI = dyn_cast<ExtractElementInst>(U); in collectInstructions()
802 const ExtractElementInst *EEI = dyn_cast<ExtractElementInst>(U); in collectInstructions()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DInstVisitor.h193 RetTy visitExtractElementInst(ExtractElementInst &I) { DELEGATE(Instruction);} in visitExtractElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h163 void visitExtractElementInst(ExtractElementInst &I);
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp1436 ExtractElementInst::ExtractElementInst(Value *Val, Value *Index, in ExtractElementInst() function in ExtractElementInst
1441 OperandTraits<ExtractElementInst>::op_begin(this), in ExtractElementInst()
1450 ExtractElementInst::ExtractElementInst(Value *Val, Value *Index, in ExtractElementInst() function in ExtractElementInst
1455 OperandTraits<ExtractElementInst>::op_begin(this), in ExtractElementInst()
1466 bool ExtractElementInst::isValidOperands(const Value *Val, const Value *Index) { in isValidOperands()
3436 ExtractElementInst *ExtractElementInst::clone_impl() const { in clone_impl()
3437 return ExtractElementInst::Create(getOperand(0), getOperand(1)); in clone_impl()
/external/llvm/include/llvm/IR/
DInstructions.h2026 class ExtractElementInst : public Instruction {
2027 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr = "",
2029 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr,
2035 ExtractElementInst *cloneImpl() const;
2038 static ExtractElementInst *Create(Value *Vec, Value *Idx,
2041 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertBefore);
2043 static ExtractElementInst *Create(Value *Vec, Value *Idx,
2046 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertAtEnd);
2075 struct OperandTraits<ExtractElementInst> :
2076 public FixedNumOperandTraits<ExtractElementInst, 2> {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h2267 class ExtractElementInst : public Instruction {
2268 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr = "",
2270 ExtractElementInst(Value *Vec, Value *Idx, const Twine &NameStr,
2277 ExtractElementInst *cloneImpl() const;
2280 static ExtractElementInst *Create(Value *Vec, Value *Idx,
2283 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertBefore);
2286 static ExtractElementInst *Create(Value *Vec, Value *Idx,
2289 return new(2) ExtractElementInst(Vec, Idx, NameStr, InsertAtEnd);
2318 struct OperandTraits<ExtractElementInst> :
2319 public FixedNumOperandTraits<ExtractElementInst, 2> {
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h182 void visitExtractElementInst(ExtractElementInst &I);
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLint.cpp93 void visitExtractElementInst(ExtractElementInst &I);
522 void Lint::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()

12345