Home
last modified time | relevance | path

Searched defs:Shuf (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1163 static bool isShuffleEquivalentToSelect(ShuffleVectorInst &Shuf) { in isShuffleEquivalentToSelect()
1266 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoSplat() local
1303 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoIdentityShuffle() local
1389 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0))) { in foldConstantInsEltIntoShuffle() local
1704 if (Instruction *Shuf = foldConstantInsEltIntoShuffle(IE)) in visitInsertElementInst() local
2063 static Instruction *foldSelectShuffleOfSelectShuffle(ShuffleVectorInst &Shuf) { in foldSelectShuffleOfSelectShuffle()
2110 static Instruction *foldSelectShuffleWith1Binop(ShuffleVectorInst &Shuf) { in foldSelectShuffleWith1Binop()
2166 static Instruction *canonicalizeInsertSplat(ShuffleVectorInst &Shuf, in canonicalizeInsertSplat()
2199 Instruction *InstCombinerImpl::foldSelectShuffle(ShuffleVectorInst &Shuf) { in foldSelectShuffle()
2337 static Instruction *foldTruncShuffle(ShuffleVectorInst &Shuf, in foldTruncShuffle()
[all …]
DInstCombineNegator.cpp351 auto *Shuf = cast<ShuffleVectorInst>(I); in visitImpl() local
DInstCombineCasts.cpp756 auto *Shuf = dyn_cast<ShuffleVectorInst>(Trunc.getOperand(0)); in shrinkSplatShuffle() local
2838 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(Src)) { in visitBitCast() local
DInstCombineCalls.cpp404 Value *Shuf = in simplifyMaskedGather() local
2864 if (Instruction *Shuf = foldShuffledIntrinsicOperands(II, Builder)) in visitCallInst() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp725 static bool isShuffleEquivalentToSelect(ShuffleVectorInst &Shuf) { in isShuffleEquivalentToSelect()
818 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoSplat() local
852 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoIdentityShuffle() local
935 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0))) { in foldConstantInsEltIntoShuffle() local
1106 if (Instruction *Shuf = foldConstantInsEltIntoShuffle(IE)) in visitInsertElementInst() local
1455 static Instruction *foldSelectShuffleWith1Binop(ShuffleVectorInst &Shuf) { in foldSelectShuffleWith1Binop()
1511 static Instruction *canonicalizeInsertSplat(ShuffleVectorInst &Shuf, in canonicalizeInsertSplat()
1543 static Instruction *foldSelectShuffle(ShuffleVectorInst &Shuf, in foldSelectShuffle()
1672 static Instruction *narrowVectorSelect(ShuffleVectorInst &Shuf, in narrowVectorSelect()
1705 static Instruction *foldIdentityExtractShuffle(ShuffleVectorInst &Shuf) { in foldIdentityExtractShuffle()
[all …]
DInstCombineCasts.cpp640 auto *Shuf = dyn_cast<ShuffleVectorInst>(Trunc.getOperand(0)); in shrinkSplatShuffle() local
2506 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(Src)) { in visitBitCast() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp212 Value *Shuf = Builder.CreateShuffleVector(Load, UndefValue::get(V4Ty), in runOnFunction() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/ARM/
DMVELaneInterleavingPass.cpp360 Value *Shuf = Builder.CreateShuffleVector(I, TruncMask); in tryInterleave() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp223 Value *Shuf = Builder.CreateShuffleVector(Load, ArrayRef<int>{0, 1, 2}, in runOnFunction() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp279 auto *Shuf = cast<ShuffleVectorInst>(&I); in widenSubvectorLoad() local
510 Value *Shuf = createShiftShuffle(X, cast<ConstantInt>(C)->getZExtValue(), in translateExtract() local
675 Value *Shuf = Builder.CreateShuffleVector(DestVec, VecFNeg, Mask); in foldInsExtFNeg() local
730 Value *Shuf = Builder.CreateShuffleVector(CastV, NewMask); in foldBitcastShuf() local
940 Value *Shuf = createShiftShuffle(VCmp, ExpensiveIndex, CheapIndex, Builder); in foldExtractedCmps() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp852 Value *Shuf = Builder.CreateShuffleVector( in getShuffleReduction() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DVectorUtils.cpp398 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(V)) { in isSplatValue() local
DValueTracking.cpp157 static bool getShuffleDemandedElts(const ShuffleVectorInst *Shuf, in getShuffleDemandedElts()
1776 auto *Shuf = dyn_cast<ShuffleVectorInst>(I); in computeKnownBitsFromOperator() local
3339 auto *Shuf = dyn_cast<ShuffleVectorInst>(U); in ComputeNumSignBitsImpl() local
DInstructionSimplify.cpp4341 auto *Shuf = dyn_cast<ShuffleVectorInst>(FVal); in simplifyCmpSelOfMaxMin() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp16842 SDValue Shuf = DAG.getVectorShuffle(ShufVT, DL, DestVecBC, PaddedSubV, Mask); in combineInsertEltToShuffle() local
16882 if (SDValue Shuf = combineInsertEltToShuffle(N, Elt)) in visitINSERT_VECTOR_ELT() local
17157 auto *Shuf = cast<ShuffleVectorSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT() local
17272 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(VecOp)) { in visitEXTRACT_VECTOR_ELT() local
17615 SDValue Shuf = TLI.buildLegalVectorShuffle(VecVT, DL, Extract.getOperand(0), in reduceBuildVecToShuffleWithZero() local
18667 static SDValue foldShuffleOfConcatUndefs(ShuffleVectorSDNode *Shuf, in foldShuffleOfConcatUndefs()
18990 static SDValue combineShuffleOfSplatVal(ShuffleVectorSDNode *Shuf, in combineShuffleOfSplatVal()
19068 static SDValue replaceShuffleOfInsert(ShuffleVectorSDNode *Shuf, in replaceShuffleOfInsert()
19122 static SDValue simplifyShuffleOfShuffle(ShuffleVectorSDNode *Shuf) { in simplifyShuffleOfShuffle()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp970 Value *Shuf = Builder.CreateShuffleVector(TmpVec, ShuffleMask, "rdx.shuf"); in getShuffleReduction() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20181 SDValue Shuf = DAG.getVectorShuffle(ShufVT, DL, DestVecBC, PaddedSubV, Mask); in combineInsertEltToShuffle() local
20253 if (SDValue Shuf = mergeInsertEltWithShuffle(N, Elt)) in visitINSERT_VECTOR_ELT() local
20256 if (SDValue Shuf = combineInsertEltToShuffle(N, Elt)) in visitINSERT_VECTOR_ELT() local
20779 auto *Shuf = cast<ShuffleVectorSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT() local
20904 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(VecOp)) { in visitEXTRACT_VECTOR_ELT() local
21380 SDValue Shuf = TLI.buildLegalVectorShuffle(VecVT, DL, Extract.getOperand(0), in reduceBuildVecToShuffleWithZero() local
23031 static SDValue foldShuffleOfConcatUndefs(ShuffleVectorSDNode *Shuf, in foldShuffleOfConcatUndefs()
23504 static SDValue combineShuffleOfSplatVal(ShuffleVectorSDNode *Shuf, in combineShuffleOfSplatVal()
23730 static SDValue replaceShuffleOfInsert(ShuffleVectorSDNode *Shuf, in replaceShuffleOfInsert()
23783 static SDValue simplifyShuffleOfShuffle(ShuffleVectorSDNode *Shuf) { in simplifyShuffleOfShuffle()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1868 Value *Shuf = Builder.CreateVectorSplat(VF, V, "broadcast"); in getBroadcastInstrs() local
3648 Value *Shuf = Builder.CreateShuffleVector( in vectorizeLoop() local
DSLPVectorizer.cpp4184 Value *Shuf = Builder.CreateShuffleVector( in emitReduction() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
DConstants.cpp1642 const auto *Shuf = dyn_cast<ConstantExpr>(this); in getSplatValue() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp2711 auto *Shuf = cast<ShuffleVectorInst>(U); in ComputeNumSignBitsImpl() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1680 Value *Shuf = Builder.CreateVectorSplat(VF, V, "broadcast"); in getBroadcastInstrs() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp12682 SDValue Shuf = DAG.getVectorShuffle(WideVT, DL, WideVec, DAG.getUNDEF(WideVT), in lowerShuffleOfExtractsAsVperm() local
19626 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(In)) in LowerAVXExtend() local
21729 SDValue Shuf = DAG.getVectorShuffle(MVT::v4i32, dl, Result, Result, Mask); in LowerVSETCC() local
35203 static SDValue narrowShuffle(ShuffleVectorSDNode *Shuf, SelectionDAG &DAG) { in narrowShuffle()
35236 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(N)) in combineShuffle() local
44328 SDValue Shuf = DAG.getVectorShuffle(MVT::v4i32, dl, Cast, Cast, in combineSIntToFP() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp14769 SDValue Shuf = DAG.getVectorShuffle(WideVT, DL, WideVec, DAG.getUNDEF(WideVT), in lowerShuffleOfExtractsAsVperm() local
22221 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(In)) in LowerAVXExtend() local
25124 SDValue Shuf = DAG.getVectorShuffle(MVT::v4i32, dl, Result, Result, Mask); in LowerVSETCC() local
35048 auto *Shuf = dyn_cast<ShuffleVectorInst>(I->getOperand(ShiftAmountOpNum)); in shouldSinkOperands() local
41833 static SDValue narrowShuffle(ShuffleVectorSDNode *Shuf, SelectionDAG &DAG) { in narrowShuffle()
41866 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(N)) in combineShuffle() local
54060 SDValue Shuf = DAG.getVectorShuffle(MVT::v4i32, dl, Cast, Cast, in combineSIntToFP() local
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp5596 SDValue Shuf = DAG.getVectorShuffle(InVT, DL, PackedOp, ZeroVec, Mask); in lowerZERO_EXTEND_VECTOR_INREG() local

12