Home
last modified time | relevance | path

Searched refs:GlobalBaseReg (Results 1 – 23 of 23) 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/X86/
DX86MachineFunctionInfo.h56 unsigned GlobalBaseReg; variable
79 GlobalBaseReg(0), in X86MachineFunctionInfo()
94 GlobalBaseReg(0), in X86MachineFunctionInfo()
120 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
121 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()
DX86ISelLowering.h130 GlobalBaseReg, enumerator
DX86InstrInfo.cpp4533 unsigned GlobalBaseReg = X86FI->getGlobalBaseReg(); in getGlobalBaseReg() local
4534 if (GlobalBaseReg != 0) in getGlobalBaseReg()
4535 return GlobalBaseReg; in getGlobalBaseReg()
4540 GlobalBaseReg = RegInfo.createVirtualRegister(&X86::GR32_NOSPRegClass); in getGlobalBaseReg()
4541 X86FI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
4542 return GlobalBaseReg; in getGlobalBaseReg()
4727 unsigned GlobalBaseReg = X86FI->getGlobalBaseReg(); in runOnMachineFunction() local
4730 if (GlobalBaseReg == 0) in runOnMachineFunction()
4744 PC = GlobalBaseReg; in runOnMachineFunction()
4754 BuildMI(FirstMBB, MBBI, DL, TII->get(X86::ADD32ri), GlobalBaseReg) in runOnMachineFunction()
DX86ISelDAGToDAG.cpp1487 unsigned GlobalBaseReg = getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
1488 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
2047 case X86ISD::GlobalBaseReg: in Select()
DX86ISelLowering.cpp1512 return DAG.getNode(X86ISD::GlobalBaseReg, DebugLoc(), getPointerTy()); in getPICJumpTableRelocBase()
2444 DAG.getNode(X86ISD::GlobalBaseReg, DebugLoc(), getPointerTy()))); in LowerCall()
7451 DAG.getNode(X86ISD::GlobalBaseReg, in LowerConstantPool()
7484 DAG.getNode(X86ISD::GlobalBaseReg, in LowerJumpTable()
7523 DAG.getNode(X86ISD::GlobalBaseReg, in LowerExternalSymbol()
7558 DAG.getNode(X86ISD::GlobalBaseReg, dl, getPointerTy()), in LowerBlockAddress()
7592 DAG.getNode(X86ISD::GlobalBaseReg, dl, getPointerTy()), in LowerGlobalAddress()
7655 DAG.getNode(X86ISD::GlobalBaseReg, in LowerToTLSGeneralDynamicModel32()
7688 DAG.getNode(X86ISD::GlobalBaseReg, DebugLoc(), PtrVT), InFlag); in LowerToTLSLocalDynamicModel()
7752 DAG.getNode(X86ISD::GlobalBaseReg, DebugLoc(), PtrVT), in LowerToTLSExecModel()
[all …]
/external/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp26 return GlobalBaseReg; in globalBaseRegSet()
31 if (GlobalBaseReg) in getGlobalBaseReg()
32 return GlobalBaseReg; in getGlobalBaseReg()
43 return GlobalBaseReg = MF.getRegInfo().createVirtualRegister(RC); in getGlobalBaseReg()
DMipsMachineFunction.h40 unsigned GlobalBaseReg; variable
64 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), Mips16SPAliasReg(0), in MipsFunctionInfo()
DMipsISelDAGToDAG.cpp60 unsigned GlobalBaseReg = MF->getInfo<MipsFunctionInfo>()->getGlobalBaseReg(); in getGlobalBaseReg() local
61 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode(); in getGlobalBaseReg()
DMipsSEISelDAGToDAG.cpp88 unsigned V0, V1, GlobalBaseReg = MipsFI->getGlobalBaseReg(); in initGlobalBaseReg() local
111 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1) in initGlobalBaseReg()
123 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V0) in initGlobalBaseReg()
139 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V1) in initGlobalBaseReg()
165 BuildMI(MBB, I, DL, TII.get(Mips::ADDu), GlobalBaseReg) in initGlobalBaseReg()
DMips16ISelDAGToDAG.cpp70 unsigned V0, V1, V2, GlobalBaseReg = MipsFI->getGlobalBaseReg(); in initGlobalBaseReg() local
83 BuildMI(MBB, I, DL, TII.get(Mips::AdduRxRyRz16), GlobalBaseReg) in initGlobalBaseReg()
/external/llvm/lib/Target/ARM/
DARMMachineFunctionInfo.h114 unsigned GlobalBaseReg; variable
127 VarArgsFrameIndex(0), HasITBlocks(false), GlobalBaseReg(0) {} in ARMFunctionInfo()
138 VarArgsFrameIndex(0), HasITBlocks(false), GlobalBaseReg(0) {} in ARMFunctionInfo()
257 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
258 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DARMInstrInfo.cpp121 unsigned GlobalBaseReg = AFI->getGlobalBaseReg(); in runOnMachineFunction() local
126 TII.get(Opc), GlobalBaseReg) in runOnMachineFunction()
DARMFastISel.cpp2869 unsigned GlobalBaseReg = AFI->getGlobalBaseReg(); in ARMLowerPICELF() local
2870 if (GlobalBaseReg == 0) { in ARMLowerPICELF()
2871 GlobalBaseReg = MRI.createVirtualRegister(TLI.getRegClassFor(VT)); in ARMLowerPICELF()
2872 AFI->setGlobalBaseReg(GlobalBaseReg); in ARMLowerPICELF()
2879 .addReg(GlobalBaseReg); in ARMLowerPICELF()
/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::GPRRegClass); 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.cpp50 unsigned GlobalBaseReg; member in __anone58458c80111::PPCDAGToDAGISel
61 GlobalBaseReg = 0; in runOnMachineFunction()
262 if (!GlobalBaseReg) { in getGlobalBaseReg()
270 GlobalBaseReg = RegInfo->createVirtualRegister(&PPC::GPRCRegClass); in getGlobalBaseReg()
272 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); in getGlobalBaseReg()
274 GlobalBaseReg = RegInfo->createVirtualRegister(&PPC::G8RCRegClass); in getGlobalBaseReg()
276 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR8), GlobalBaseReg); in getGlobalBaseReg()
279 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
987 case PPCISD::GlobalBaseReg: in Select()
DPPCISelLowering.h86 GlobalBaseReg, enumerator
DPPCISelLowering.cpp556 case PPCISD::GlobalBaseReg: return "PPCISD::GlobalBaseReg"; in getTargetNodeName()
1282 DAG.getNode(PPCISD::GlobalBaseReg, DL, PtrVT), Hi); in LowerLabelRef()