Lines Matching refs:PtrReg
765 Register PtrReg = LoadMI->getPointerReg(); in matchCombineLoadWithAndMask() local
797 {TargetOpcode::G_ZEXTLOAD, {RegTy, MRI.getType(PtrReg)}, {MemDesc}})) in matchCombineLoadWithAndMask()
805 B.buildLoadInstr(TargetOpcode::G_ZEXTLOAD, Dst, PtrReg, *NewMMO); in matchCombineLoadWithAndMask()
2299 MachineInstr &MI, std::pair<Register, bool> &PtrReg) { in matchCombineAddP2IToPtrAdd() argument
2307 PtrReg.second = false; in matchCombineAddP2IToPtrAdd()
2309 if (mi_match(SrcReg, MRI, m_GPtrToInt(m_Reg(PtrReg.first)))) { in matchCombineAddP2IToPtrAdd()
2312 LLT PtrTy = MRI.getType(PtrReg.first); in matchCombineAddP2IToPtrAdd()
2317 PtrReg.second = true; in matchCombineAddP2IToPtrAdd()
2324 MachineInstr &MI, std::pair<Register, bool> &PtrReg) { in applyCombineAddP2IToPtrAdd() argument
2329 const bool DoCommute = PtrReg.second; in applyCombineAddP2IToPtrAdd()
2332 LHS = PtrReg.first; in applyCombineAddP2IToPtrAdd()