Searched refs:isSingleSourceMask (Results 1 – 3 of 3) sorted by relevance
778 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(Identity)); // identity is always single source in TEST()786 EXPECT_FALSE(ShuffleVectorInst::isSingleSourceMask(Select)); in TEST()794 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(Reverse)); // reverse is always single source in TEST()802 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(SingleSource)); in TEST()810 …EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ZeroEltSplat)); // 0-splat is always single sour… in TEST()818 EXPECT_FALSE(ShuffleVectorInst::isSingleSourceMask(Transpose)); in TEST()832 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C7, C5, CU, C7}))); in TEST()833 EXPECT_TRUE(ShuffleVectorInst::isSingleSourceMask(ConstantVector::get({C3, C0, CU, C3}))); in TEST()
1703 bool ShuffleVectorInst::isSingleSourceMask(ArrayRef<int> Mask) { in isSingleSourceMask() function in ShuffleVectorInst1722 if (!isSingleSourceMask(Mask)) in isIdentityMask()1734 if (!isSingleSourceMask(Mask)) in isReverseMask()1746 if (!isSingleSourceMask(Mask)) in isZeroEltSplatMask()1759 if (isSingleSourceMask(Mask)) in isSelectMask()
2471 static bool isSingleSourceMask(ArrayRef<int> Mask);2472 static bool isSingleSourceMask(const Constant *Mask) {2476 return isSingleSourceMask(MaskAsInts);2484 return !changesLength() && isSingleSourceMask(getMask());