Lines Matching refs:Reg

43     bool operator== (const Register &Reg) const {  in operator ==()
44 return R == Reg.R && S == Reg.S; in operator ==()
46 bool operator< (const Register &Reg) const { in operator <()
47 return R < Reg.R || (R == Reg.R && S < Reg.S); in operator <()
51 PrintRegister(Register R, const TargetRegisterInfo &I) : Reg(R), TRI(I) {} in PrintRegister()
54 Register Reg; member
60 return OS << PrintReg(PR.Reg.R, &PR.TRI, PR.Reg.S); in operator <<()
93 void processPredicateGPR(const Register &Reg);
98 Register getPredRegFor(const Register &Reg);
206 void HexagonGenPredicate::processPredicateGPR(const Register &Reg) { in processPredicateGPR() argument
208 << PrintReg(Reg.R, TRI, Reg.S) << "\n"); in processPredicateGPR()
210 use_iterator I = MRI->use_begin(Reg.R), E = MRI->use_end(); in processPredicateGPR()
212 DEBUG(dbgs() << "Dead reg: " << PrintReg(Reg.R, TRI, Reg.S) << '\n'); in processPredicateGPR()
213 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in processPredicateGPR()
226 Register HexagonGenPredicate::getPredRegFor(const Register &Reg) { in getPredRegFor() argument
230 assert(TargetRegisterInfo::isVirtualRegister(Reg.R)); in getPredRegFor()
231 RegToRegMap::iterator F = G2P.find(Reg); in getPredRegFor()
235 DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": " << PrintRegister(Reg, *TRI)); in getPredRegFor()
236 MachineInstr *DefI = MRI->getVRegDef(Reg.R); in getPredRegFor()
242 G2P.insert(std::make_pair(Reg, PR)); in getPredRegFor()
257 .addReg(Reg.R, 0, Reg.S); in getPredRegFor()
258 G2P.insert(std::make_pair(Reg, Register(NewPR))); in getPredRegFor()
360 Register Reg(MO); in convertToPredForm() local
361 if (Reg.S && Reg.S != Hexagon::subreg_loreg) in convertToPredForm()
363 if (!PredGPRs.count(Reg)) in convertToPredForm()