Home
last modified time | relevance | path

Searched refs:GlobalAddressSDNode (Results 1 – 25 of 66) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp41 if (auto *A = dyn_cast<GlobalAddressSDNode>(Base)) in equalBaseIndex()
42 if (auto *B = dyn_cast<GlobalAddressSDNode>(Other.Base)) in equalBaseIndex()
142 bool IsGV0 = isa<GlobalAddressSDNode>(BasePtr0.getBase()); in computeAliasing()
143 bool IsGV1 = isa<GlobalAddressSDNode>(BasePtr1.getBase()); in computeAliasing()
154 auto *GV0 = cast<GlobalAddressSDNode>(BasePtr0.getBase())->getGlobal(); in computeAliasing()
155 auto *GV1 = cast<GlobalAddressSDNode>(BasePtr1.getBase())->getGlobal(); in computeAliasing()
H A DScheduleDAGSDNodes.h70 if (isa<GlobalAddressSDNode>(Node)) return true; in isPassiveNode()
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.h101 SDValue getTargetNode(GlobalAddressSDNode *N, SDLoc DL, EVT Ty,
116 SDValue getTargetConstantPoolValue(GlobalAddressSDNode *N, EVT Ty,
170 SDValue getStaticTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG,
172 SDValue getDynamicTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG) const;
H A DCSKYISelLowering.cpp646 if (GlobalAddressSDNode *S = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
653 Ops.push_back(getAddr<GlobalAddressSDNode, true>(S, DAG, IsLocal)); in LowerCall()
655 Ops.push_back(getTargetNode(cast<GlobalAddressSDNode>(Callee), DL, Ty, in LowerCall()
658 cast<GlobalAddressSDNode>(Callee), Ty, DAG, CSKYII::MO_None)); in LowerCall()
780 SDValue CSKYTargetLowering::getTargetConstantPoolValue(GlobalAddressSDNode *N, in getTargetConstantPoolValue()
1084 SDValue CSKYTargetLowering::getTargetNode(GlobalAddressSDNode *N, SDLoc DL, in getTargetNode()
1148 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress()
1153 SDValue Addr = getAddr<GlobalAddressSDNode, false>(N, DAG, IsLocal); in LowerGlobalAddress()
1267 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op); in LowerGlobalTLSAddress()
1296 SDValue CSKYTargetLowering::getStaticTLSAddr(GlobalAddressSDNode *N, in getStaticTLSAddr()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp93 bool getConstantFieldValue(const GlobalAddressSDNode *Node, uint64_t Offset,
276 const GlobalAddressSDNode *GADN = in PreprocessLoad()
277 dyn_cast<GlobalAddressSDNode>(OP1N->getOperand(0).getNode()); in PreprocessLoad()
287 if (const GlobalAddressSDNode *GADN = in PreprocessLoad()
288 dyn_cast<GlobalAddressSDNode>(OP1.getNode())) in PreprocessLoad()
342 bool BPFDAGToDAGISel::getConstantFieldValue(const GlobalAddressSDNode *Node, in getConstantFieldValue()
H A DBPFISelLowering.h47 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
H A DBPFISelLowering.cpp188 bool BPFTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
461 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
645 auto N = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress()
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h111 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
202 SDValue getStaticTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG,
204 SDValue getDynamicTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG,
H A DLoongArchISelLowering.cpp207 const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
444 static SDValue getTargetNode(GlobalAddressSDNode *N, SDLoc DL, EVT Ty, in getTargetNode()
501 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op); in lowerGlobalAddress()
506 SDValue LoongArchTargetLowering::getStaticTLSAddr(GlobalAddressSDNode *N, in getStaticTLSAddr()
521 SDValue LoongArchTargetLowering::getDynamicTLSAddr(GlobalAddressSDNode *N, in getDynamicTLSAddr()
557 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op); in lowerGlobalTLSAddress()
2544 if (GlobalAddressSDNode *S = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsCCState.cpp74 if (const GlobalAddressSDNode *G = in getSpecialCallingConvForCallee()
75 dyn_cast<const GlobalAddressSDNode>(Callee)) { in getSpecialCallingConvForCallee()
H A DMips16ISelDAGToDAG.cpp154 if (isa<ConstantPoolSDNode>(Opnd0) || isa<GlobalAddressSDNode>(Opnd0) || in selectAddr()
H A DMipsISelLowering.h507 SDValue getTargetNode(GlobalAddressSDNode *N, EVT Ty, SelectionDAG &DAG,
664 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
H A DMipsISelLowering.cpp136 SDValue MipsTargetLowering::getTargetNode(GlobalAddressSDNode *N, EVT Ty, in getTargetNode()
2077 GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op); in lowerGlobalAddress()
2140 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); in lowerGlobalTLSAddress()
3081 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(CLI.Callee)) { in getOpndList()
3124 if (const GlobalAddressSDNode *G = in AdjustInstrPostInstrSelection()
3125 dyn_cast_or_null<const GlobalAddressSDNode>(TargetAddr)) { in AdjustInstrPostInstrSelection()
3233 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
3402 } else if (auto *N = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
3419 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
4317 MipsTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h78 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
145 const SDValue &Base, GlobalAddressSDNode *&GA,
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h219 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
221 SDValue LowerToTLSInitialExecModel(GlobalAddressSDNode *GA,
223 SDValue LowerToTLSLocalExecModel(GlobalAddressSDNode *GA,
226 GlobalAddressSDNode *GA, SDValue InFlag, EVT PtrVT,
314 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
H A DHexagonISelLowering.cpp422 if (GlobalAddressSDNode *GAN = dyn_cast<GlobalAddressSDNode>(Callee)) in LowerCall()
575 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) { in LowerCall()
1218 auto *GAN = cast<GlobalAddressSDNode>(Op); in LowerGLOBALADDRESS()
1276 GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg, in GetDynamicTLSAddr()
1312 HexagonTargetLowering::LowerToTLSInitialExecModel(GlobalAddressSDNode *GA, in LowerToTLSInitialExecModel()
1354 HexagonTargetLowering::LowerToTLSLocalExecModel(GlobalAddressSDNode *GA, in LowerToTLSLocalExecModel()
1376 HexagonTargetLowering::LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA, in LowerToTLSGeneralDynamicModel()
1414 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); in LowerGlobalTLSAddress()
3678 bool HexagonTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) in isOffsetFoldingLegal()
3714 if (!isa<GlobalAddressSDNode>(Callee) && in IsEligibleForTailCallOptimization()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h382 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
647 SDValue getStaticTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG,
649 SDValue getDynamicTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG) const;
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h633 SDValue lowerGlobalAddress(GlobalAddressSDNode *Node,
635 SDValue lowerTLSGetOffset(GlobalAddressSDNode *Node,
639 SDValue lowerGlobalTLSAddress(GlobalAddressSDNode *Node,
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp147 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(N0)) { in MatchWrapper()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.h592 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
814 SDValue LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA,
816 SDValue LowerToTLSExecModels(GlobalAddressSDNode *GA,
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRISelLowering.h117 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h99 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCISelLowering.cpp361 if (auto *G = dyn_cast<GlobalAddressSDNode>(Callee)) in LowerCall()
762 const GlobalAddressSDNode *GN = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp574 if (auto *G = dyn_cast<GlobalAddressSDNode>(N0)) { in matchWrapper()
617 if (auto *G = dyn_cast<GlobalAddressSDNode>(N0)) { in matchWrapper()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVEISelLowering.h218 bool isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const override;

123