Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcMachineFunctionInfo.h22 unsigned GlobalBaseReg;
32 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0) {} in SparcMachineFunctionInfo()
34 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0) {} in SparcMachineFunctionInfo()
36 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
37 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DSparcInstrInfo.cpp329 unsigned GlobalBaseReg = SparcFI->getGlobalBaseReg(); in getGlobalBaseReg() local
330 if (GlobalBaseReg != 0) in getGlobalBaseReg()
331 return GlobalBaseReg; in getGlobalBaseReg()
338 GlobalBaseReg = RegInfo.createVirtualRegister(&SP::IntRegsRegClass); in getGlobalBaseReg()
343 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg); in getGlobalBaseReg()
344 SparcFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
345 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/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaMachineFunctionInfo.h27 unsigned GlobalBaseReg; variable
39 AlphaMachineFunctionInfo() : GlobalBaseReg(0), GlobalRetAddr(0), in AlphaMachineFunctionInfo()
42 explicit AlphaMachineFunctionInfo(MachineFunction &MF) : GlobalBaseReg(0), in AlphaMachineFunctionInfo()
47 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
48 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DAlphaInstrInfo.cpp340 unsigned GlobalBaseReg = AlphaFI->getGlobalBaseReg(); in getGlobalBaseReg() local
341 if (GlobalBaseReg != 0) in getGlobalBaseReg()
342 return GlobalBaseReg; in getGlobalBaseReg()
350 GlobalBaseReg = RegInfo.createVirtualRegister(&Alpha::GPRCRegClass); in getGlobalBaseReg()
352 GlobalBaseReg).addReg(Alpha::R29); in getGlobalBaseReg()
355 AlphaFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
356 return GlobalBaseReg; in getGlobalBaseReg()
/external/llvm/lib/Target/Sparc/
DSparcMachineFunctionInfo.h23 unsigned GlobalBaseReg;
36 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0), in SparcMachineFunctionInfo()
39 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0), in SparcMachineFunctionInfo()
42 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
43 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DSparcInstrInfo.cpp471 unsigned GlobalBaseReg = SparcFI->getGlobalBaseReg(); in getGlobalBaseReg() local
472 if (GlobalBaseReg != 0) in getGlobalBaseReg()
473 return GlobalBaseReg; in getGlobalBaseReg()
482 GlobalBaseReg = RegInfo.createVirtualRegister(PtrRC); in getGlobalBaseReg()
486 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg); in getGlobalBaseReg()
487 SparcFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
488 return GlobalBaseReg; in getGlobalBaseReg()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86MachineFunctionInfo.h54 unsigned GlobalBaseReg; variable
75 GlobalBaseReg(0), in X86MachineFunctionInfo()
89 GlobalBaseReg(0), in X86MachineFunctionInfo()
114 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
115 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DX86InstrBuilder.h176 unsigned GlobalBaseReg, unsigned char OpFlags) { in addConstantPoolReference() argument
178 return MIB.addReg(GlobalBaseReg).addImm(1).addReg(0) in addConstantPoolReference()
/external/llvm/lib/Target/Lanai/
DLanaiMachineFunctionInfo.cpp18 if (GlobalBaseReg) in getGlobalBaseReg()
19 return GlobalBaseReg; in getGlobalBaseReg()
21 return GlobalBaseReg = in getGlobalBaseReg()
DLanaiMachineFunctionInfo.h38 unsigned GlobalBaseReg; variable
45 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), VarArgsFrameIndex(0) {} in LanaiMachineFunctionInfo()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsMachineFunction.h39 unsigned GlobalBaseReg; variable
56 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), in MipsFunctionInfo()
95 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
96 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DMipsInstrInfo.cpp442 unsigned GlobalBaseReg = MipsFI->getGlobalBaseReg(); in getGlobalBaseReg() local
443 if (GlobalBaseReg != 0) in getGlobalBaseReg()
444 return GlobalBaseReg; in getGlobalBaseReg()
452 GlobalBaseReg = RegInfo.createVirtualRegister(Mips::CPURegsRegisterClass); in getGlobalBaseReg()
454 GlobalBaseReg).addReg(Mips::GP); in getGlobalBaseReg()
457 MipsFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
458 return GlobalBaseReg; in getGlobalBaseReg()
DMipsISelDAGToDAG.cpp106 unsigned GlobalBaseReg = getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
107 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()
53 return GlobalBaseReg = MF.getRegInfo().createVirtualRegister(RC); in getGlobalBaseReg()
DMipsMachineFunction.h33 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), VarArgsFrameIndex(0), in MipsFunctionInfo()
99 unsigned GlobalBaseReg; variable
DMipsISelDAGToDAG.cpp61 unsigned GlobalBaseReg = MF->getInfo<MipsFunctionInfo>()->getGlobalBaseReg(); in getGlobalBaseReg() local
62 return CurDAG->getRegister(GlobalBaseReg, getTargetLowering()->getPointerTy( in getGlobalBaseReg()
DMips16ISelDAGToDAG.cpp76 unsigned V0, V1, V2, GlobalBaseReg = MipsFI->getGlobalBaseReg(); in initGlobalBaseReg() local
89 BuildMI(MBB, I, DL, TII.get(Mips::AdduRxRyRz16), GlobalBaseReg) in initGlobalBaseReg()
DMipsSEISelDAGToDAG.cpp141 unsigned V0, V1, GlobalBaseReg = MipsFI->getGlobalBaseReg(); in initGlobalBaseReg() local
161 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1) in initGlobalBaseReg()
173 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V0) in initGlobalBaseReg()
189 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V1) in initGlobalBaseReg()
215 BuildMI(MBB, I, DL, TII.get(Mips::ADDu), GlobalBaseReg) in initGlobalBaseReg()
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeMachineFunction.h80 unsigned GlobalBaseReg; variable
92 HasStoreVarArgs(false), SRetReturnReg(0), GlobalBaseReg(0), in MBlazeFunctionInfo()
161 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
162 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/X86/
DX86MachineFunctionInfo.h67 unsigned GlobalBaseReg = 0; variable
142 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
143 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DX86InstrBuilder.h203 unsigned GlobalBaseReg, unsigned char OpFlags) { in addConstantPoolReference() argument
205 return MIB.addReg(GlobalBaseReg).addImm(1).addReg(0) in addConstantPoolReference()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp45 unsigned GlobalBaseReg; member in __anon62a1cc8d0111::PPCDAGToDAGISel
54 GlobalBaseReg = 0; in runOnMachineFunction()
234 if (!GlobalBaseReg) { in getGlobalBaseReg()
242 GlobalBaseReg = RegInfo->createVirtualRegister(PPC::GPRCRegisterClass); in getGlobalBaseReg()
244 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); in getGlobalBaseReg()
246 GlobalBaseReg = RegInfo->createVirtualRegister(PPC::G8RCRegisterClass); in getGlobalBaseReg()
248 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR8), GlobalBaseReg); in getGlobalBaseReg()
251 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
821 case PPCISD::GlobalBaseReg: in Select()

12