/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 522 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() argument 525 VectorType *InsVecType = InsElt->getType(); in replaceExtractElements() 540 IntegerType *IntType = Type::getInt32Ty(InsElt->getContext()); in replaceExtractElements() 561 if (InsertionBlock != InsElt->getParent()) in replaceExtractElements() 569 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 747 static Instruction *foldInsSequenceIntoSplat(InsertElementInst &InsElt) { in foldInsSequenceIntoSplat() argument 750 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat() 753 auto *VecTy = cast<VectorType>(InsElt.getType()); in foldInsSequenceIntoSplat() 761 Value *SplatVal = InsElt.getOperand(1); in foldInsSequenceIntoSplat() 762 InsertElementInst *CurrIE = &InsElt; in foldInsSequenceIntoSplat() [all …]
|
D | InstCombineCasts.cpp | 664 auto *InsElt = dyn_cast<InsertElementInst>(Trunc.getOperand(0)); in shrinkInsertElt() local 665 if (!InsElt || !InsElt->hasOneUse()) in shrinkInsertElt() 670 Value *VecOp = InsElt->getOperand(0); in shrinkInsertElt() 671 Value *ScalarOp = InsElt->getOperand(1); in shrinkInsertElt() 672 Value *Index = InsElt->getOperand(2); in shrinkInsertElt() 2501 if (auto *InsElt = dyn_cast<InsertElementInst>(Src)) in visitBitCast() local 2502 return new BitCastInst(InsElt->getOperand(1), DestTy); in visitBitCast()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 544 static void replaceExtractElements(InsertElementInst *InsElt, in replaceExtractElements() argument 547 auto *InsVecType = cast<FixedVectorType>(InsElt->getType()); in replaceExtractElements() 582 if (InsertionBlock != InsElt->getParent()) in replaceExtractElements() 590 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements() 1054 static Instruction *foldInsSequenceIntoSplat(InsertElementInst &InsElt) { in foldInsSequenceIntoSplat() argument 1057 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat() 1060 VectorType *VecTy = InsElt.getType(); in foldInsSequenceIntoSplat() 1072 Value *SplatVal = InsElt.getOperand(1); in foldInsSequenceIntoSplat() 1073 InsertElementInst *CurrIE = &InsElt; in foldInsSequenceIntoSplat() 1088 if (CurrIE != &InsElt && in foldInsSequenceIntoSplat() [all …]
|
D | InstCombineCasts.cpp | 701 auto *InsElt = dyn_cast<InsertElementInst>(Trunc.getOperand(0)); in shrinkInsertElt() local 702 if (!InsElt || !InsElt->hasOneUse()) in shrinkInsertElt() 707 Value *VecOp = InsElt->getOperand(0); in shrinkInsertElt() 708 Value *ScalarOp = InsElt->getOperand(1); in shrinkInsertElt() 709 Value *Index = InsElt->getOperand(2); in shrinkInsertElt() 2655 if (auto *InsElt = dyn_cast<InsertElementInst>(Src)) in visitBitCast() local 2656 return new BitCastInst(InsElt->getOperand(1), DestTy); in visitBitCast()
|
/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-10.0/llvm/lib/Target/AArch64/ |
D | AArch64InstructionSelector.cpp | 3417 auto InsElt = in emitVectorConcat() local 3423 constrainSelectedInstRegOperands(*InsElt, TII, TRI, RBI); in emitVectorConcat() 3424 return &*InsElt; in emitVectorConcat() 3868 MachineInstr *InsElt = nullptr; in emitLaneInsert() local 3881 InsElt = MIRBuilder.buildInstr(Opc, {*DstReg}, {SrcReg}) in emitLaneInsert() 3886 InsElt = MIRBuilder.buildInstr(Opc, {*DstReg}, {SrcReg}) in emitLaneInsert() 3891 constrainSelectedInstRegOperands(*InsElt, TII, TRI, RBI); in emitLaneInsert() 3892 return InsElt; in emitLaneInsert()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64InstructionSelector.cpp | 4261 auto InsElt = in emitVectorConcat() local 4267 constrainSelectedInstRegOperands(*InsElt, TII, TRI, RBI); in emitVectorConcat() 4268 return &*InsElt; in emitVectorConcat() 4612 MachineInstr *InsElt = nullptr; in emitLaneInsert() local 4625 InsElt = MIRBuilder.buildInstr(Opc, {*DstReg}, {SrcReg}) in emitLaneInsert() 4630 InsElt = MIRBuilder.buildInstr(Opc, {*DstReg}, {SrcReg}) in emitLaneInsert() 4635 constrainSelectedInstRegOperands(*InsElt, TII, TRI, RBI); in emitLaneInsert() 4636 return InsElt; in emitLaneInsert()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 645 auto InsElt = buildInsertVectorElement(DstTy, UndefVec, Src, Zero); in buildShuffleSplat() local 647 return buildShuffleVector(DstTy, InsElt, UndefVec, ZeroMask); in buildShuffleSplat()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 4228 auto *InsElt = dyn_cast<InsertElementInst>(Vec); in gather() local 4229 if (!InsElt) in gather() 4231 GatherSeq.insert(InsElt); in gather() 4232 CSEBlocks.insert(InsElt->getParent()); in gather() 4243 ExternalUses.push_back(ExternalUser(Val, InsElt, FoundLane)); in gather()
|
/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-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 13010 SDValue InsElt = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, FloatVT, in PerformInsertEltCombine() local 13012 return DAG.getNode(ISD::BITCAST, dl, VT, InsElt); in PerformInsertEltCombine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 19192 if (SDValue InsElt = replaceShuffleOfInsert(SVN, DAG)) in visitVECTOR_SHUFFLE() local 19193 return InsElt; in visitVECTOR_SHUFFLE()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 13947 SDValue InsElt = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, FloatVT, in PerformInsertEltCombine() local 13949 return DAG.getNode(ISD::BITCAST, dl, VT, InsElt); in PerformInsertEltCombine()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 20612 if (SDValue InsElt = replaceShuffleOfInsert(SVN, DAG)) in visitVECTOR_SHUFFLE() local 20613 return InsElt; in visitVECTOR_SHUFFLE()
|