Lines Matching refs:GA
1228 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset); in LowerGLOBALADDRESS() local
1231 return DAG.getNode(HexagonISD::CONST32_GP, dl, PtrVT, GA); in LowerGLOBALADDRESS()
1232 return DAG.getNode(HexagonISD::CONST32, dl, PtrVT, GA); in LowerGLOBALADDRESS()
1237 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, Offset, in LowerGLOBALADDRESS() local
1239 return DAG.getNode(HexagonISD::AT_PCREL, dl, PtrVT, GA); in LowerGLOBALADDRESS()
1244 SDValue GA = DAG.getTargetGlobalAddress(GV, dl, PtrVT, 0, HexagonII::MO_GOT); in LowerGLOBALADDRESS() local
1246 return DAG.getNode(HexagonISD::AT_GOT, dl, PtrVT, GOT, GA, Off); in LowerGLOBALADDRESS()
1277 GlobalAddressSDNode *GA, SDValue Glue, EVT PtrVT, unsigned ReturnReg, in GetDynamicTLSAddr() argument
1282 SDLoc dl(GA); in GetDynamicTLSAddr()
1283 SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, in GetDynamicTLSAddr()
1284 GA->getValueType(0), in GetDynamicTLSAddr()
1285 GA->getOffset(), in GetDynamicTLSAddr()
1313 HexagonTargetLowering::LowerToTLSInitialExecModel(GlobalAddressSDNode *GA, in LowerToTLSInitialExecModel() argument
1315 SDLoc dl(GA); in LowerToTLSInitialExecModel()
1316 int64_t Offset = GA->getOffset(); in LowerToTLSInitialExecModel()
1327 SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, PtrVT, in LowerToTLSInitialExecModel()
1355 HexagonTargetLowering::LowerToTLSLocalExecModel(GlobalAddressSDNode *GA, in LowerToTLSLocalExecModel() argument
1357 SDLoc dl(GA); in LowerToTLSLocalExecModel()
1358 int64_t Offset = GA->getOffset(); in LowerToTLSLocalExecModel()
1364 SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, PtrVT, Offset, in LowerToTLSLocalExecModel()
1377 HexagonTargetLowering::LowerToTLSGeneralDynamicModel(GlobalAddressSDNode *GA, in LowerToTLSGeneralDynamicModel() argument
1379 SDLoc dl(GA); in LowerToTLSGeneralDynamicModel()
1380 int64_t Offset = GA->getOffset(); in LowerToTLSGeneralDynamicModel()
1384 SDValue TGA = DAG.getTargetGlobalAddress(GA->getGlobal(), dl, PtrVT, Offset, in LowerToTLSGeneralDynamicModel()
1403 return GetDynamicTLSAddr(DAG, Chain, GA, InFlag, PtrVT, in LowerToTLSGeneralDynamicModel()
1415 GlobalAddressSDNode *GA = cast<GlobalAddressSDNode>(Op); in LowerGlobalTLSAddress() local
1417 switch (HTM.getTLSModel(GA->getGlobal())) { in LowerGlobalTLSAddress()
1420 return LowerToTLSGeneralDynamicModel(GA, DAG); in LowerGlobalTLSAddress()
1422 return LowerToTLSInitialExecModel(GA, DAG); in LowerGlobalTLSAddress()
1424 return LowerToTLSLocalExecModel(GA, DAG); in LowerGlobalTLSAddress()
3471 bool HexagonTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) in isOffsetFoldingLegal()
3610 if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(BO.first)) { in shouldReduceLoadWidth() local
3612 const auto *GO = dyn_cast_or_null<const GlobalObject>(GA->getGlobal()); in shouldReduceLoadWidth()