Searched refs:GSD (Results 1 – 2 of 2) sorted by relevance
919 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress() local920 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS) in LowerGlobalAddress()924 const GlobalValue *GV = GSD->getGlobal(); in LowerGlobalAddress()927 SDValue GA = DAG.getTargetGlobalAddress(GV, SDLoc(GSD), ConstPtrVT); in LowerGlobalAddress()928 return DAG.getNode(AMDGPUISD::CONST_DATA_PTR, SDLoc(GSD), ConstPtrVT, GA); in LowerGlobalAddress()
1563 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op); in LowerGlobalAddress() local1565 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS && in LowerGlobalAddress()1566 GSD->getAddressSpace() != AMDGPUAS::GLOBAL_ADDRESS) in LowerGlobalAddress()1569 SDLoc DL(GSD); in LowerGlobalAddress()1570 const GlobalValue *GV = GSD->getGlobal(); in LowerGlobalAddress()1574 return buildPCRelGlobalAddress(DAG, GV, DL, GSD->getOffset(), PtrVT); in LowerGlobalAddress()