Searched refs:isIdentityMask (Results 1 – 3 of 3) sorted by relevance
775 EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(Identity)); in TEST()783 EXPECT_FALSE(ShuffleVectorInst::isIdentityMask(Select)); in TEST()791 EXPECT_FALSE(ShuffleVectorInst::isIdentityMask(Reverse)); in TEST()799 EXPECT_FALSE(ShuffleVectorInst::isIdentityMask(SingleSource)); in TEST()807 EXPECT_FALSE(ShuffleVectorInst::isIdentityMask(ZeroEltSplat)); in TEST()815 EXPECT_FALSE(ShuffleVectorInst::isIdentityMask(Transpose)); in TEST()823 EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({CU, C1, CU, C3}))); in TEST()824 EXPECT_TRUE(ShuffleVectorInst::isIdentityMask(ConstantVector::get({C4, CU, C6, CU}))); in TEST()
2492 static bool isIdentityMask(ArrayRef<int> Mask);2493 static bool isIdentityMask(const Constant *Mask) {2497 return isIdentityMask(MaskAsInts);2506 return !changesLength() && isIdentityMask(getShuffleMask());
1721 bool ShuffleVectorInst::isIdentityMask(ArrayRef<int> Mask) { in isIdentityMask() function in ShuffleVectorInst