/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 1185 static bool isShuffleEquivalentToSelect(ShuffleVectorInst &Shuf) { in isShuffleEquivalentToSelect() 1289 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoSplat() local 1326 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoIdentityShuffle() local 1412 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0))) { in foldConstantInsEltIntoShuffle() local 1735 if (Instruction *Shuf = foldConstantInsEltIntoShuffle(IE)) in visitInsertElementInst() local 2099 static Instruction *foldSelectShuffleOfSelectShuffle(ShuffleVectorInst &Shuf) { in foldSelectShuffleOfSelectShuffle() 2146 static Instruction *foldSelectShuffleWith1Binop(ShuffleVectorInst &Shuf, in foldSelectShuffleWith1Binop() 2215 static Instruction *canonicalizeInsertSplat(ShuffleVectorInst &Shuf, in canonicalizeInsertSplat() 2247 Instruction *InstCombinerImpl::foldSelectShuffle(ShuffleVectorInst &Shuf) { in foldSelectShuffle() 2386 static Instruction *foldTruncShuffle(ShuffleVectorInst &Shuf, in foldTruncShuffle() [all …]
|
H A D | InstCombineNegator.cpp | 364 auto *Shuf = cast<ShuffleVectorInst>(I); in visitImpl() local
|
H A D | InstCombineCasts.cpp | 632 auto *Shuf = dyn_cast<ShuffleVectorInst>(Trunc.getOperand(0)); in shrinkSplatShuffle() local 2753 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(Src)) { in visitBitCast() local
|
H A D | InstCombineSimplifyDemanded.cpp | 1904 auto Shuf = m_Shuffle(m_Specific(ShufOp), m_Value(), m_Mask(Mask)); in SimplifyDemandedVectorElts() local
|
H A D | InstCombineCalls.cpp | 376 Value *Shuf = in simplifyMaskedGather() local 3621 if (Instruction *Shuf = foldShuffledIntrinsicOperands(II, Builder)) in visitCallInst() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVELaneInterleavingPass.cpp | 386 Value *Shuf = Builder.CreateShuffleVector(I, TruncMask); in tryInterleave() local
|
H A D | ARMISelLowering.cpp | 17357 auto *Shuf = dyn_cast<ShuffleVectorSDNode>(N->getOperand(VecOp)); in PerformReduceShuffleCombine() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 294 auto *Shuf = cast<ShuffleVectorInst>(&I); in widenSubvectorLoad() local 524 Value *Shuf = createShiftShuffle(X, cast<ConstantInt>(C)->getZExtValue(), in translateExtract() local 689 Value *Shuf = Builder.CreateShuffleVector(DestVec, VecFNeg, Mask); in foldInsExtFNeg() local 779 Value *Shuf = Builder.CreateShuffleVector(CastV0, CastV1, NewMask); in foldBitcastShuffle() local 1111 Value *Shuf = createShiftShuffle(VCmp, ExpensiveIndex, CheapIndex, Builder); in foldExtractedCmps() local 1579 Value *Shuf = Builder.CreateShuffleVector(C0->getOperand(0), in foldShuffleOfCastops() local 1672 Value *Shuf = Builder.CreateShuffleVector(V0, V1, NewMask); in foldShuffleOfShuffles() local
|
H A D | VPlan.cpp | 284 Value *Shuf = Builder.CreateVectorSplat(VF, V, "broadcast"); in get() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 272 Value *Shuf = Builder.CreateShuffleVector(Load, ArrayRef<int>{0, 1, 2}, in lowerKernelArguments() local
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 278 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(V)) { in isSplatValue() local
|
H A D | ValueTracking.cpp | 135 static bool getShuffleDemandedElts(const ShuffleVectorInst *Shuf, in getShuffleDemandedElts() 1871 auto *Shuf = dyn_cast<ShuffleVectorInst>(I); in computeKnownBitsFromOperator() local 3010 auto *Shuf = dyn_cast<ShuffleVectorInst>(I); in isKnownNonZeroFromOperator() local 4037 auto *Shuf = dyn_cast<ShuffleVectorInst>(U); in ComputeNumSignBitsImpl() local 5811 auto *Shuf = dyn_cast<ShuffleVectorInst>(Op); in computeKnownFPClass() local
|
H A D | InstructionSimplify.cpp | 4552 auto *Shuf = dyn_cast<ShuffleVectorInst>(FVal); in simplifyCmpSelOfMaxMin() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ComplexDeinterleavingPass.cpp | 1795 } else if (auto *Shuf = dyn_cast<ShuffleVectorInst>(V)) { in identifySplat() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 21971 SDValue Shuf = DAG.getVectorShuffle(ShufVT, DL, DestVecBC, PaddedSubV, Mask); in combineInsertEltToShuffle() local 22136 if (SDValue Shuf = mergeInsertEltWithShuffle(N, Elt)) in visitINSERT_VECTOR_ELT() local 22139 if (SDValue Shuf = combineInsertEltToShuffle(N, Elt)) in visitINSERT_VECTOR_ELT() local 22142 if (SDValue Shuf = combineInsertEltToLoad(N, Elt)) in visitINSERT_VECTOR_ELT() local 22688 auto *Shuf = cast<ShuffleVectorSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT() local 22813 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(VecOp)) { in visitEXTRACT_VECTOR_ELT() local 23294 SDValue Shuf = TLI.buildLegalVectorShuffle(VecVT, DL, Extract.getOperand(0), in reduceBuildVecToShuffleWithZero() local 24975 static SDValue foldShuffleOfConcatUndefs(ShuffleVectorSDNode *Shuf, in foldShuffleOfConcatUndefs() 25446 static SDValue combineShuffleOfSplatVal(ShuffleVectorSDNode *Shuf, in combineShuffleOfSplatVal() 25672 static SDValue replaceShuffleOfInsert(ShuffleVectorSDNode *Shuf, in replaceShuffleOfInsert() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 1137 Value *Shuf = Builder.CreateShuffleVector(TmpVec, ShuffleMask, "rdx.shuf"); in getShuffleReduction() local
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 1697 const auto *Shuf = dyn_cast<ConstantExpr>(this); in getSplatValue() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 12473 SDValue Shuf = DAG.getVectorShuffle(WideVT, DL, WideVec, DAG.getUNDEF(WideVT), in lowerShuffleOfExtractsAsVperm() local 20198 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(In)) in LowerAVXExtend() local 23667 SDValue Shuf = DAG.getVectorShuffle(MVT::v4i32, dl, Result, Result, Mask); in LowerVSETCC() local 34310 auto *Shuf = dyn_cast<ShuffleVectorInst>(I->getOperand(ShiftAmountOpNum)); in shouldSinkOperands() local 41722 static SDValue narrowShuffle(ShuffleVectorSDNode *Shuf, SelectionDAG &DAG) { in narrowShuffle() 41755 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(N)) in combineShuffle() local 55042 SDValue Shuf = DAG.getVectorShuffle(MVT::v4i32, dl, Cast, Cast, in combineSIntToFP() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 6001 SDValue Shuf = DAG.getVectorShuffle(InVT, DL, PackedOp, ZeroVec, Mask); in lowerZERO_EXTEND_VECTOR_INREG() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 15875 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(V)) in isSplatShuffle() local 25863 auto *Shuf = dyn_cast<ShuffleVectorSDNode>(N->getOperand(1)); in ReplaceAddWithADDP() local
|