Home
last modified time | relevance | path

Searched refs:SplatIndex (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp339 int SplatIndex = -1; in getSplatIndex() local
346 if (SplatIndex != -1 && SplatIndex != M) in getSplatIndex()
350 SplatIndex = M; in getSplatIndex()
352 assert((SplatIndex == -1 || SplatIndex >= 0) && "Negative index?"); in getSplatIndex()
353 return SplatIndex; in getSplatIndex()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1546 int &SplatIndex; member
1547 m_SplatOrUndefMask(int &SplatIndex) : SplatIndex(SplatIndex) {} in m_SplatOrUndefMask()
1552 SplatIndex = *First; in match()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1756 int SplatIndex; in foldVectorBinop() local
1760 !match(MaskC, m_SplatOrUndefMask(SplatIndex)) || in foldVectorBinop()
1769 if (isSplatValue(BO->getOperand(0), SplatIndex)) { in foldVectorBinop()
1772 } else if (isSplatValue(BO->getOperand(1), SplatIndex)) { in foldVectorBinop()
1783 SmallVector<int, 8> NewMask(MaskC.size(), SplatIndex); in foldVectorBinop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2639 int SplatIndex = -1; in isVECTOR_SHUFFLE_SPLATI() local
2642 SplatIndex = V; in isVECTOR_SHUFFLE_SPLATI()
2647 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1844 SDValue getSplatSourceVector(SDValue V, int &SplatIndex);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2532 int SplatIndex = -1; in isSplatValue() local
2542 if (0 <= SplatIndex && SplatIndex != M) in isSplatValue()
2544 SplatIndex = M; in isSplatValue()
H A DDAGCombiner.cpp20980 int SplatIndex = -1; in formSplatFromShuffles() local
20993 if (SplatIndex == -1) in formSplatFromShuffles()
20994 SplatIndex = InnerMaskElt; in formSplatFromShuffles()
20997 if (SplatIndex != InnerMaskElt) in formSplatFromShuffles()
21180 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE() local
21181 if (N0.hasOneUse() && TLI.isExtractVecEltCheap(VT, SplatIndex) && in visitVECTOR_SHUFFLE()
21188 SDValue Index = DAG.getVectorIdxConstant(SplatIndex, DL); in visitVECTOR_SHUFFLE()
21234 SDValue Splatted = V->getOperand(SplatIndex); in visitVECTOR_SHUFFLE()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6851 int SplatIndex = -1; in isConstantSplat() local
6855 if (0 <= SplatIndex && EltBits[i] != EltBits[SplatIndex]) { in isConstantSplat()
6856 SplatIndex = -1; in isConstantSplat()
6859 SplatIndex = i; in isConstantSplat()
6861 if (0 <= SplatIndex) { in isConstantSplat()
6862 SplatVal = EltBits[SplatIndex]; in isConstantSplat()