Lines Matching refs:MatchR
72 Value *MatchL, *MatchR; in TEST_F() local
75 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
78 EXPECT_EQ(R, MatchR); in TEST_F()
81 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
84 EXPECT_EQ(R, MatchR); in TEST_F()
87 EXPECT_FALSE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
91 EXPECT_FALSE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
95 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
98 EXPECT_EQ(R, MatchR); in TEST_F()
101 EXPECT_TRUE(m_OrdFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
104 EXPECT_EQ(R, MatchR); in TEST_F()
111 Value *MatchL, *MatchR; in TEST_F() local
114 EXPECT_TRUE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
117 EXPECT_EQ(R, MatchR); in TEST_F()
120 EXPECT_TRUE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
123 EXPECT_EQ(R, MatchR); in TEST_F()
126 EXPECT_FALSE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
130 EXPECT_FALSE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
134 EXPECT_TRUE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
137 EXPECT_EQ(R, MatchR); in TEST_F()
140 EXPECT_TRUE(m_OrdFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
143 EXPECT_EQ(R, MatchR); in TEST_F()
150 Value *MatchL, *MatchR; in TEST_F() local
153 EXPECT_TRUE(m_UnordFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
156 EXPECT_EQ(R, MatchR); in TEST_F()
159 EXPECT_TRUE(m_UnordFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
162 EXPECT_EQ(R, MatchR); in TEST_F()
165 EXPECT_FALSE(m_UnordFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
169 EXPECT_FALSE(m_UnordFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
173 EXPECT_TRUE(m_UnordFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
176 EXPECT_EQ(R, MatchR); in TEST_F()
179 EXPECT_TRUE(m_UnordFMin(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
182 EXPECT_EQ(R, MatchR); in TEST_F()
189 Value *MatchL, *MatchR; in TEST_F() local
192 EXPECT_TRUE(m_UnordFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
195 EXPECT_EQ(R, MatchR); in TEST_F()
198 EXPECT_TRUE(m_UnordFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
201 EXPECT_EQ(R, MatchR); in TEST_F()
204 EXPECT_FALSE(m_UnordFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
208 EXPECT_FALSE(m_UnordFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
212 EXPECT_TRUE(m_UnordFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
215 EXPECT_EQ(R, MatchR); in TEST_F()
218 EXPECT_TRUE(m_UnordFMax(m_Value(MatchL), m_Value(MatchR)) in TEST_F()
221 EXPECT_EQ(R, MatchR); in TEST_F()
227 Value *MatchL, *MatchR; in TEST_F() local
230 m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
232 EXPECT_EQ(R, MatchR); in TEST_F()
233 MatchL = MatchR = nullptr; in TEST_F()
235 m_NSWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWSub(L, R))); in TEST_F()
237 EXPECT_EQ(R, MatchR); in TEST_F()
238 MatchL = MatchR = nullptr; in TEST_F()
240 m_NSWMul(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWMul(L, R))); in TEST_F()
242 EXPECT_EQ(R, MatchR); in TEST_F()
243 MatchL = MatchR = nullptr; in TEST_F()
244 EXPECT_TRUE(m_NSWShl(m_Value(MatchL), m_Value(MatchR)).match( in TEST_F()
247 EXPECT_EQ(R, MatchR); in TEST_F()
250 m_NUWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWAdd(L, R))); in TEST_F()
252 EXPECT_EQ(R, MatchR); in TEST_F()
253 MatchL = MatchR = nullptr; in TEST_F()
255 m_NUWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWSub(L, R))); in TEST_F()
257 EXPECT_EQ(R, MatchR); in TEST_F()
258 MatchL = MatchR = nullptr; in TEST_F()
260 m_NUWMul(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNUWMul(L, R))); in TEST_F()
262 EXPECT_EQ(R, MatchR); in TEST_F()
263 MatchL = MatchR = nullptr; in TEST_F()
264 EXPECT_TRUE(m_NUWShl(m_Value(MatchL), m_Value(MatchR)).match( in TEST_F()
267 EXPECT_EQ(R, MatchR); in TEST_F()