Home
last modified time | relevance | path

Searched refs:getSplatIndex (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/llvm/unittests/Analysis/
DVectorUtilsTest.cpp169 TEST_F(BasicTest, getSplatIndex) { in TEST_F() argument
170 EXPECT_EQ(getSplatIndex({0,0,0}), 0); in TEST_F()
171 EXPECT_EQ(getSplatIndex({1,0,0}), -1); // no splat in TEST_F()
172 EXPECT_EQ(getSplatIndex({0,1,1}), -1); // no splat in TEST_F()
173 EXPECT_EQ(getSplatIndex({42,42,42}), 42); // array size is independent of splat index in TEST_F()
174 EXPECT_EQ(getSplatIndex({42,42,-1}), 42); // ignore negative in TEST_F()
175 EXPECT_EQ(getSplatIndex({-1,42,-1}), 42); // ignore negatives in TEST_F()
176 EXPECT_EQ(getSplatIndex({-4,42,-42}), 42); // ignore all negatives in TEST_F()
177 EXPECT_EQ(getSplatIndex({-4,-1,-42}), -1); // all negative values map to -1 in TEST_F()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h240 Optional<int> getSplatIndex(MachineInstr &MI);
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerLowering.cpp322 auto MaybeLane = getSplatIndex(MI); in matchDup()
559 auto LaneIdx = getSplatIndex(MI); in matchDupLane()
/external/llvm-project/llvm/include/llvm/Analysis/
DVectorUtils.h356 int getSplatIndex(ArrayRef<int> Mask);
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp649 Optional<int> llvm::getSplatIndex(MachineInstr &MI) { in getSplatIndex() function in llvm
/external/llvm-project/llvm/lib/Analysis/
DVectorUtils.cpp327 int llvm::getSplatIndex(ArrayRef<int> Mask) { in getSplatIndex() function in llvm
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1249 int getSplatIndex() const {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1530 int getSplatIndex() const {
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1490 int getSplatIndex() const {
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4318 unsigned Index = VSN->getSplatIndex(); in lowerVECTOR_SHUFFLE()
4464 unsigned Index = VSN->getSplatIndex(); in lowerShift()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2289 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4926 unsigned Index = VSN->getSplatIndex(); in lowerVECTOR_SHUFFLE()
5072 unsigned Index = VSN->getSplatIndex(); in lowerShift()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp5155 unsigned Index = VSN->getSplatIndex(); in lowerVECTOR_SHUFFLE()
5328 unsigned Index = VSN->getSplatIndex(); in lowerShift()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20448 getSplatIndex(CombinedMask) != -1) && in formSplatFromShuffles()
20624 if (SVN->isSplat() && SVN->getSplatIndex() < (int)NumElts) { in visitVECTOR_SHUFFLE()
20625 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE()
DSelectionDAG.cpp2513 int Idx = SVN->getSplatIndex(); in getSplatSourceVector()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp13449 if (SVN->isSplat() && SVN->getSplatIndex() < (int)NumElts) { in visitVECTOR_SHUFFLE()
13487 const SDValue &Splatted = V->getOperand(SVN->getSplatIndex()); in visitVECTOR_SHUFFLE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2404 int Idx = SVN->getSplatIndex(); in getSplatSourceVector()
DDAGCombiner.cpp19201 if (SVN->isSplat() && SVN->getSplatIndex() < (int)NumElts) { in visitVECTOR_SHUFFLE()
19202 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5595 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7493 int SplatIdx = SVOp->getSplatIndex(); in LowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp6233 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7226 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp19874 SplatIndex = SVN->getSplatIndex(); in LowerScalarImmediateShift()
19953 unsigned SplatIdx = (unsigned)SVN->getSplatIndex(); in LowerScalarVariableShift()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9353 int SplatIdx = SVOp->getSplatIndex(); in LowerVECTOR_SHUFFLE()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8656 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()

12