Searched refs:SplatIndex (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 228 int SplatIndex = -1; in getSplatIndex() local 235 if (SplatIndex != -1 && SplatIndex != M) in getSplatIndex() 239 SplatIndex = M; in getSplatIndex() 241 assert((SplatIndex == -1 || SplatIndex >= 0) && "Negative index?"); in getSplatIndex() 242 return SplatIndex; in getSplatIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1605 int &SplatIndex; member 1606 m_SplatOrUndefMask(int &SplatIndex) : SplatIndex(SplatIndex) {} in m_SplatOrUndefMask() 1611 SplatIndex = *First; in match()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2009 int SplatIndex; in foldVectorBinop() local 2013 !match(MaskC, m_SplatOrUndefMask(SplatIndex)) || in foldVectorBinop() 2021 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 2023 } else if (!isSplatValue(Y, SplatIndex)) { in foldVectorBinop() 2031 SmallVector<int, 8> NewMask(MaskC.size(), SplatIndex); in foldVectorBinop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 2627 int SplatIndex = -1; in isVECTOR_SHUFFLE_SPLATI() local 2630 SplatIndex = V; in isVECTOR_SHUFFLE_SPLATI() 2635 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 2182 SDValue getSplatSourceVector(SDValue V, int &SplatIndex);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 25233 int SplatIndex = -1; in formSplatFromShuffles() local 25246 if (SplatIndex == -1) in formSplatFromShuffles() 25247 SplatIndex = InnerMaskElt; in formSplatFromShuffles() 25250 if (SplatIndex != InnerMaskElt) in formSplatFromShuffles() 25427 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE() local 25428 if (N0.hasOneUse() && TLI.isExtractVecEltCheap(VT, SplatIndex) && in visitVECTOR_SHUFFLE() 25435 SDValue Index = DAG.getVectorIdxConstant(SplatIndex, DL); in visitVECTOR_SHUFFLE() 25449 if (N0.getOpcode() == ISD::SCALAR_TO_VECTOR && SplatIndex == 0) in visitVECTOR_SHUFFLE() 25454 if (Idx->getAPIntValue() == SplatIndex) in visitVECTOR_SHUFFLE() 25460 SplatIndex == 0 && DAG.getDataLayout().isLittleEndian() && in visitVECTOR_SHUFFLE() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 5050 int SplatIndex = LHSIndexCounts.begin()->getFirst(); in lowerVECTOR_SHUFFLE() local 5052 DAG.getConstant(SplatIndex, DL, XLenVT), in lowerVECTOR_SHUFFLE() 5077 int SplatIndex = RHSIndexCounts.begin()->getFirst(); in lowerVECTOR_SHUFFLE() local 5079 DAG.getConstant(SplatIndex, DL, XLenVT), Gather, in lowerVECTOR_SHUFFLE()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 4932 int SplatIndex = -1; in isConstantSplat() local 4936 if (0 <= SplatIndex && EltBits[i] != EltBits[SplatIndex]) { in isConstantSplat() 4937 SplatIndex = -1; in isConstantSplat() 4940 SplatIndex = i; in isConstantSplat() 4942 if (0 <= SplatIndex) { in isConstantSplat() 4943 SplatVal = EltBits[SplatIndex]; in isConstantSplat()
|