Lines Matching refs:PhysReg
112 void assignValueToReg(Register ValVReg, Register PhysReg,
115 assert(VA.getLocReg() == PhysReg && "Assigning to the wrong reg?");
121 MIRBuilder.buildCopy(PhysReg, ExtReg);
122 MIB.addUse(PhysReg, RegState::Implicit);
335 void assignValueToReg(Register ValVReg, Register PhysReg,
338 assert(VA.getLocReg() == PhysReg && "Assigning to the wrong reg?");
346 markPhysRegUsed(PhysReg);
348 MIRBuilder.buildCopy(ValVReg, PhysReg);
355 auto PhysRegToVReg = MIRBuilder.buildCopy(LLT::scalar(LocSize), PhysReg);
399 virtual void markPhysRegUsed(unsigned PhysReg) = 0;
407 void markPhysRegUsed(unsigned PhysReg) override {
408 MIRBuilder.getMRI()->addLiveIn(PhysReg);
409 MIRBuilder.getMBB().addLiveIn(PhysReg);
477 void markPhysRegUsed(unsigned PhysReg) override {
478 MIB.addDef(PhysReg, RegState::Implicit);