• Home
  • Raw
  • Download

Lines Matching refs:m_Reg

53       mi_match(MIBAdd.getReg(0), *MRI, m_GAdd(m_Reg(), m_Reg()));  in TEST_F()
57 m_GAdd(m_Reg(Src0), m_Reg(Src1))); in TEST_F()
67 m_GMul(m_Reg(Src0), m_Reg(Src1))); in TEST_F()
74 m_GMul(m_GAdd(m_Reg(Src0), m_Reg(Src1)), m_Reg(Src2))); in TEST_F()
86 m_GMul(m_ICst(Cst), m_Reg(Src0))); in TEST_F()
94 m_GSub(m_ICst(Cst), m_Reg(Src0))); in TEST_F()
101 m_GFMul(m_ICst(Cst), m_Reg(Src0))); in TEST_F()
110 m_GFSub(m_Reg(Src0), m_Reg())); in TEST_F()
118 m_GAnd(m_Reg(Src0), m_Reg(Src1))); in TEST_F()
127 m_GOr(m_Reg(Src0), m_Reg(Src1))); in TEST_F()
136 m_GLShr(m_Reg(Src0), m_Reg(Src1))); in TEST_F()
144 m_GShl(m_Reg(Src0), m_Reg(Src1))); in TEST_F()
160 mi_match(CmpEq.getReg(0), *MRI, m_GICmp(m_Pred(), m_Reg(), m_Reg())); in TEST_F()
168 m_GICmp(m_Pred(Pred), m_Reg(Reg0), m_Reg(Reg1))); in TEST_F()
185 mi_match(CmpEq.getReg(0), *MRI, m_GFCmp(m_Pred(), m_Reg(), m_Reg())); in TEST_F()
193 m_GFCmp(m_Pred(Pred), m_Reg(Reg0), m_Reg(Reg1))); 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()
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()
294 m_GAnyExt(m_GTrunc(m_Reg(Src0)))); in TEST_F()
299 m_GSExt(m_GTrunc(m_Reg(Src0)))); in TEST_F()
304 m_GZExt(m_GTrunc(m_Reg(Src0)))); in TEST_F()
319 m_GAdd(m_SpecificType(s32), m_Reg()))); in TEST_F()
321 m_GAdd(m_SpecificType(s64), m_Reg()))); in TEST_F()
327 mi_match(MIBCast.getReg(0), *MRI, m_GBitcast(m_Reg()))); in TEST_F()
341 m_GPtrToInt(m_GIntToPtr(m_Reg(Src0)))); in TEST_F()
357 m_all_of(m_SpecificType(s64), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); in TEST_F()
364 m_all_of(m_SpecificType(s32), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); in TEST_F()
368 m_any_of(m_SpecificType(s32), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); in TEST_F()
376 m_any_of(m_SpecificType(LLT::scalar(16)), m_GSub(m_Reg(), m_Reg()))); 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()
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()