Lines Matching refs:VRBase
89 unsigned VRBase = 0; in EmitCopyFromReg() local
119 VRBase = DestReg; in EmitCopyFromReg()
153 if (VRBase) in EmitCopyFromReg()
161 if (VRBase) { in EmitCopyFromReg()
162 DstRC = MRI->getRegClass(VRBase); in EmitCopyFromReg()
173 VRBase = SrcReg; in EmitCopyFromReg()
176 VRBase = MRI->createVirtualRegister(DstRC); in EmitCopyFromReg()
178 VRBase).addReg(SrcReg); in EmitCopyFromReg()
184 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second; in EmitCopyFromReg()
220 unsigned VRBase = 0; in CreateVirtualRegisters() local
239 VRBase = cast<RegisterSDNode>(Node->getOperand(i-NumResults))->getReg(); in CreateVirtualRegisters()
240 assert(TargetRegisterInfo::isPhysicalRegister(VRBase)); in CreateVirtualRegisters()
241 MIB.addReg(VRBase, RegState::Define); in CreateVirtualRegisters()
244 if (!VRBase && !IsClone && !IsCloned) in CreateVirtualRegisters()
253 VRBase = Reg; in CreateVirtualRegisters()
254 MIB.addReg(VRBase, RegState::Define); in CreateVirtualRegisters()
263 if (VRBase == 0) { in CreateVirtualRegisters()
265 VRBase = MRI->createVirtualRegister(RC); in CreateVirtualRegisters()
266 MIB.addReg(VRBase, RegState::Define); in CreateVirtualRegisters()
275 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second; in CreateVirtualRegisters()
473 unsigned VRBase = 0; in EmitSubregNode() local
483 VRBase = DestReg; in EmitSubregNode()
509 VRBase = MRI->createVirtualRegister(TRC); in EmitSubregNode()
511 TII->get(TargetOpcode::COPY), VRBase).addReg(SrcReg); in EmitSubregNode()
522 if (VRBase == 0) in EmitSubregNode()
523 VRBase = MRI->createVirtualRegister(TRC); in EmitSubregNode()
527 TII->get(TargetOpcode::COPY), VRBase).addReg(VReg, 0, SubIdx); in EmitSubregNode()
554 if (VRBase == 0 || !SRC->hasSubClassEq(MRI->getRegClass(VRBase))) in EmitSubregNode()
555 VRBase = MRI->createVirtualRegister(SRC); in EmitSubregNode()
559 BuildMI(*MF, Node->getDebugLoc(), TII->get(Opc), VRBase); in EmitSubregNode()
578 bool isNew = VRBaseMap.insert(std::make_pair(Op, VRBase)).second; in EmitSubregNode()