• Home
  • Raw
  • Download

Lines Matching refs:mi_match

39   bool match = mi_match(MIBCst.getReg(0), *MRI, m_ICst(Cst));  in TEST_F()
53 mi_match(MIBAdd.getReg(0), *MRI, m_GAdd(m_Reg(), m_Reg())); in TEST_F()
56 match = mi_match(MIBAdd.getReg(0), *MRI, in TEST_F()
66 match = mi_match(MIBMul.getReg(0), *MRI, in TEST_F()
73 match = mi_match(MIBMul.getReg(0), *MRI, in TEST_F()
85 match = mi_match(MIBMul2.getReg(0), *MRI, in TEST_F()
93 match = mi_match(MIBSub.getReg(0), *MRI, in TEST_F()
100 match = mi_match(MIBFMul.getReg(0), *MRI, in TEST_F()
109 match = mi_match(MIBFSub.getReg(0), *MRI, in TEST_F()
117 match = mi_match(MIBAnd.getReg(0), *MRI, in TEST_F()
126 match = mi_match(MIBOr.getReg(0), *MRI, in TEST_F()
135 match = mi_match(LShr.getReg(0), *MRI, in TEST_F()
143 match = mi_match(Shl.getReg(0), *MRI, in TEST_F()
160 mi_match(CmpEq.getReg(0), *MRI, m_GICmp(m_Pred(), m_Reg(), m_Reg())); in TEST_F()
167 match = mi_match(CmpEq.getReg(0), *MRI, in TEST_F()
185 mi_match(CmpEq.getReg(0), *MRI, m_GFCmp(m_Pred(), m_Reg(), m_Reg())); in TEST_F()
192 match = mi_match(CmpEq.getReg(0), *MRI, in TEST_F()
212 mi_match(MIBFabs.getReg(0), *MRI, m_GFabs(m_Reg())); in TEST_F()
217 match = mi_match(MIBFNeg.getReg(0), *MRI, m_GFNeg(m_Reg(Src))); in TEST_F()
221 match = mi_match(MIBFabs.getReg(0), *MRI, m_GFabs(m_Reg(Src))); in TEST_F()
228 match = mi_match(MIBFCst.getReg(0), *MRI, m_GFCst(TmpFP)); in TEST_F()
239 match = mi_match(MIBFCst64.getReg(0), *MRI, m_GFCst(TmpFP64)); in TEST_F()
251 match = mi_match(MIBFCst16.getReg(0), *MRI, m_GFCst(TmpFP16)); in TEST_F()
276 mi_match(MIBTrunc.getReg(0), *MRI, m_GTrunc(m_Reg(Src0))); in TEST_F()
280 mi_match(MIBAExt.getReg(0), *MRI, m_GAnyExt(m_Reg(Src0))); in TEST_F()
284 match = mi_match(MIBSExt.getReg(0), *MRI, m_GSExt(m_Reg(Src0))); in TEST_F()
288 match = mi_match(MIBZExt.getReg(0), *MRI, m_GZExt(m_Reg(Src0))); in TEST_F()
293 match = mi_match(MIBAExt.getReg(0), *MRI, in TEST_F()
298 match = mi_match(MIBSExt.getReg(0), *MRI, in TEST_F()
303 match = mi_match(MIBZExt.getReg(0), *MRI, in TEST_F()
318 EXPECT_FALSE(mi_match(MIBAdd.getReg(0), *MRI, in TEST_F()
320 EXPECT_TRUE(mi_match(MIBAdd.getReg(0), *MRI, in TEST_F()
327 mi_match(MIBCast.getReg(0), *MRI, m_GBitcast(m_Reg()))); in TEST_F()
329 mi_match(MIBCast.getReg(0), *MRI, m_SpecificType(v2s32))); in TEST_F()
331 mi_match(MIBCast.getReg(1), *MRI, m_SpecificType(s64))); in TEST_F()
340 bool match = mi_match(MIBPtrToInt.getReg(0), *MRI, in TEST_F()
356 mi_match(MIBAdd.getReg(0), *MRI, in TEST_F()
363 mi_match(MIBAdd.getReg(0), *MRI, in TEST_F()
367 mi_match(MIBAdd.getReg(0), *MRI, in TEST_F()
374 match = mi_match( in TEST_F()
390 bool match = mi_match(MIBAdd.getReg(0), *MRI, m_GAdd(m_Reg(), m_Reg())); in TEST_F()
392 match = mi_match(MIBAdd.getReg(0), *MRI, m_OneUse(m_GAdd(m_Reg(), m_Reg()))); in TEST_F()
403 EXPECT_TRUE(mi_match(FortyTwo.getReg(0), *MRI, m_SpecificICst(42))); in TEST_F()
404 EXPECT_FALSE(mi_match(FortyTwo.getReg(0), *MRI, m_SpecificICst(123))); in TEST_F()
409 EXPECT_TRUE(mi_match(MIBAdd.getReg(2), *MRI, m_SpecificICst(42))); in TEST_F()
412 EXPECT_FALSE(mi_match(MIBAdd.getReg(2), *MRI, m_SpecificICst(123))); in TEST_F()
415 EXPECT_FALSE(mi_match(MIBAdd.getReg(1), *MRI, m_SpecificICst(42))); in TEST_F()
423 EXPECT_TRUE(mi_match(Zero.getReg(0), *MRI, m_ZeroInt())); in TEST_F()
426 EXPECT_FALSE(mi_match(FortyTwo.getReg(0), *MRI, m_ZeroInt())); in TEST_F()
434 EXPECT_TRUE(mi_match(AllOnes.getReg(0), *MRI, m_AllOnesInt())); in TEST_F()
437 EXPECT_FALSE(mi_match(FortyTwo.getReg(0), *MRI, m_AllOnesInt())); in TEST_F()
451 EXPECT_TRUE(mi_match(NegInst.getReg(0), *MRI, m_Neg(m_Reg(NegatedReg)))); in TEST_F()
456 EXPECT_FALSE(mi_match(NotNegInst1.getReg(0), *MRI, m_Neg(m_Reg(NegatedReg)))); in TEST_F()
461 EXPECT_FALSE(mi_match(NotNegInst2.getReg(0), *MRI, m_Neg(m_Reg(NegatedReg)))); in TEST_F()
468 EXPECT_TRUE(mi_match(AddInst.getReg(2), *MRI, m_Neg(m_Reg(NegatedReg)))); in TEST_F()
483 EXPECT_TRUE(mi_match(NotInst1.getReg(0), *MRI, m_Not(m_Reg(NotReg)))); in TEST_F()
488 EXPECT_TRUE(mi_match(NotInst2.getReg(0), *MRI, m_Not(m_Reg(NotReg)))); in TEST_F()
494 EXPECT_FALSE(mi_match(WrongCst.getReg(0), *MRI, m_Not(m_Reg(NotReg)))); in TEST_F()
501 EXPECT_TRUE(mi_match(AddInst.getReg(2), *MRI, m_Not(m_Reg(NotReg)))); in TEST_F()