reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
58 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { 69 m_all_of(m_MInstr(ExtMI), m_any_of(m_GAnyExt(m_Reg(ExtSrc)), 70 m_GSExt(m_Reg(ExtSrc)), 71 m_GZExt(m_Reg(ExtSrc)))))) { 103 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { 144 if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) { 558 while (mi_match(Reg, MRI, m_Copy(m_Reg(TmpReg)))) {lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
1180 if (mi_match(Reg, MRI, m_GAdd(m_Reg(Base), m_ICst(Const))))
unittests/CodeGen/GlobalISel/PatternMatchTest.cpp56 m_GAdd(m_Reg(Src0), m_Reg(Src1))); 56 m_GAdd(m_Reg(Src0), m_Reg(Src1))); 66 m_GMul(m_Reg(Src0), m_Reg(Src1))); 66 m_GMul(m_Reg(Src0), m_Reg(Src1))); 73 m_GMul(m_GAdd(m_Reg(Src0), m_Reg(Src1)), m_Reg(Src2))); 73 m_GMul(m_GAdd(m_Reg(Src0), m_Reg(Src1)), m_Reg(Src2))); 73 m_GMul(m_GAdd(m_Reg(Src0), m_Reg(Src1)), m_Reg(Src2))); 85 m_GMul(m_ICst(Cst), m_Reg(Src0))); 93 m_GSub(m_ICst(Cst), m_Reg(Src0))); 100 m_GFMul(m_ICst(Cst), m_Reg(Src0))); 109 m_GFSub(m_Reg(Src0), m_Reg())); 117 m_GAnd(m_Reg(Src0), m_Reg(Src1))); 117 m_GAnd(m_Reg(Src0), m_Reg(Src1))); 126 m_GOr(m_Reg(Src0), m_Reg(Src1))); 126 m_GOr(m_Reg(Src0), m_Reg(Src1))); 149 match = mi_match(MIBFNeg->getOperand(0).getReg(), *MRI, m_GFNeg(m_Reg(Src))); 153 match = mi_match(MIBFabs->getOperand(0).getReg(), *MRI, m_GFabs(m_Reg(Src))); 208 mi_match(MIBTrunc->getOperand(0).getReg(), *MRI, m_GTrunc(m_Reg(Src0))); 212 mi_match(MIBAExt->getOperand(0).getReg(), *MRI, m_GAnyExt(m_Reg(Src0))); 216 match = mi_match(MIBSExt->getOperand(0).getReg(), *MRI, m_GSExt(m_Reg(Src0))); 220 match = mi_match(MIBZExt->getOperand(0).getReg(), *MRI, m_GZExt(m_Reg(Src0))); 226 m_GAnyExt(m_GTrunc(m_Reg(Src0)))); 231 m_GSExt(m_GTrunc(m_Reg(Src0)))); 236 m_GZExt(m_GTrunc(m_Reg(Src0)))); 273 m_GPtrToInt(m_GIntToPtr(m_Reg(Src0)))); 289 m_all_of(m_SpecificType(s64), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); 289 m_all_of(m_SpecificType(s64), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); 296 m_all_of(m_SpecificType(s32), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); 296 m_all_of(m_SpecificType(s32), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); 300 m_any_of(m_SpecificType(s32), m_GAdd(m_Reg(Src0), m_Reg(Src1)))); 300 m_any_of(m_SpecificType(s32), m_GAdd(m_Reg(Src0), m_Reg(Src1))));