Home
last modified time | relevance | path

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

123

/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()
/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/swiftshader/third_party/llvm-7.0/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.cpp475 unsigned GlobalBaseReg = SparcFI->getGlobalBaseReg(); in getGlobalBaseReg() local
476 if (GlobalBaseReg != 0) in getGlobalBaseReg()
477 return GlobalBaseReg; in getGlobalBaseReg()
486 GlobalBaseReg = RegInfo.createVirtualRegister(PtrRC); in getGlobalBaseReg()
490 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg); in getGlobalBaseReg()
491 SparcFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
492 return GlobalBaseReg; in getGlobalBaseReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/
DNios2MachineFunction.h27 unsigned GlobalBaseReg;
41 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0), in Nios2FunctionInfo()
44 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0), in Nios2FunctionInfo()
47 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
48 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
/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/swiftshader/third_party/llvm-7.0/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/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp29 return GlobalBaseReg; in globalBaseRegSet()
49 if (!GlobalBaseReg) in getGlobalBaseReg()
50 GlobalBaseReg = in getGlobalBaseReg()
52 return GlobalBaseReg; in getGlobalBaseReg()
/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()
/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()
/external/swiftshader/third_party/llvm-7.0/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()

123