Lines Matching refs:matcher

33 void CheckBaseWithIndexAndDisplacement(Matcher* matcher, Node* index, int scale,  in CheckBaseWithIndexAndDisplacement()  argument
35 EXPECT_TRUE(matcher->matches()); in CheckBaseWithIndexAndDisplacement()
36 EXPECT_EQ(index, matcher->index()); in CheckBaseWithIndexAndDisplacement()
37 EXPECT_EQ(scale, matcher->scale()); in CheckBaseWithIndexAndDisplacement()
38 EXPECT_EQ(base, matcher->base()); in CheckBaseWithIndexAndDisplacement()
39 EXPECT_EQ(displacement, matcher->displacement()); in CheckBaseWithIndexAndDisplacement()
739 BranchMatcher matcher(branch); in TEST_F() local
740 EXPECT_TRUE(matcher.Matched()); in TEST_F()
741 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
742 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
743 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
750 BranchMatcher matcher(branch); in TEST_F() local
751 EXPECT_TRUE(matcher.Matched()); in TEST_F()
752 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
753 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
754 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
762 BranchMatcher matcher(branch); in TEST_F() local
763 EXPECT_TRUE(matcher.Matched()); in TEST_F()
764 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
765 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
766 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
778 BranchMatcher matcher(branch); in TEST_F() local
779 EXPECT_FALSE(matcher.Matched()); in TEST_F()
786 BranchMatcher matcher(branch); in TEST_F() local
787 EXPECT_FALSE(matcher.Matched()); in TEST_F()
792 BranchMatcher matcher(zero); in TEST_F() local
793 EXPECT_FALSE(matcher.Matched()); in TEST_F()
818 BranchMatcher matcher(branch); in TEST_F() local
819 EXPECT_FALSE(matcher.Matched()); in TEST_F()
834 DiamondMatcher matcher(merge); in TEST_F() local
835 EXPECT_TRUE(matcher.Matched()); in TEST_F()
836 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
837 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
838 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
839 EXPECT_EQ(merge, matcher.Merge()); in TEST_F()
847 DiamondMatcher matcher(merge); in TEST_F() local
848 EXPECT_TRUE(matcher.Matched()); in TEST_F()
849 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
850 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
851 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
852 EXPECT_EQ(merge, matcher.Merge()); in TEST_F()
860 DiamondMatcher matcher(merge); in TEST_F() local
861 EXPECT_TRUE(matcher.Matched()); in TEST_F()
862 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
863 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
864 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
865 EXPECT_EQ(merge, matcher.Merge()); in TEST_F()
878 DiamondMatcher matcher(merge); in TEST_F() local
879 EXPECT_FALSE(matcher.Matched()); in TEST_F()
887 DiamondMatcher matcher(merge); in TEST_F() local
888 EXPECT_FALSE(matcher.Matched()); in TEST_F()
896 DiamondMatcher matcher(merge); in TEST_F() local
897 EXPECT_TRUE(matcher.Matched()); in TEST_F()
898 EXPECT_EQ(branch, matcher.Branch()); in TEST_F()
899 EXPECT_EQ(if_true, matcher.IfTrue()); in TEST_F()
900 EXPECT_EQ(if_false, matcher.IfFalse()); in TEST_F()
901 EXPECT_EQ(merge, matcher.Merge()); in TEST_F()
914 DiamondMatcher matcher(merge); in TEST_F() local
915 EXPECT_FALSE(matcher.Matched()); // Too many inputs to merge. in TEST_F()
923 DiamondMatcher matcher(merge); in TEST_F() local
924 EXPECT_FALSE(matcher.Matched()); in TEST_F()
932 DiamondMatcher matcher(merge); in TEST_F() local
933 EXPECT_FALSE(matcher.Matched()); in TEST_F()
944 DiamondMatcher matcher(merge); in TEST_F() local
945 EXPECT_FALSE(matcher.Matched()); in TEST_F()