|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/Target/AArch64/AArch64GenDAGISel.inc114924 if (auto *G = dyn_cast<GlobalAddressSDNode>(N)) {
114924 if (auto *G = dyn_cast<GlobalAddressSDNode>(N)) {
include/llvm/CodeGen/SelectionDAG.h 350 SDNodeT *newSDNode(ArgTypes &&... Args) {
351 return new (NodeAllocator.template Allocate<SDNodeT>())
352 SDNodeT(std::forward<ArgTypes>(Args)...);
1441 const GlobalAddressSDNode *GA,
include/llvm/CodeGen/SelectionDAGNodes.h 2583 GlobalAddressSDNode>;
2586 using MostAlignedSDNode = GlobalAddressSDNode;
include/llvm/CodeGen/TargetLowering.h 3018 virtual bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const;
4225 virtual SDValue LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA,
include/llvm/Support/AlignOf.h 25 AlignerImpl<Ts...> rest;
30 T t;
36 SizerImpl<Ts...> rest;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/Casting.h 58 return To::classof(&Val);
92 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
248 typename cast_retty<X, const Y>::ret_type>::type
252 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
331 typename cast_retty<X, const Y>::ret_type>::type
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/Support/Recycler.h 83 SubClass *Allocate(AllocatorType &Allocator) {
84 static_assert(alignof(SubClass) <= Align,
86 static_assert(sizeof(SubClass) <= Size,
93 T *Allocate(AllocatorType &Allocator) {
include/llvm/Support/RecyclingAllocator.h 43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 3111 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N0))
3111 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N0))
3119 if (GlobalAddressSDNode *GB = dyn_cast<GlobalAddressSDNode>(N1))
3119 if (GlobalAddressSDNode *GB = dyn_cast<GlobalAddressSDNode>(N1))
lib/CodeGen/SelectionDAG/InstrEmitter.cpp 401 } else if (GlobalAddressSDNode *TGA = dyn_cast<GlobalAddressSDNode>(Op)) {
401 } else if (GlobalAddressSDNode *TGA = dyn_cast<GlobalAddressSDNode>(Op)) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h 70 if (isa<GlobalAddressSDNode>(Node)) return true;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 494 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N);
494 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N);
1382 auto *N = newSDNode<GlobalAddressSDNode>(
1382 auto *N = newSDNode<GlobalAddressSDNode>(
4750 const GlobalAddressSDNode *GA,
4816 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N1))
4816 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N1))
4819 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N2))
4819 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N2))
5720 GlobalAddressSDNode *G = nullptr;
5722 G = cast<GlobalAddressSDNode>(Src);
5726 G = cast<GlobalAddressSDNode>(Src.getOperand(0));
9545 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N))
9545 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(N))
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp 39 if (auto *A = dyn_cast<GlobalAddressSDNode>(Base))
39 if (auto *A = dyn_cast<GlobalAddressSDNode>(Base))
40 if (auto *B = dyn_cast<GlobalAddressSDNode>(Other.Base))
40 if (auto *B = dyn_cast<GlobalAddressSDNode>(Other.Base))
130 bool IsGV0 = isa<GlobalAddressSDNode>(BasePtr0.getBase());
131 bool IsGV1 = isa<GlobalAddressSDNode>(BasePtr1.getBase());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 6820 auto *GA = dyn_cast<GlobalAddressSDNode>(Val);
6820 auto *GA = dyn_cast<GlobalAddressSDNode>(Val);
8768 else if (auto* SymbolicCallee = dyn_cast<GlobalAddressSDNode>(Callee))
8768 else if (auto* SymbolicCallee = dyn_cast<GlobalAddressSDNode>(Callee))
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp 580 } else if (const GlobalAddressSDNode *GADN =
581 dyn_cast<GlobalAddressSDNode>(this)) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp 444 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
3939 if (auto *GASD = dyn_cast<GlobalAddressSDNode>(N)) {
3939 if (auto *GASD = dyn_cast<GlobalAddressSDNode>(N)) {
4057 GlobalAddressSDNode *GA;
4068 if ((GA = dyn_cast<GlobalAddressSDNode>(Op)) && ConstraintLetter != 'n') {
6820 SDValue TargetLowering::LowerToTLSEmulatedModel(const GlobalAddressSDNode *GA,
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp 792 GlobalAddressSDNode *GAN =
793 dyn_cast<GlobalAddressSDNode>(N.getOperand(1).getNode());
lib/Target/AArch64/AArch64ISelLowering.cpp 2882 GlobalAddressSDNode *GSD = dyn_cast<GlobalAddressSDNode>(FnOp);
2882 GlobalAddressSDNode *GSD = dyn_cast<GlobalAddressSDNode>(FnOp);
3600 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
3600 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
4024 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
4024 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
4278 SDValue AArch64TargetLowering::getTargetNode(GlobalAddressSDNode *N, EVT Ty,
4319 SDValue AArch64TargetLowering::getAddrLarge(NodeTy *N, SelectionDAG &DAG,
4335 SDValue AArch64TargetLowering::getAddr(NodeTy *N, SelectionDAG &DAG,
4349 SDValue AArch64TargetLowering::getAddrTiny(NodeTy *N, SelectionDAG &DAG,
4360 GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op);
4360 GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op);
4427 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
4514 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
4514 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
4643 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
4643 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
4662 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
4662 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
5702 const GlobalAddressSDNode *GA) const {
6092 if (const GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op)) {
6092 if (const GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op)) {
11668 auto *GN = cast<GlobalAddressSDNode>(N);
11668 auto *GN = cast<GlobalAddressSDNode>(N);
lib/Target/AArch64/AArch64ISelLowering.h 311 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
630 SDValue getTargetNode(GlobalAddressSDNode *N, EVT Ty, SelectionDAG &DAG,
639 SDValue getGOT(NodeTy *N, SelectionDAG &DAG, unsigned Flags = 0) const;
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 1094 else if (const GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
1094 else if (const GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
1196 GlobalAddressSDNode *G = cast<GlobalAddressSDNode>(Op);
1196 GlobalAddressSDNode *G = cast<GlobalAddressSDNode>(Op);
4508 auto GA = cast<GlobalAddressSDNode>(Op.getOperand(0).getNode());
lib/Target/AMDGPU/R600ISelLowering.cpp 743 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op);
743 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op);
lib/Target/AMDGPU/SIISelLowering.cpp 2924 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Callee);
2924 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Callee);
5010 SITargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
5067 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op);
5067 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op);
lib/Target/AMDGPU/SIISelLowering.h 282 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/ARC/ARCISelLowering.cpp 324 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee))
324 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee))
725 const GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op);
725 const GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op);
lib/Target/ARM/ARMISelLowering.cpp 2075 if (isa<GlobalAddressSDNode>(Callee)) {
2079 auto *GV = cast<GlobalAddressSDNode>(Callee)->getGlobal();
2273 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
2273 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
2289 if (isa<GlobalAddressSDNode>(Callee)) {
2316 } else if (isa<GlobalAddressSDNode>(Callee)) {
2568 (!isa<GlobalAddressSDNode>(Callee.getNode()) || isIndirect))
2592 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
2592 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
3165 const auto *GA = cast<GlobalAddressSDNode>(Op);
3165 const auto *GA = cast<GlobalAddressSDNode>(Op);
3177 ARMTargetLowering::LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
3218 ARMTargetLowering::LowerToTLSExecModels(GlobalAddressSDNode *GA,
3271 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
3271 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
3440 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
3508 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
3536 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
16207 ARMTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
lib/Target/ARM/ARMISelLowering.h 500 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
693 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
695 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
lib/Target/AVR/AVRISelLowering.cpp 402 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
403 int64_t Offset = cast<GlobalAddressSDNode>(Op)->getOffset();
876 const GlobalAddressSDNode *GA) const {
921 if (const GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
921 if (const GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
1172 if (const GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
1172 if (const GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
lib/Target/AVR/AVRISelLowering.h 103 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/BPF/BPFISelDAGToDAG.cpp 91 bool getConstantFieldValue(const GlobalAddressSDNode *Node, uint64_t Offset,
273 const GlobalAddressSDNode *GADN =
274 dyn_cast<GlobalAddressSDNode>(OP1N->getOperand(0).getNode());
284 if (const GlobalAddressSDNode *GADN =
285 dyn_cast<GlobalAddressSDNode>(OP1.getNode()))
339 bool BPFDAGToDAGISel::getConstantFieldValue(const GlobalAddressSDNode *Node,
lib/Target/BPF/BPFISelLowering.cpp 170 bool BPFTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
367 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
367 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
553 auto N = cast<GlobalAddressSDNode>(Op);
lib/Target/BPF/BPFISelLowering.h 47 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 1388 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Addr)) {
1388 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Addr)) {
2076 GlobalAddressSDNode *GANode =
2077 cast<GlobalAddressSDNode>(GA.Value.getOperand(0));
lib/Target/Hexagon/HexagonISelLowering.cpp 335 if (GlobalAddressSDNode *GAN = dyn_cast<GlobalAddressSDNode>(Callee))
335 if (GlobalAddressSDNode *GAN = dyn_cast<GlobalAddressSDNode>(Callee))
490 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
490 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
1017 auto *GAN = cast<GlobalAddressSDNode>(Op);
1017 auto *GAN = cast<GlobalAddressSDNode>(Op);
1075 GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg,
1111 HexagonTargetLowering::LowerToTLSInitialExecModel(GlobalAddressSDNode *GA,
1153 HexagonTargetLowering::LowerToTLSLocalExecModel(GlobalAddressSDNode *GA,
1175 HexagonTargetLowering::LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
1214 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
1214 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
3098 bool HexagonTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA)
3134 if (!isa<GlobalAddressSDNode>(Callee) &&
3231 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(BO.first)) {
3231 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(BO.first)) {
lib/Target/Hexagon/HexagonISelLowering.h 191 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
193 SDValue LowerToTLSInitialExecModel(GlobalAddressSDNode *GA,
195 SDValue LowerToTLSLocalExecModel(GlobalAddressSDNode *GA,
198 GlobalAddressSDNode *GA, SDValue InFlag, EVT PtrVT,
292 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/Lanai/LanaiISelLowering.cpp 606 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
606 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
1161 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
1162 int64_t Offset = cast<GlobalAddressSDNode>(Op)->getOffset();
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp 146 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(N0)) {
146 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(N0)) {
lib/Target/MSP430/MSP430ISelLowering.cpp 883 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
883 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
998 const GlobalValue *GV = cast<GlobalAddressSDNode>(Op)->getGlobal();
999 int64_t Offset = cast<GlobalAddressSDNode>(Op)->getOffset();
lib/Target/Mips/Mips16ISelDAGToDAG.cpp 154 if (isa<ConstantPoolSDNode>(Opnd0) || isa<GlobalAddressSDNode>(Opnd0) ||
lib/Target/Mips/Mips16ISelLowering.cpp 471 } else if (GlobalAddressSDNode *G =
472 dyn_cast<GlobalAddressSDNode>(CLI.Callee)) {
lib/Target/Mips/MipsCCState.cpp 74 if (const GlobalAddressSDNode *G =
75 dyn_cast<const GlobalAddressSDNode>(Callee)) {
lib/Target/Mips/MipsISelLowering.cpp 151 SDValue MipsTargetLowering::getTargetNode(GlobalAddressSDNode *N, EVT Ty,
1956 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
1956 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
2019 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
2019 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
2951 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(CLI.Callee)) {
2951 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(CLI.Callee)) {
2994 if (const GlobalAddressSDNode *G =
2995 dyn_cast_or_null<const GlobalAddressSDNode>(TargetAddr)) {
3091 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
3091 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
3247 } else if (auto *N = dyn_cast<GlobalAddressSDNode>(Callee)) {
3247 } else if (auto *N = dyn_cast<GlobalAddressSDNode>(Callee)) {
3264 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
3264 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
4136 MipsTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
lib/Target/Mips/MipsISelLowering.h 392 SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG,
411 SDValue getAddrGlobal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG,
424 SDValue getAddrGlobalLargeGOT(NodeTy *N, const SDLoc &DL, EVT Ty,
443 SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty,
460 SDValue getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty,
487 SDValue getAddrGPRel(NodeTy *N, const SDLoc &DL, EVT Ty,
517 SDValue getTargetNode(GlobalAddressSDNode *N, EVT Ty, SelectionDAG &DAG,
670 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 346 if (isa<ConstantPoolSDNode>(Opnd0) || isa<GlobalAddressSDNode>(Opnd0) ||
lib/Target/NVPTX/NVPTXISelLowering.cpp 1252 const GlobalAddressSDNode *GAN = cast<GlobalAddressSDNode>(Op);
1252 const GlobalAddressSDNode *GAN = cast<GlobalAddressSDNode>(Op);
1630 GlobalAddressSDNode *Func = dyn_cast<GlobalAddressSDNode>(Callee.getNode());
1630 GlobalAddressSDNode *Func = dyn_cast<GlobalAddressSDNode>(Callee.getNode());
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 4406 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op)) {
4406 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op)) {
6484 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
6484 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
6549 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
6549 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
lib/Target/PowerPC/PPCISelLowering.cpp 2844 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
2844 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
2938 GlobalAddressSDNode *GSDN = cast<GlobalAddressSDNode>(Op);
2938 GlobalAddressSDNode *GSDN = cast<GlobalAddressSDNode>(Op);
4488 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
4488 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
4737 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
4737 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
4935 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
4935 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
4978 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee))
4978 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee))
4987 GlobalAddressSDNode *G = cast<GlobalAddressSDNode>(Callee);
4987 GlobalAddressSDNode *G = cast<GlobalAddressSDNode>(Callee);
5313 GlobalAddressSDNode *G = cast<GlobalAddressSDNode>(Callee);
5313 GlobalAddressSDNode *G = cast<GlobalAddressSDNode>(Callee);
5387 if (Subtarget.useLongCalls() && isa<GlobalAddressSDNode>(Callee) &&
14612 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA))
14612 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(GA))
14619 PPCTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
lib/Target/PowerPC/PPCISelLowering.h 872 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/RISCV/RISCVISelDAGToDAG.cpp 260 } else if (auto GA = dyn_cast<GlobalAddressSDNode>(ImmOperand)) {
lib/Target/RISCV/RISCVISelLowering.cpp 409 static SDValue getTargetNode(GlobalAddressSDNode *N, SDLoc DL, EVT Ty,
427 SDValue RISCVTargetLowering::getAddr(NodeTy *N, SelectionDAG &DAG,
471 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
471 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
503 SDValue RISCVTargetLowering::getStaticTLSAddr(GlobalAddressSDNode *N,
544 SDValue RISCVTargetLowering::getDynamicTLSAddr(GlobalAddressSDNode *N,
580 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
580 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
2060 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
2060 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
2271 if (GlobalAddressSDNode *S = dyn_cast<GlobalAddressSDNode>(Callee)) {
2271 if (GlobalAddressSDNode *S = dyn_cast<GlobalAddressSDNode>(Callee)) {
lib/Target/RISCV/RISCVISelLowering.h 181 SDValue getStaticTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG,
183 SDValue getDynamicTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG) const;
lib/Target/Sparc/SparcISelLowering.cpp 700 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
700 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
945 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
945 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
1248 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
1248 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
1902 if (const GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op))
1902 if (const GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op))
2018 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
2018 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
3329 SparcTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
lib/Target/Sparc/SparcISelLowering.h 96 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp 485 uint64_t Offset = (cast<GlobalAddressSDNode>(Full)->getOffset() -
486 cast<GlobalAddressSDNode>(Anchor)->getOffset());
lib/Target/SystemZ/SystemZISelLowering.cpp 1560 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
1560 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
2821 SDValue SystemZTargetLowering::lowerGlobalAddress(GlobalAddressSDNode *Node,
2859 SDValue SystemZTargetLowering::lowerTLSGetOffset(GlobalAddressSDNode *Node,
2925 SDValue SystemZTargetLowering::lowerGlobalTLSAddress(GlobalAddressSDNode *Node,
4939 return lowerGlobalAddress(cast<GlobalAddressSDNode>(Op), DAG);
4941 return lowerGlobalTLSAddress(cast<GlobalAddressSDNode>(Op), DAG);
lib/Target/SystemZ/SystemZISelLowering.h 540 SDValue lowerGlobalAddress(GlobalAddressSDNode *Node,
542 SDValue lowerTLSGetOffset(GlobalAddressSDNode *Node,
546 SDValue lowerGlobalTLSAddress(GlobalAddressSDNode *Node,
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp 130 const auto *GA = cast<GlobalAddressSDNode>(Node);
130 const auto *GA = cast<GlobalAddressSDNode>(Node);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 793 GlobalAddressSDNode* GA = cast<GlobalAddressSDNode>(Callee);
793 GlobalAddressSDNode* GA = cast<GlobalAddressSDNode>(Callee);
1092 const auto *GA = cast<GlobalAddressSDNode>(Op);
1092 const auto *GA = cast<GlobalAddressSDNode>(Op);
lib/Target/X86/X86ISelDAGToDAG.cpp 1437 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(N0)) {
1437 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(N0)) {
2387 cast<GlobalAddressSDNode>(N)->getGlobal()->getAbsoluteSymbolRange();
2525 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N);
2525 const GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(N);
2574 auto *GA = cast<GlobalAddressSDNode>(N.getOperand(0));
2574 auto *GA = cast<GlobalAddressSDNode>(N.getOperand(0));
2628 auto *GA = dyn_cast<GlobalAddressSDNode>(N->getOperand(0));
2628 auto *GA = dyn_cast<GlobalAddressSDNode>(N->getOperand(0));
lib/Target/X86/X86ISelLowering.cpp 3646 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
3646 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
3872 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
3872 GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
4448 if (!Subtarget.is64Bit() && ((!isa<GlobalAddressSDNode>(Callee) &&
4868 if (const auto *GA = dyn_cast<GlobalAddressSDNode>(BasePtr.getOperand(0)))
4868 if (const auto *GA = dyn_cast<GlobalAddressSDNode>(BasePtr.getOperand(0)))
17865 if (const auto *G = dyn_cast<GlobalAddressSDNode>(Op)) {
17865 if (const auto *G = dyn_cast<GlobalAddressSDNode>(Op)) {
17935 GetTLSADDR(SelectionDAG &DAG, SDValue Chain, GlobalAddressSDNode *GA,
17967 LowerToTLSGeneralDynamicModel32(GlobalAddressSDNode *GA, SelectionDAG &DAG,
17981 LowerToTLSGeneralDynamicModel64(GlobalAddressSDNode *GA, SelectionDAG &DAG,
17987 static SDValue LowerToTLSLocalDynamicModel(GlobalAddressSDNode *GA,
18027 static SDValue LowerToTLSExecModel(GlobalAddressSDNode *GA, SelectionDAG &DAG,
18084 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
18084 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op);
23553 auto *Fn = cast<Function>(cast<GlobalAddressSDNode>(Op1)->getGlobal());
23566 GlobalAddressSDNode *GSD = dyn_cast<GlobalAddressSDNode>(FnOp);
23566 GlobalAddressSDNode *GSD = dyn_cast<GlobalAddressSDNode>(FnOp);
45738 if (auto *GA = dyn_cast<GlobalAddressSDNode>(Op))
45738 if (auto *GA = dyn_cast<GlobalAddressSDNode>(Op))
lib/Target/XCore/XCoreISelLowering.cpp 280 const GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op);
280 const GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op);
377 if (GlobalAddressSDNode *GASD =
378 dyn_cast<GlobalAddressSDNode>(Base.getNode())) {
1195 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))
1195 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee))