Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp28 return GlobalBaseReg; in globalBaseRegSet()
48 if (!GlobalBaseReg) in getGlobalBaseReg()
49 GlobalBaseReg = in getGlobalBaseReg()
51 return GlobalBaseReg; in getGlobalBaseReg()
55 if (!GlobalBaseReg) { in getGlobalBaseRegForGlobalISel()
59 return GlobalBaseReg; in getGlobalBaseRegForGlobalISel()
63 if (!GlobalBaseReg) in initGlobalBaseReg()
92 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1) in initGlobalBaseReg()
104 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V0) in initGlobalBaseReg()
120 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V1) in initGlobalBaseReg()
[all …]
DMipsISelDAGToDAG.cpp68 Register GlobalBaseReg = MF->getInfo<MipsFunctionInfo>()->getGlobalBaseReg(); in getGlobalBaseReg() local
69 return CurDAG->getRegister(GlobalBaseReg, getTargetLowering()->getPointerTy( in getGlobalBaseReg()
DMips16ISelDAGToDAG.cpp75 Register V0, V1, V2, GlobalBaseReg = MipsFI->getGlobalBaseReg(); in initGlobalBaseReg() local
89 BuildMI(MBB, I, DL, TII.get(Mips::AdduRxRyRz16), GlobalBaseReg) in initGlobalBaseReg()
DMipsMachineFunction.h97 unsigned GlobalBaseReg = 0; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcMachineFunctionInfo.h22 unsigned GlobalBaseReg;
35 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0), in SparcMachineFunctionInfo()
38 : GlobalBaseReg(0), VarArgsFrameOffset(0), SRetReturnReg(0), in SparcMachineFunctionInfo()
41 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
42 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DSparcInstrInfo.cpp474 unsigned GlobalBaseReg = SparcFI->getGlobalBaseReg(); in getGlobalBaseReg() local
475 if (GlobalBaseReg != 0) in getGlobalBaseReg()
476 return GlobalBaseReg; in getGlobalBaseReg()
485 GlobalBaseReg = RegInfo.createVirtualRegister(PtrRC); in getGlobalBaseReg()
489 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg); in getGlobalBaseReg()
490 SparcFI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
491 return GlobalBaseReg; in getGlobalBaseReg()
DSparcISelDAGToDAG.cpp69 unsigned GlobalBaseReg = Subtarget->getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
70 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiMachineFunctionInfo.cpp17 if (GlobalBaseReg) in getGlobalBaseReg()
18 return GlobalBaseReg; in getGlobalBaseReg()
20 return GlobalBaseReg = in getGlobalBaseReg()
DLanaiMachineFunctionInfo.h37 unsigned GlobalBaseReg; variable
44 : MF(MF), SRetReturnReg(0), GlobalBaseReg(0), VarArgsFrameIndex(0) {} in LanaiMachineFunctionInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86MachineFunctionInfo.h70 unsigned GlobalBaseReg = 0; variable
149 unsigned getGlobalBaseReg() const { return GlobalBaseReg; } in getGlobalBaseReg()
150 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; } in setGlobalBaseReg()
DX86InstrBuilder.h224 unsigned GlobalBaseReg, unsigned char OpFlags) { in addConstantPoolReference() argument
226 return MIB.addReg(GlobalBaseReg).addImm(1).addReg(0) in addConstantPoolReference()
DX86InstrInfo.cpp6022 unsigned GlobalBaseReg = X86FI->getGlobalBaseReg(); in getGlobalBaseReg() local
6023 if (GlobalBaseReg != 0) in getGlobalBaseReg()
6024 return GlobalBaseReg; in getGlobalBaseReg()
6029 GlobalBaseReg = RegInfo.createVirtualRegister( in getGlobalBaseReg()
6031 X86FI->setGlobalBaseReg(GlobalBaseReg); in getGlobalBaseReg()
6032 return GlobalBaseReg; in getGlobalBaseReg()
7823 unsigned GlobalBaseReg = X86FI->getGlobalBaseReg(); in runOnMachineFunction() local
7826 if (GlobalBaseReg == 0) in runOnMachineFunction()
7840 PC = GlobalBaseReg; in runOnMachineFunction()
7887 BuildMI(FirstMBB, MBBI, DL, TII->get(X86::ADD32ri), GlobalBaseReg) in runOnMachineFunction()
DX86ISelLowering.h135 GlobalBaseReg, enumerator
DX86ISelDAGToDAG.cpp2681 unsigned GlobalBaseReg = getInstrInfo()->getGlobalBaseReg(MF); in getGlobalBaseReg() local
2683 return CurDAG->getRegister(GlobalBaseReg, TLI->getPointerTy(DL)).getNode(); in getGlobalBaseReg()
4505 case X86ISD::GlobalBaseReg: in Select()
DX86ISelLowering.cpp2404 return DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), in getPICJumpTableRelocBase()
4034 unsigned(X86::EBX), DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), in LowerCall()
18055 DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), PtrVT), Result); in LowerConstantPool()
18077 DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), PtrVT), Result); in LowerJumpTable()
18102 DAG.getNode(X86ISD::GlobalBaseReg, dl, PtrVT), Result); in LowerBlockAddress()
18163 DAG.getNode(X86ISD::GlobalBaseReg, dl, PtrVT), Result); in LowerGlobalOrExternal()
18224 DAG.getNode(X86ISD::GlobalBaseReg, in LowerToTLSGeneralDynamicModel32()
18257 DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), PtrVT), InFlag); in LowerToTLSLocalDynamicModel()
18320 DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), PtrVT), in LowerToTLSExecModel()
18385 DAG.getNode(X86ISD::GlobalBaseReg, SDLoc(), PtrVT), in LowerGlobalTLSAddress()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp143 unsigned GlobalBaseReg = 0; member in __anon9a8fa64b0111::PPCDAGToDAGISel
151 GlobalBaseReg = 0; in runOnMachineFunction()
431 if (!GlobalBaseReg) { in getGlobalBaseReg()
441 GlobalBaseReg = PPC::R30; in getGlobalBaseReg()
445 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); in getGlobalBaseReg()
449 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); in getGlobalBaseReg()
452 TII.get(PPC::UpdateGBR), GlobalBaseReg) in getGlobalBaseReg()
453 .addReg(TempReg, RegState::Define).addReg(GlobalBaseReg); in getGlobalBaseReg()
457 GlobalBaseReg = in getGlobalBaseReg()
460 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); in getGlobalBaseReg()
[all …]
DPPCISelLowering.h147 GlobalBaseReg, enumerator
DPPCISelLowering.cpp1377 case PPCISD::GlobalBaseReg: return "PPCISD::GlobalBaseReg"; in getTargetNodeName()
2716 DAG.getNode(PPCISD::GlobalBaseReg, DL, PtrVT), Hi); in LowerLabelRef()
2739 : DAG.getNode(PPCISD::GlobalBaseReg, dl, VT); in getTOCEntry()
2806 return DAG.getNode(PPCISD::GlobalBaseReg, SDLoc(), in getPICJumpTableRelocBase()
2928 GOTPtr = DAG.getNode(PPCISD::GlobalBaseReg, dl, PtrVT); in LowerGlobalTLSAddress()
2947 GOTPtr = DAG.getNode(PPCISD::GlobalBaseReg, dl, PtrVT); in LowerGlobalTLSAddress()
2965 GOTPtr = DAG.getNode(PPCISD::GlobalBaseReg, dl, PtrVT); in LowerGlobalTLSAddress()