reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/Mips/MipsISelLowering.cpp
 2020   if (DAG.getTarget().useEmulatedTLS())
 2021     return LowerToTLSEmulatedModel(GA, DAG);
 2025   EVT PtrVT = getPointerTy(DAG.getDataLayout());
 2034     SDValue TGA = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, Flag);
 2035     SDValue Argument = DAG.getNode(MipsISD::Wrapper, DL, PtrVT,
 2036                                    getGlobalReg(DAG, PtrVT), TGA);
 2038     IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize);
 2040     SDValue TlsGetAddr = DAG.getExternalSymbol("__tls_get_addr", PtrVT);
 2048     TargetLowering::CallLoweringInfo CLI(DAG);
 2050         .setChain(DAG.getEntryNode())
 2059     SDValue TGAHi = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0,
 2061     SDValue Hi = DAG.getNode(MipsISD::TlsHi, DL, PtrVT, TGAHi);
 2062     SDValue TGALo = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0,
 2064     SDValue Lo = DAG.getNode(MipsISD::Lo, DL, PtrVT, TGALo);
 2065     SDValue Add = DAG.getNode(ISD::ADD, DL, PtrVT, Hi, Ret);
 2066     return DAG.getNode(ISD::ADD, DL, PtrVT, Add, Lo);
 2072     SDValue TGA = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0,
 2074     TGA = DAG.getNode(MipsISD::Wrapper, DL, PtrVT, getGlobalReg(DAG, PtrVT),
 2074     TGA = DAG.getNode(MipsISD::Wrapper, DL, PtrVT, getGlobalReg(DAG, PtrVT),
 2077         DAG.getLoad(PtrVT, DL, DAG.getEntryNode(), TGA, MachinePointerInfo());
 2077         DAG.getLoad(PtrVT, DL, DAG.getEntryNode(), TGA, MachinePointerInfo());
 2081     SDValue TGAHi = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0,
 2083     SDValue TGALo = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0,
 2085     SDValue Hi = DAG.getNode(MipsISD::TlsHi, DL, PtrVT, TGAHi);
 2086     SDValue Lo = DAG.getNode(MipsISD::Lo, DL, PtrVT, TGALo);
 2087     Offset = DAG.getNode(ISD::ADD, DL, PtrVT, Hi, Lo);
 2090   SDValue ThreadPointer = DAG.getNode(MipsISD::ThreadPointer, DL, PtrVT);
 2091   return DAG.getNode(ISD::ADD, DL, PtrVT, ThreadPointer, Offset);