Lines Matching refs:GSD
743 GlobalAddressSDNode *GSD = cast<GlobalAddressSDNode>(Op);
744 if (GSD->getAddressSpace() != AMDGPUASI.CONSTANT_ADDRESS)
748 const GlobalValue *GV = GSD->getGlobal();
751 SDValue GA = DAG.getTargetGlobalAddress(GV, SDLoc(GSD), ConstPtrVT);
752 return DAG.getNode(AMDGPUISD::CONST_DATA_PTR, SDLoc(GSD), ConstPtrVT, GA);