/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 367 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() argument 370 VectorType *InsVecType = InsElt->getType(); in replaceExtractElements() 385 IntegerType *IntType = Type::getInt32Ty(InsElt->getContext()); in replaceExtractElements() 406 if (InsertionBlock != InsElt->getParent()) in replaceExtractElements() 414 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 593 static Instruction *foldInsSequenceIntoBroadcast(InsertElementInst &InsElt) { in foldInsSequenceIntoBroadcast() argument 596 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoBroadcast() 599 VectorType *VT = cast<VectorType>(InsElt.getType()); in foldInsSequenceIntoBroadcast() 607 Value *SplatVal = InsElt.getOperand(1); in foldInsSequenceIntoBroadcast() 608 InsertElementInst *CurrIE = &InsElt; in foldInsSequenceIntoBroadcast() [all …]
|
D | InstCombineCasts.cpp | 649 auto *InsElt = dyn_cast<InsertElementInst>(Trunc.getOperand(0)); in shrinkInsertElt() local 650 if (!InsElt || !InsElt->hasOneUse()) in shrinkInsertElt() 655 Value *VecOp = InsElt->getOperand(0); in shrinkInsertElt() 656 Value *ScalarOp = InsElt->getOperand(1); in shrinkInsertElt() 657 Value *Index = InsElt->getOperand(2); in shrinkInsertElt()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 374 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() argument 377 VectorType *InsVecType = InsElt->getType(); in replaceExtractElements() 392 IntegerType *IntType = Type::getInt32Ty(InsElt->getContext()); in replaceExtractElements() 413 if (InsertionBlock != InsElt->getParent()) in replaceExtractElements()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5789 SDValue InsElt; in LowerVECTOR_SHUFFLEv16i8() local 5794 InsElt = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i16, Elt1Src, in LowerVECTOR_SHUFFLEv16i8() 5796 NewV = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, MVT::v8i16, NewV, InsElt, in LowerVECTOR_SHUFFLEv16i8() 5805 InsElt = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::i16, Elt1Src, in LowerVECTOR_SHUFFLEv16i8() 5808 InsElt = DAG.getNode(ISD::SHL, dl, MVT::i16, InsElt, in LowerVECTOR_SHUFFLEv16i8() 5810 TLI.getShiftAmountTy(InsElt.getValueType()))); in LowerVECTOR_SHUFFLEv16i8() 5812 InsElt = DAG.getNode(ISD::AND, dl, MVT::i16, InsElt, in LowerVECTOR_SHUFFLEv16i8() 5829 InsElt = Elt1 >= 0 ? DAG.getNode(ISD::OR, dl, MVT::i16, InsElt, InsElt0) in LowerVECTOR_SHUFFLEv16i8() 5832 NewV = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, MVT::v8i16, NewV, InsElt, in LowerVECTOR_SHUFFLEv16i8()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7088 SDValue InsElt = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, FloatVT, in PerformInsertEltCombine() local 7090 return DAG.getNode(ISD::BITCAST, dl, VT, InsElt); in PerformInsertEltCombine()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9833 SDValue InsElt = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, FloatVT, in PerformInsertEltCombine() local 9835 return DAG.getNode(ISD::BITCAST, dl, VT, InsElt); in PerformInsertEltCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 11462 SDValue InsElt = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, FloatVT, in PerformInsertEltCombine() local 11464 return DAG.getNode(ISD::BITCAST, dl, VT, InsElt); in PerformInsertEltCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 16970 if (SDValue InsElt = replaceShuffleOfInsert(SVN, DAG)) in visitVECTOR_SHUFFLE() local 16971 return InsElt; in visitVECTOR_SHUFFLE()
|