Lines Matching refs:isSplat
957 TEST(APIntTest, IsSplat) {
959 EXPECT_FALSE(A.isSplat(1));
960 EXPECT_FALSE(A.isSplat(2));
961 EXPECT_FALSE(A.isSplat(4));
962 EXPECT_TRUE(A.isSplat(8));
963 EXPECT_TRUE(A.isSplat(16));
964 EXPECT_TRUE(A.isSplat(32));
967 EXPECT_FALSE(B.isSplat(1));
968 EXPECT_TRUE(B.isSplat(2));
969 EXPECT_TRUE(B.isSplat(4));
970 EXPECT_TRUE(B.isSplat(8));
971 EXPECT_TRUE(B.isSplat(24));
974 EXPECT_FALSE(C.isSplat(1));
975 EXPECT_FALSE(C.isSplat(2));
976 EXPECT_FALSE(C.isSplat(4));
977 EXPECT_FALSE(C.isSplat(8));
978 EXPECT_TRUE(C.isSplat(24));
981 EXPECT_FALSE(D.isSplat(1));
982 EXPECT_FALSE(D.isSplat(2));
983 EXPECT_FALSE(D.isSplat(4));
984 EXPECT_FALSE(D.isSplat(8));
985 EXPECT_TRUE(D.isSplat(16));
986 EXPECT_TRUE(D.isSplat(32));
989 EXPECT_TRUE(E.isSplat(1));
990 EXPECT_TRUE(E.isSplat(2));
991 EXPECT_TRUE(E.isSplat(4));
992 EXPECT_TRUE(E.isSplat(8));
993 EXPECT_TRUE(E.isSplat(16));
994 EXPECT_TRUE(E.isSplat(32));