Lines Matching refs:PtrReg
921 Register PtrReg = LoadMI->getPointerReg(); in matchCombineLoadWithAndMask() local
954 {TargetOpcode::G_ZEXTLOAD, {RegTy, MRI.getType(PtrReg)}, {MemDesc}})) in matchCombineLoadWithAndMask()
962 B.buildLoadInstr(TargetOpcode::G_ZEXTLOAD, Dst, PtrReg, *NewMMO); in matchCombineLoadWithAndMask()
2433 MachineInstr &MI, std::pair<Register, bool> &PtrReg) { in matchCombineAddP2IToPtrAdd() argument
2441 PtrReg.second = false; in matchCombineAddP2IToPtrAdd()
2443 if (mi_match(SrcReg, MRI, m_GPtrToInt(m_Reg(PtrReg.first)))) { in matchCombineAddP2IToPtrAdd()
2446 LLT PtrTy = MRI.getType(PtrReg.first); in matchCombineAddP2IToPtrAdd()
2451 PtrReg.second = true; in matchCombineAddP2IToPtrAdd()
2458 MachineInstr &MI, std::pair<Register, bool> &PtrReg) { in applyCombineAddP2IToPtrAdd() argument
2463 const bool DoCommute = PtrReg.second; in applyCombineAddP2IToPtrAdd()
2466 LHS = PtrReg.first; in applyCombineAddP2IToPtrAdd()