Lines Matching refs:TLSBaseAddrReg
43 bool VisitNode(MachineDomTreeNode *Node, unsigned TLSBaseAddrReg);
44 MachineInstr *ReplaceTLSCall(MachineInstr *I, unsigned TLSBaseAddrReg);
45 MachineInstr *SetRegister(MachineInstr *I, unsigned *TLSBaseAddrReg);
88 unsigned TLSBaseAddrReg) { in VisitNode() argument
96 if (TLSBaseAddrReg) in VisitNode()
97 I = ReplaceTLSCall(&*I, TLSBaseAddrReg); in VisitNode()
99 I = SetRegister(&*I, &TLSBaseAddrReg); in VisitNode()
109 Changed |= VisitNode(*I, TLSBaseAddrReg); in VisitNode()
117 unsigned TLSBaseAddrReg) { in ReplaceTLSCall() argument
121 .addReg(TLSBaseAddrReg); in ReplaceTLSCall()
132 unsigned *TLSBaseAddrReg) { in SetRegister() argument
135 *TLSBaseAddrReg = RegInfo.createVirtualRegister(&SystemZ::GR64BitRegClass); in SetRegister()
140 TII->get(TargetOpcode::COPY), *TLSBaseAddrReg) in SetRegister()