Lines Matching full:vreg
37 auto VReg = MF->getRegInfo().createVirtualRegister(RC);
38 VRegDefMap[Key] = VReg;
39 VRegUpwardsUse[Key] = VReg;
40 return VReg;
46 const Value *Val, Register VReg) {
47 VRegDefMap[std::make_pair(MBB, Val)] = VReg;
59 Register VReg = MF->getRegInfo().createVirtualRegister(RC);
60 VRegDefUses[Key] = VReg;
61 setCurrentVReg(MBB, Val, VReg);
62 return VReg;
72 Register VReg = getOrCreateVReg(MBB, Val);
73 VRegDefUses[Key] = VReg;
74 return VReg;
133 Register VReg = MF->getRegInfo().createVirtualRegister(RC);
134 // Assign Undef to Vreg. We construct MI directly to make sure it works
137 TII->get(TargetOpcode::IMPLICIT_DEF), VReg);
139 setCurrentVReg(MBB, SwiftErrorVal, VReg);
176 // Otherwise we either have an upwards exposed use vreg that we need to
179 // Check whether we have a single vreg def from all predecessors.
211 // forward the swifterror vreg from the predecessor(s).
215 // Just forward the swifterror vreg from the predecessor(s).
225 // If we don't need a phi create a copy to the upward exposed vreg.
250 // We did not have a definition in this block before: store the phi's vreg
261 Register VReg = Use.second;
262 if (!MRI.def_begin(VReg).atEnd())
267 "Reachable block has VReg upward use without definition.");
273 TII->get(TargetOpcode::IMPLICIT_DEF), VReg);