/external/llvm-project/llvm/unittests/Analysis/ |
D | VectorUtilsTest.cpp | 169 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/ |
D | Utils.h | 240 Optional<int> getSplatIndex(MachineInstr &MI);
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64PostLegalizerLowering.cpp | 322 auto MaybeLane = getSplatIndex(MI); in matchDup() 559 auto LaneIdx = getSplatIndex(MI); in matchDupLane()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 356 int getSplatIndex(ArrayRef<int> Mask);
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 649 Optional<int> llvm::getSplatIndex(MachineInstr &MI) { in getSplatIndex() function in llvm
|
/external/llvm-project/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 327 int llvm::getSplatIndex(ArrayRef<int> Mask) { in getSplatIndex() function in llvm
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1249 int getSplatIndex() const {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1530 int getSplatIndex() const {
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1490 int getSplatIndex() const {
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 4318 unsigned Index = VSN->getSplatIndex(); in lowerVECTOR_SHUFFLE() 4464 unsigned Index = VSN->getSplatIndex(); in lowerShift()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 2289 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 4926 unsigned Index = VSN->getSplatIndex(); in lowerVECTOR_SHUFFLE() 5072 unsigned Index = VSN->getSplatIndex(); in lowerShift()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 5155 unsigned Index = VSN->getSplatIndex(); in lowerVECTOR_SHUFFLE() 5328 unsigned Index = VSN->getSplatIndex(); in lowerShift()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 20448 getSplatIndex(CombinedMask) != -1) && in formSplatFromShuffles() 20624 if (SVN->isSplat() && SVN->getSplatIndex() < (int)NumElts) { in visitVECTOR_SHUFFLE() 20625 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE()
|
D | SelectionDAG.cpp | 2513 int Idx = SVN->getSplatIndex(); in getSplatSourceVector()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 13449 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/ |
D | SelectionDAG.cpp | 2404 int Idx = SVN->getSplatIndex(); in getSplatSourceVector()
|
D | DAGCombiner.cpp | 19201 if (SVN->isSplat() && SVN->getSplatIndex() < (int)NumElts) { in visitVECTOR_SHUFFLE() 19202 int SplatIndex = SVN->getSplatIndex(); in visitVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5595 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7493 int SplatIdx = SVOp->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6233 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7226 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 19874 SplatIndex = SVN->getSplatIndex(); in LowerScalarImmediateShift() 19953 unsigned SplatIdx = (unsigned)SVN->getSplatIndex(); in LowerScalarVariableShift()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 9353 int SplatIdx = SVOp->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 8656 int Lane = SVN->getSplatIndex(); in LowerVECTOR_SHUFFLE()
|