Home
last modified time | relevance | path

Searched refs:GlobalBaseReg (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/Target/Sparc/
DSparcMachineFunctionInfo.h23 unsigned GlobalBaseReg;
33 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0) {} in SparcMachineFunctionInfo()
35 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0) {} in SparcMachineFunctionInfo()
37 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
38 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DSparcInstrInfo.cpp340 unsigned GlobalBaseReg = SparcFI->getGlobalBaseReg(); in getGlobalBaseReg() local
341 if (GlobalBaseReg != 0) in getGlobalBaseReg()
342 return GlobalBaseReg; in getGlobalBaseReg()
349 GlobalBaseReg = RegInfo.createVirtualRegister(&SP::IntRegsRegClass); in getGlobalBaseReg()
354 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg); in getGlobalBaseReg()
355 SparcFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
356 return GlobalBaseReg; in getGlobalBaseReg()
DSparcISelDAGToDAG.cpp69 unsigned GlobalBaseReg = TM.getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
70 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
/external/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp30 return GlobalBaseReg; in globalBaseRegSet()
35 if (GlobalBaseReg) in getGlobalBaseReg()
36 return GlobalBaseReg; in getGlobalBaseReg()
41 return GlobalBaseReg = ST.isABI_N64() ? Mips::GP_64 : Mips::GP; in getGlobalBaseReg()
47 return GlobalBaseReg = MF.getRegInfo().createVirtualRegister(RC); in getGlobalBaseReg()
DMipsISelDAGToDAG.cpp128 unsigned V0, V1, GlobalBaseReg = MipsFI->getGlobalBaseReg(); in InitGlobalBaseReg() local
133 V0 = V1 = GlobalBaseReg; in InitGlobalBaseReg()
154 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1) in InitGlobalBaseReg()
163 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V0) in InitGlobalBaseReg()
177 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V1) in InitGlobalBaseReg()
182 BuildMI(MBB, I, DL, TII.get(Mips::SETGP2), GlobalBaseReg) in InitGlobalBaseReg()
246 unsigned GlobalBaseReg = MF->getInfo<MipsFunctionInfo>()->getGlobalBaseReg(); in getGlobalBaseReg() local
247 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
DMipsMachineFunction.h37 unsigned GlobalBaseReg; variable
56 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), in MipsFunctionInfo()
/external/llvm/lib/Target/X86/
DX86MachineFunctionInfo.h56 unsigned GlobalBaseReg; variable
77 GlobalBaseReg(0), in X86MachineFunctionInfo()
91 GlobalBaseReg(0), in X86MachineFunctionInfo()
116 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
117 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DX86InstrBuilder.h175 unsigned GlobalBaseReg, unsigned char OpFlags) { in addConstantPoolReference() argument
177 return MIB.addReg(GlobalBaseReg).addImm(1).addReg(0) in addConstantPoolReference()
DX86InstrInfo.cpp3621 unsigned GlobalBaseReg = X86FI->getGlobalBaseReg(); in getGlobalBaseReg() local
3622 if (GlobalBaseReg != 0) in getGlobalBaseReg()
3623 return GlobalBaseReg; in getGlobalBaseReg()
3628 GlobalBaseReg = RegInfo.createVirtualRegister(X86::GR32RegisterClass); in getGlobalBaseReg()
3629 X86FI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
3630 return GlobalBaseReg; in getGlobalBaseReg()
3823 unsigned GlobalBaseReg = X86FI->getGlobalBaseReg(); in runOnMachineFunction() local
3826 if (GlobalBaseReg == 0) in runOnMachineFunction()
3840 PC = GlobalBaseReg; in runOnMachineFunction()
3850 BuildMI(FirstMBB, MBBI, DL, TII->get(X86::ADD32ri), GlobalBaseReg) in runOnMachineFunction()
DX86ISelLowering.h130 GlobalBaseReg, enumerator
DX86ISelDAGToDAG.cpp1461 unsigned GlobalBaseReg = getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
1462 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
1956 case X86ISD::GlobalBaseReg: in Select()
DX86ISelLowering.cpp1388 return DAG.getNode(X86ISD::GlobalBaseReg, DebugLoc(), getPointerTy()); in getPICJumpTableRelocBase()
2303 DAG.getNode(X86ISD::GlobalBaseReg, in LowerCall()
7052 DAG.getNode(X86ISD::GlobalBaseReg, in LowerConstantPool()
7085 DAG.getNode(X86ISD::GlobalBaseReg, in LowerJumpTable()
7125 DAG.getNode(X86ISD::GlobalBaseReg, in LowerExternalSymbol()
7159 DAG.getNode(X86ISD::GlobalBaseReg, dl, getPointerTy()), in LowerBlockAddress()
7194 DAG.getNode(X86ISD::GlobalBaseReg, dl, getPointerTy()), in LowerGlobalAddress()
7253 DAG.getNode(X86ISD::GlobalBaseReg, in LowerToTLSGeneralDynamicModel32()
7367 DAG.getNode(X86ISD::GlobalBaseReg, in LowerGlobalTLSAddress()
11098 case X86ISD::GlobalBaseReg: return "X86ISD::GlobalBaseReg"; in getTargetNodeName()
/external/llvm/lib/Target/MBlaze/
DMBlazeMachineFunction.h79 unsigned GlobalBaseReg; variable
91 HasStoreVarArgs(false), SRetReturnReg(0), GlobalBaseReg(0), in MBlazeFunctionInfo()
160 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
161 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DMBlazeInstrInfo.cpp280 unsigned GlobalBaseReg = MBlazeFI->getGlobalBaseReg(); in getGlobalBaseReg() local
281 if (GlobalBaseReg != 0) in getGlobalBaseReg()
282 return GlobalBaseReg; in getGlobalBaseReg()
290 GlobalBaseReg = RegInfo.createVirtualRegister(MBlaze::GPRRegisterClass); in getGlobalBaseReg()
292 GlobalBaseReg).addReg(MBlaze::R20); in getGlobalBaseReg()
295 MBlazeFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
296 return GlobalBaseReg; in getGlobalBaseReg()
DMBlazeISelDAGToDAG.cpp183 unsigned GlobalBaseReg = getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
184 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp44 unsigned GlobalBaseReg; member in __anon5c4d4d660111::PPCDAGToDAGISel
53 GlobalBaseReg = 0; in runOnMachineFunction()
233 if (!GlobalBaseReg) { in getGlobalBaseReg()
241 GlobalBaseReg = RegInfo->createVirtualRegister(PPC::GPRCRegisterClass); in getGlobalBaseReg()
243 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); in getGlobalBaseReg()
245 GlobalBaseReg = RegInfo->createVirtualRegister(PPC::G8RCRegisterClass); in getGlobalBaseReg()
247 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR8), GlobalBaseReg); in getGlobalBaseReg()
250 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
819 case PPCISD::GlobalBaseReg: in Select()
DPPCISelLowering.h86 GlobalBaseReg, enumerator
DPPCISelLowering.cpp480 case PPCISD::GlobalBaseReg: return "PPCISD::GlobalBaseReg"; in getTargetNodeName()
1179 DAG.getNode(PPCISD::GlobalBaseReg, DL, PtrVT), Hi); in LowerLabelRef()
/external/llvm/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp149 unsigned GlobalBaseReg; member in __anona56f49730111::SPUDAGToDAGISel
160 GlobalBaseReg = 0; in runOnMachineFunction()