Searched refs:SplatIndex (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 230 int SplatIndex = -1; in getSplatIndex() local 237 if (SplatIndex != -1 && SplatIndex != M) in getSplatIndex() 241 SplatIndex = M; in getSplatIndex() 243 assert((SplatIndex == -1 || SplatIndex >= 0) && "Negative index?"); in getSplatIndex() 244 return SplatIndex; in getSplatIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelLowering.cpp | 467 int SplatIndex = -1; in lowerVECTOR_SHUFFLE_VREPLVEI() local 470 SplatIndex = M; in lowerVECTOR_SHUFFLE_VREPLVEI() 475 if (SplatIndex == -1) in lowerVECTOR_SHUFFLE_VREPLVEI() 478 assert(SplatIndex < (int)Mask.size() && "Out of bounds mask index"); in lowerVECTOR_SHUFFLE_VREPLVEI() 479 if (fitsRegularPattern<int>(Mask.begin(), 1, Mask.end(), SplatIndex, 0)) { in lowerVECTOR_SHUFFLE_VREPLVEI() 480 APInt Imm(64, SplatIndex); in lowerVECTOR_SHUFFLE_VREPLVEI() 887 int SplatIndex = -1; in lowerVECTOR_SHUFFLE_XVREPLVEI() local 890 SplatIndex = M; in lowerVECTOR_SHUFFLE_XVREPLVEI() 895 if (SplatIndex == -1) in lowerVECTOR_SHUFFLE_XVREPLVEI() 902 assert(SplatIndex < (int)Mask.size() && "Out of bounds mask index"); in lowerVECTOR_SHUFFLE_XVREPLVEI() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 1819 int &SplatIndex; member 1820 m_SplatOrPoisonMask(int &SplatIndex) : SplatIndex(SplatIndex) {} in m_SplatOrPoisonMask() 1825 SplatIndex = *First; in match()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 2216 int SplatIndex; in foldVectorBinop() local 2220 !match(MaskC, m_SplatOrPoisonMask(SplatIndex)) || in foldVectorBinop() 2228 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 2230 } else if (!isSplatValue(Y, SplatIndex)) { in foldVectorBinop() 2238 SmallVector<int, 8> NewMask(MaskC.size(), SplatIndex); in foldVectorBinop()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 2634 int SplatIndex = -1; in isVECTOR_SHUFFLE_SPLATI() local 2637 SplatIndex = V; in isVECTOR_SHUFFLE_SPLATI() 2642 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 2172 SDValue getSplatSourceVector(SDValue V, int &SplatIndex);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 25608 int SplatIndex = -1; in formSplatFromShuffles() local 25621 if (SplatIndex == -1) in formSplatFromShuffles() 25622 SplatIndex = InnerMaskElt; in formSplatFromShuffles() 25625 if (SplatIndex != InnerMaskElt) in formSplatFromShuffles() 25802 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE() local 25803 if (N0.hasOneUse() && TLI.isExtractVecEltCheap(VT, SplatIndex) && in visitVECTOR_SHUFFLE() 25810 SDValue Index = DAG.getVectorIdxConstant(SplatIndex, DL); in visitVECTOR_SHUFFLE() 25824 if (N0.getOpcode() == ISD::SCALAR_TO_VECTOR && SplatIndex == 0) in visitVECTOR_SHUFFLE() 25829 if (Idx->getAPIntValue() == SplatIndex) in visitVECTOR_SHUFFLE() 25835 SplatIndex == 0 && DAG.getDataLayout().isLittleEndian() && in visitVECTOR_SHUFFLE() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 5069 int SplatIndex = -1; in isConstantSplat() local 5073 if (0 <= SplatIndex && EltBits[i] != EltBits[SplatIndex]) { in isConstantSplat() 5074 SplatIndex = -1; in isConstantSplat() 5077 SplatIndex = i; in isConstantSplat() 5079 if (0 <= SplatIndex) { in isConstantSplat() 5080 SplatVal = EltBits[SplatIndex]; in isConstantSplat()
|