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

References

gen/lib/Target/AArch64/AArch64GenDAGISel.inc
114926     MaybeAlign Align = G->getGlobal()->getPointerAlignment(DL);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 3115         return DAG.getGlobalAddress(GA->getGlobal(), SDLoc(N1C), VT,
 3120         if (GA->getGlobal() == GB->getGlobal())
 3120         if (GA->getGlobal() == GB->getGlobal())
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  402     MIB.addGlobalAddress(TGA->getGlobal(), TGA->getOffset(),
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  495     ID.AddPointer(GA->getGlobal());
 4765   return getGlobalAddress(GA->getGlobal(), SDLoc(C2), VT,
 5732   return getConstantDataArrayInfo(G->getGlobal(), Slice, 8,
 9351   return getGlobal()->getType()->getAddressSpace();
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
   41         if (A->getGlobal() == B->getGlobal()) {
   41         if (A->getGlobal() == B->getGlobal()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 6825                                      GA->getGlobal(), getCurSDLoc(),
 8769     Callee =  DAG.getTargetGlobalAddress(SymbolicCallee->getGlobal(),
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  584     GADN->getGlobal()->printAsOperand(OS);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  446   const GlobalValue *GV = GA->getGlobal();
 3940     GA = GASD->getGlobal();
 4069         Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(), SDLoc(Op),
 6830   std::string NameString = ("__emutls_v." + GA->getGlobal()->getName()).str();
 6831   Module *VariableModule = const_cast<Module*>(GA->getGlobal()->getParent());
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  800       const GlobalValue *GV = GAN->getGlobal();
lib/Target/AArch64/AArch64ISelLowering.cpp
 2883     auto *Fn = dyn_cast_or_null<Function>(GSD ? GSD->getGlobal() : nullptr);
 3601     const GlobalValue *GV = G->getGlobal();
 4025     auto GV = G->getGlobal();
 4035       const GlobalValue *GV = G->getGlobal();
 4281   return DAG.getTargetGlobalAddress(N->getGlobal(), SDLoc(N), Ty,
 4361   const GlobalValue *GV = GN->getGlobal();
 4427   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
 4516   TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal());
 4526   const GlobalValue *GV = GA->getGlobal();
 4644   const GlobalValue *GV = GA->getGlobal();
 6093       Result = DAG.getTargetGlobalAddress(GA->getGlobal(), SDLoc(Op),
11669   if (Subtarget->ClassifyGlobalReference(GN->getGlobal(), TM) !=
11703   const GlobalValue *GV = GN->getGlobal();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 1095     FuncName = G->getGlobal()->getName();
 1197   const GlobalValue *GV = G->getGlobal();
 4509     unsigned Align = GA->getGlobal()->getAlignment();
lib/Target/AMDGPU/R600ISelLowering.cpp
  748   const GlobalValue *GV = GSD->getGlobal();
lib/Target/AMDGPU/SIISelLowering.cpp
 2925   const GlobalValue *GV = GSD->getGlobal();
 5015          !shouldEmitGOTReloc(GA->getGlobal());
 5068   const GlobalValue *GV = GSD->getGlobal();
lib/Target/ARC/ARCISelLowering.cpp
  325     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl, MVT::i32);
  726   const GlobalValue *GV = GN->getGlobal();
lib/Target/ARM/ARMISelLowering.cpp
 2079     auto *GV = cast<GlobalAddressSDNode>(Callee)->getGlobal();
 2274     GV = G->getGlobal();
 2593     const GlobalValue *GV = G->getGlobal();
 3166   auto *CPV = ARMConstantPoolConstant::Create(GA->getGlobal(), ARMCP::SECREL);
 3186     ARMConstantPoolConstant::Create(GA->getGlobal(), ARMPCLabelIndex,
 3221   const GlobalValue *GV = GA->getGlobal();
 3236       ARMConstantPoolConstant::Create(GA->getGlobal(), ARMPCLabelIndex,
 3283   TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal());
 3440   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
 3508   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
 3536   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
lib/Target/AVR/AVRISelLowering.cpp
  402   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
  922     return G->getGlobal()->getName();
 1173     const GlobalValue *GV = G->getGlobal();
lib/Target/BPF/BPFISelDAGToDAG.cpp
  342   const GlobalVariable *V = dyn_cast<GlobalVariable>(Node->getGlobal());
lib/Target/BPF/BPFISelLowering.cpp
  368     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), CLI.DL, PtrVT,
  557   const GlobalValue *GV = N->getGlobal();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1391           R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(Const),
 2080     if (getUsesInFunction(GANode->getGlobal()) == 1 && Offset->hasOneUse() &&
 2087         CurDAG->getTargetGlobalAddress(GANode->getGlobal(), SDLoc(GA.Value),
lib/Target/Hexagon/HexagonISelLowering.cpp
  336     Callee = DAG.getTargetGlobalAddress(GAN->getGlobal(), dl, MVT::i32);
  491     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl, PtrVT, 0, Flags);
 1019   auto *GV = GAN->getGlobal();
 1081   SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl,
 1125   SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, PtrVT,
 1162   SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, PtrVT, Offset,
 1182   SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, PtrVT, Offset,
 1216   switch (HTM.getTLSModel(GA->getGlobal())) {
 3233     const auto *GO = dyn_cast_or_null<const GlobalObject>(GA->getGlobal());
lib/Target/Lanai/LanaiISelLowering.cpp
  611     const Function *CalleeFn = dyn_cast<Function>(G->getGlobal());
  726         G->getGlobal(), DL, getPointerTy(DAG.getDataLayout()), 0, OpFlag);
 1161   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
  147     AM.GV = G->getGlobal();
lib/Target/MSP430/MSP430ISelLowering.cpp
  884     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl, MVT::i16);
  998   const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
lib/Target/Mips/Mips16ISelLowering.cpp
  474                              G->getGlobal()->getName().data() };
lib/Target/Mips/MipsCCState.cpp
   76       llvm::StringRef Sym = G->getGlobal()->getName();
   77       Function *F = G->getGlobal()->getParent()->getFunction(Sym);
lib/Target/Mips/MipsISelLowering.cpp
  154   return DAG.getTargetGlobalAddress(N->getGlobal(), SDLoc(N), Ty, 0, Flag);
 1957   const GlobalValue *GV = N->getGlobal();
 2024   const GlobalValue *GV = GA->getGlobal();
 2952       StringRef Sym = G->getGlobal()->getName();
 2953       Function *F = G->getGlobal()->getParent()->getFunction(Sym);
 2996         Sym = G->getGlobal()->getName();
 3092       InternalLinkage = G->getGlobal()->hasInternalLinkage();
 3093       IsTailCall &= (InternalLinkage || G->getGlobal()->hasLocalLinkage() ||
 3094                      G->getGlobal()->hasPrivateLinkage() ||
 3095                      G->getGlobal()->hasHiddenVisibility() ||
 3096                      G->getGlobal()->hasProtectedVisibility());
 3251       if (auto *F = dyn_cast<Function>(N->getGlobal())) {
 3266       const GlobalValue *Val = G->getGlobal();
 3282       Callee = DAG.getTargetGlobalAddress(G->getGlobal(), DL,
lib/Target/NVPTX/NVPTXISelLowering.cpp
 1254   Op = DAG.getTargetGlobalAddress(GAN->getGlobal(), dl, PtrVT);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 6485       const GlobalValue *GV = GA->getGlobal();
 6551         const GlobalValue *GV = GA->getGlobal();
lib/Target/PowerPC/PPCISelLowering.cpp
 2849   const GlobalValue *GV = GA->getGlobal();
 2940   const GlobalValue *GV = GSDN->getGlobal();
 4492    const GlobalValue *GV = G->getGlobal();
 4738       return G->getGlobal()->hasHiddenVisibility()
 4739           || G->getGlobal()->hasProtectedVisibility();
 4940     return G->getGlobal()->getValueType()->isFunctionTy();
 4979     GV = G->getGlobal();
 4995     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl,
 5316                                             Twine(G->getGlobal()->getName()));
 5370               cast<GlobalAddressSDNode>(Callee)->getGlobal();
14613     return Subtarget.isGVIndirectSymbol(G->getGlobal());
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  262           GA->getGlobal(), SDLoc(ImmOperand), ImmOperand.getValueType(),
lib/Target/RISCV/RISCVISelLowering.cpp
  411   return DAG.getTargetGlobalAddress(N->getGlobal(), DL, Ty, 0, Flags);
  475   const GlobalValue *GV = N->getGlobal();
  508   const GlobalValue *GV = N->getGlobal();
  549   const GlobalValue *GV = N->getGlobal();
  586                               ? getTargetMachine().getTLSModel(N->getGlobal())
 2061     const GlobalValue *GV = G->getGlobal();
 2272     const GlobalValue *GV = S->getGlobal();
lib/Target/Sparc/SparcISelLowering.cpp
  701     CalleeFn = dyn_cast<Function>(G->getGlobal());
  946     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl, MVT::i32, 0, TF);
 1249     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), DL, PtrVT, 0, TF);
 1903     return DAG.getTargetGlobalAddress(GA->getGlobal(),
 2023   const GlobalValue *GV = GA->getGlobal();
lib/Target/SystemZ/SystemZISelLowering.cpp
 1561     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), DL, PtrVT);
 2824   const GlobalValue *GV = Node->getGlobal();
 2878   Ops.push_back(DAG.getTargetGlobalAddress(Node->getGlobal(), DL,
 2930   const GlobalValue *GV = Node->getGlobal();
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
  141     if (GA->getGlobal()->getThreadLocalMode() !=
  146                              GA->getGlobal()->getName(),
  155         GA->getGlobal(), DL, PtrVT, GA->getOffset(), 0);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  794     Callee = DAG.getTargetGlobalAddress(GA->getGlobal(), DL,
 1101     const GlobalValue *GV = GA->getGlobal();
 1120           DAG.getTargetGlobalAddress(GA->getGlobal(), DL, VT, GA->getOffset(),
 1130                      DAG.getTargetGlobalAddress(GA->getGlobal(), DL, VT,
lib/Target/X86/X86ISelDAGToDAG.cpp
 1438     AM.GV = G->getGlobal();
 2387       cast<GlobalAddressSDNode>(N)->getGlobal()->getAbsoluteSymbolRange();
 2528   AM.GV = GA->getGlobal();
 2575   Optional<ConstantRange> CR = GA->getGlobal()->getAbsoluteSymbolRange();
 2580   Op = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(N), VT,
 2632   Optional<ConstantRange> CR = GA->getGlobal()->getAbsoluteSymbolRange();
lib/Target/X86/X86ISelLowering.cpp
 3647     if (!G || (!G->getGlobal()->hasLocalLinkage() &&
 3648                G->getGlobal()->hasDefaultVisibility()))
 3873       if (G && !G->getGlobal()->hasLocalLinkage() &&
 3874           G->getGlobal()->hasDefaultVisibility())
17866     GV = G->getGlobal();
17941   SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl,
18017   SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl,
18061       DAG.getTargetGlobalAddress(GA->getGlobal(), dl, GA->getValueType(0),
18089   const GlobalValue *GV = GA->getGlobal();
18125     SDValue Result = DAG.getTargetGlobalAddress(GA->getGlobal(), DL,
18213     SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl,
23553     auto *Fn = cast<Function>(cast<GlobalAddressSDNode>(Op1)->getGlobal());
23567     auto *Fn = dyn_cast_or_null<Function>(GSD ? GSD->getGlobal() : nullptr);
45742               Subtarget.classifyGlobalReference(GA->getGlobal())))
lib/Target/XCore/XCoreISelLowering.cpp
  281   const GlobalValue *GV = GN->getGlobal();
  379     LowAddr = DAG.getGlobalAddress(GASD->getGlobal(), DL, Base.getValueType(),
  381     HighAddr = DAG.getGlobalAddress(GASD->getGlobal(), DL, Base.getValueType(),
 1196     Callee = DAG.getTargetGlobalAddress(G->getGlobal(), dl, MVT::i32);